diff --git a/.gitignore b/.gitignore index dbee5206..56313116 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ smoke-test .vscode/** output/** .env -plugins/** # Secrets and internal config files .secrets/* diff --git a/plugins/extractors/tap-github--meltanolabs.lock b/plugins/extractors/tap-github--meltanolabs.lock new file mode 100644 index 00000000..98544871 --- /dev/null +++ b/plugins/extractors/tap-github--meltanolabs.lock @@ -0,0 +1,135 @@ +{ + "plugin_type": "extractors", + "name": "tap-github", + "namespace": "tap_github", + "variant": "meltanolabs", + "label": "GitHub", + "docs": "https://hub.meltano.com/extractors/tap-github--meltanolabs", + "repo": "https://github.com/MeltanoLabs/tap-github", + "pip_url": "git+https://github.com/MeltanoLabs/tap-github.git", + "description": "Code hosting platform", + "logo_url": "https://hub.meltano.com/assets/logos/extractors/github.png", + "capabilities": [ + "about", + "catalog", + "discover", + "schema-flattening", + "state", + "stream-maps" + ], + "settings_group_validation": [ + [ + "repositories" + ], + [ + "organizations" + ], + [ + "searches" + ], + [ + "user_usernames" + ], + [ + "user_ids" + ] + ], + "settings": [ + { + "name": "additional_auth_tokens", + "kind": "array", + "label": "Additional Auth Tokens", + "description": "List of GitHub tokens to authenticate with. Streams will loop through them when hitting rate limits." + }, + { + "name": "auth_token", + "kind": "password", + "label": "Auth Token", + "description": "GitHub token to authenticate with." + }, + { + "name": "flattening_enabled", + "kind": "boolean", + "label": "Flattening Enabled", + "description": "'True' to enable schema flattening and automatically expand nested properties." + }, + { + "name": "flattening_max_depth", + "kind": "integer", + "label": "Flattening Max Depth", + "description": "The max depth to flatten schemas." + }, + { + "name": "metrics_log_level", + "kind": "string", + "label": "Metrics Log Level", + "description": "The log level of the API response metrics." + }, + { + "name": "organizations", + "kind": "array", + "label": "Organizations", + "description": "An array of strings containing the github organizations to be included" + }, + { + "name": "rate_limit_buffer", + "kind": "integer", + "label": "Rate Limit Buffer", + "description": "Add a buffer to avoid consuming all query points for the token at hand. Defaults to 1000." + }, + { + "name": "repositories", + "kind": "array", + "label": "Repositories", + "description": "An array of strings containing the github repos to be included" + }, + { + "name": "searches", + "kind": "array", + "label": "Searches", + "description": "An array of search descriptor objects with the following properties. \"name\" - a human readable name for the search query. \"query\" - a github search string (generally the same as would come after ?q= in the URL)" + }, + { + "name": "skip_parent_streams", + "kind": "boolean", + "label": "Skip Parent Streams", + "description": "Set to true to skip API calls for the parent streams (such as repositories) if it is not selected but children are" + }, + { + "name": "start_date", + "kind": "date_iso8601", + "label": "Start Date" + }, + { + "name": "stream_map_config", + "kind": "object", + "label": "Stream Map Config" + }, + { + "name": "stream_maps", + "kind": "object", + "label": "Stream Maps" + }, + { + "name": "user_agent", + "kind": "string", + "label": "User Agent" + }, + { + "name": "user_ids", + "kind": "array", + "label": "User IDs", + "description": "A list of GitHub user ids." + }, + { + "name": "user_usernames", + "kind": "array", + "label": "User Usernames", + "description": "A list of GithHub usernames." + } + ], + "select": [ + "*.*", + "!traffic_*.*" + ] +}