aaronsteers / hub-cicd-tests

A temporary fork for testing CI/CD stuff...
https://hub.meltano.com
0 stars 0 forks source link

Help - tap-github not working (demo issue) #3

Open aaronsteers opened 2 years ago

aaronsteers commented 2 years ago

/test-plugin name=tap-github

Starting test job... ... Job completed.

Usage info ``` melty-bot % tap-github --help usage: tap-github [-h] -c CONFIG [-s STATE] [-p PROPERTIES] [--catalog CATALOG] [-d] optional arguments: -h, --help show this help message and exit -c CONFIG, --config CONFIG Config file -s STATE, --state STATE State file -p PROPERTIES, --properties PROPERTIES Property selections: DEPRECATED, Please use --catalog instead --catalog CATALOG Catalog file -d, --discover Do schema discovery ```
Detected capabilities > - ✅ 'catalog' > - ✅ 'state' > - ❌ 'about'
aaronsteers commented 2 years ago

/test-plugin name=tap-github pip-url=tap-github

Starting test job... ... Job completed.

Usage info ``` melty-bot % tap-github --help usage: tap-github [-h] -c CONFIG [-s STATE] [-p PROPERTIES] [--catalog CATALOG] [-d] optional arguments: -h, --help show this help message and exit -c CONFIG, --config CONFIG Config file -s STATE, --state STATE State file -p PROPERTIES, --properties PROPERTIES Property selections: DEPRECATED, Please use --catalog instead --catalog CATALOG Catalog file -d, --discover Do schema discovery ```
Detected capabilities > - ✅ 'catalog' > - ✅ 'state' > - ❌ 'about'
aaronsteers commented 2 years ago

/test-plugin name=tap-github pip-url=git+https://github.com/MeltanoLabs/tap-gitlab.git@main

Starting test job... ... Job completed.

Usage info ``` melty-bot % tap-github --help /home/runner/work/_temp/858ea9f7-9d99-4311-8fee-3c3d80645f3f.sh: line 1: tap-github: command not found ```
Detected capabilities > - ❌ 'catalog' > - ❌ 'properties' > - ❌ 'state' > - ❌ 'about'
aaronsteers commented 2 years ago

/test-plugin name=tap-github pip-url=git+https://github.com/MeltanoLabs/tap-github.git@main

Starting test job... ... Job completed.

Auto-generated README.md # `tap-github` GitHub tap class. Built with the [Meltano SDK](https://sdk.meltano.com) for Singer Taps and Targets. ## Capabilities * `catalog` * `state` * `discover` * `about` * `stream-maps` * `schema-flattening` ## Settings | Setting | Required | Default | Description | |:----------------------|:--------:|:-------:|:------------| | user_agent | False | None | | | metrics_log_level | False | None | | | auth_token | False | None | GitHub token to authenticate with. | | additional_auth_tokens| False | None | List of GitHub tokens to authenticate with. Streams will loop through them when hitting rate limits. | | rate_limit_buffer | False | None | Add a buffer to avoid consuming all query points for the token at hand. Defaults to 1000. | | searches | False | None | | | organizations | False | None | | | repositories | False | None | | | user_usernames | False | None | | | user_ids | False | None | | | start_date | False | None | | | stream_maps | False | None | | | stream_map_config | False | None | | | skip_parent_streams | False | None | Set to true to skip API calls for the parent streams (such as repositories) if it is not selected but children are | | flattening_enabled | False | None | 'True' to enable schema flattening and automatically expand nested properties. | | flattening_max_depth | False | None | The max depth to flatten schemas. | A full list of supported settings and capabilities is available by running: `tap-github --about`
Version info ``` tap-github v1.1.1, Meltano SDK v0.4.9) ```
Usage info ``` melty-bot % tap-github --help Usage: tap-github [OPTIONS] Execute the Singer tap. Options: --state PATH Use a bookmarks file for incremental replication. --catalog PATH Use a Singer catalog file with the tap. --test TEXT Use --test to sync a single record for each stream. Use --test=schema to test schema output without syncing records. --discover Run the tap in discovery mode. --config TEXT Configuration file location or 'ENV' to use environment variables. --format [json|markdown] Specify output style for --about --about Display package metadata and settings. --version Display the package version. --help Show this message and exit. ```
Detected capabilities > - ✅ 'catalog' > - ✅ 'state' > - ✅ 'about'
JSON Metadata ```json { "name": "tap-github", "description": "GitHub tap class.", "version": "1.1.1", "sdk_version": "0.4.9", "capabilities": [ "catalog", "state", "discover", "about", "stream-maps", "schema-flattening" ], "settings": { "type": "object", "properties": { "user_agent": { "type": [ "string", "null" ] }, "metrics_log_level": { "type": [ "string", "null" ] }, "auth_token": { "type": [ "string", "null" ], "description": "GitHub token to authenticate with." }, "additional_auth_tokens": { "type": [ "array", "null" ], "items": { "type": [ "string" ] }, "description": "List of GitHub tokens to authenticate with. Streams will loop through them when hitting rate limits." }, "rate_limit_buffer": { "type": [ "integer", "null" ], "description": "Add a buffer to avoid consuming all query points for the token at hand. Defaults to 1000." }, "searches": { "type": [ "array", "null" ], "items": { "type": "object", "properties": { "name": { "type": [ "string" ] }, "query": { "type": [ "string" ] } }, "required": [ "name", "query" ] } }, "organizations": { "type": [ "array", "null" ], "items": { "type": [ "string" ] } }, "repositories": { "type": [ "array", "null" ], "items": { "type": [ "string" ] } }, "user_usernames": { "type": [ "array", "null" ], "items": { "type": [ "string" ] } }, "user_ids": { "type": [ "array", "null" ], "items": { "type": [ "string" ] } }, "start_date": { "type": [ "string", "null" ], "format": "date-time" }, "stream_maps": { "type": [ "object", "null" ], "properties": {} }, "stream_map_config": { "type": [ "object", "null" ], "properties": {} }, "skip_parent_streams": { "type": [ "boolean", "null" ], "description": "Set to true to skip API calls for the parent streams (such as repositories) if it is not selected but children are" }, "flattening_enabled": { "type": [ "boolean", "null" ], "description": "'True' to enable schema flattening and automatically expand nested properties." }, "flattening_max_depth": { "type": [ "integer", "null" ], "description": "The max depth to flatten schemas." } } } } ```
Discovered streams - `anonymous_contributors` - `assignees` - `collaborators` - `commit_comments` - `commits` - `community_profile` - `contributors` - `dependencies` - `dependents` - `events` - `issue_comments` - `issue_events` - `issues` - `languages` - `milestones` - `organizations` - `project_cards` - `project_columns` - `projects` - `pull_request_commits` - `pull_requests` - `readme` - `readme_html` - `releases` - `repositories` - `review_comments` - `reviews` - `stargazers_rest` - `starred` - `stats_contributors` - `team_members` - `team_roles` - `teams` - `user_contributed_to` - `users` - `workflow_run_jobs` - `workflow_runs` - `workflows`
aaronsteers commented 2 years ago

/test-plugin naaaaame=tap-github pip-url=git+https://github.com/MeltanoLabs/tap-github.git@main

Unexpected inputs provided: ["naaaaame"]

aaronsteers commented 2 years ago

/test-plugin pip-url=git+https://github.com/MeltanoLabs/tap-github.git@main

Required input 'name' not provided