Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update the pip_url for the MeltanoLabs variant of tap-github #1922

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

edgarrmondragon
Copy link
Collaborator

Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for meltano-hub ready!

Name Link
🔨 Latest commit fbd0020
🔍 Latest deploy log https://app.netlify.com/sites/meltano-hub/deploys/677d750a8fae230008d4502d
😎 Deploy Preview https://deploy-preview-1922--meltano-hub.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Jan 7, 2025

Testing plugin tap-github (meltanolabs variant):

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

Version info
tap-github v1.10.0, Meltano SDK v0.43.1
Usage info
melty-bot % tap-github --help
Usage: tap-github [OPTIONS]

  Execute the Singer tap.

Options:
  --version                 Display the package version.
  --about                   Display package metadata and settings.
  --format [json|markdown]  Specify output style for --about
  --config TEXT             Configuration file location or 'ENV' to use
                            environment variables.
  --discover                Run the tap in discovery mode.
  --test TEXT               Use --test to sync a single record for each
                            stream. Use --test=schema to test schema output
                            without syncing records.
  --catalog FILE            Use a Singer catalog file with the tap.
  --state FILE              Use a bookmarks file for incremental replication.
  --help                    Show this message and exit.
Detected capabilities
  • ✅ 'discover'
  • ✅ 'catalog'
  • ✅ 'state'
  • ✅ 'about'
JSON Metadata
{
  "name": "tap-github",
  "description": "GitHub tap class.",
  "version": "1.10.0",
  "sdk_version": "0.43.1",
  "supported_python_versions": [
    "3.9",
    "3.10",
    "3.11",
    "3.12",
    "3.13"
  ],
  "capabilities": [
    "catalog",
    "state",
    "discover",
    "about",
    "stream-maps",
    "schema-flattening",
    "batch"
  ],
  "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."
      },
      "auth_app_keys": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "string"
          ]
        },
        "description": "List of GitHub App credentials to authenticate with. Each credential can be constructed by combining an App ID and App private key into the format `:app_id:;;-----BEGIN RSA PRIVATE KEY-----\n_YOUR_P_KEY_\n-----END RSA PRIVATE KEY-----`."
      },
      "rate_limit_buffer": {
        "type": [
          "integer",
          "null"
        ],
        "description": "Add a buffer to avoid consuming all query points for the token at hand. Defaults to 1000."
      },
      "expiry_time_buffer": {
        "type": [
          "integer",
          "null"
        ],
        "description": [
          "When authenticating as a GitHub App, this buffer controls how many minutes before expiry the GitHub app tokens will be refreshed. Defaults to 10 minutes."
        ]
      },
      "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"
      },
      "stream_options": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "milestones": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "state": {
                "type": [
                  "string",
                  "null"
                ],
                "default": "open",
                "description": "Configures which states are of interest. Must be one of [open, closed, all], defaults to open.",
                "enum": [
                  "open",
                  "closed",
                  "all"
                ]
              }
            },
            "additionalProperties": false,
            "description": "Options specific to the 'milestones' stream."
          }
        },
        "additionalProperties": false,
        "description": "Options which change the behaviour of a specific stream."
      },
      "faker_config": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "seed": {
            "oneOf": [
              {
                "type": [
                  "number"
                ]
              },
              {
                "type": [
                  "string"
                ]
              },
              {
                "type": [
                  "boolean"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Faker Seed",
            "description": "Value to seed the Faker generator for deterministic output: https://faker.readthedocs.io/en/master/#seeding-the-generator"
          },
          "locale": {
            "oneOf": [
              {
                "type": [
                  "string"
                ]
              },
              {
                "type": "array",
                "items": {
                  "type": [
                    "string"
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Faker Locale",
            "description": "One or more LCID locale strings to produce localized output for: https://faker.readthedocs.io/en/master/#localization"
          }
        },
        "title": "Faker Configuration",
        "description": "Config for the [`Faker`](https://faker.readthedocs.io/en/master/) instance variable `fake` used within map expressions. Only applicable if the plugin specifies `faker` as an addtional dependency (through the `singer-sdk` `faker` extra or directly)."
      },
      "flattening_enabled": {
        "type": [
          "boolean",
          "null"
        ],
        "title": "Enable Schema Flattening",
        "description": "'True' to enable schema flattening and automatically expand nested properties."
      },
      "flattening_max_depth": {
        "type": [
          "integer",
          "null"
        ],
        "title": "Max Flattening Depth",
        "description": "The max depth to flatten schemas."
      },
      "batch_config": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "encoding": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "format": {
                "type": [
                  "string",
                  "null"
                ],
                "title": "Batch Encoding Format",
                "description": "Format to use for batch files.",
                "enum": [
                  "jsonl",
                  "parquet"
                ]
              },
              "compression": {
                "type": [
                  "string",
                  "null"
                ],
                "title": "Batch Compression Format",
                "description": "Compression format to use for batch files.",
                "enum": [
                  "gzip",
                  "none"
                ]
              }
            },
            "title": "Batch Encoding Configuration",
            "description": "Specifies the format and compression of the batch files."
          },
          "storage": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "root": {
                "type": [
                  "string",
                  "null"
                ],
                "title": "Batch Storage Root",
                "description": "Root path to use when writing batch files."
              },
              "prefix": {
                "type": [
                  "string",
                  "null"
                ],
                "title": "Batch Storage Prefix",
                "description": "Prefix to use when writing batch files."
              }
            },
            "title": "Batch Storage Configuration",
            "description": "Defines the storage layer to use when writing batch files"
          }
        },
        "title": "Batch Configuration",
        "description": "Configuration for BATCH message capabilities."
      }
    },
    "$schema": "https://json-schema.org/draft/2020-12/schema"
  }
}
Discovered streams
  • anonymous_contributors
  • assignees
  • collaborators
  • commit_comments
  • commits
  • community_profile
  • contributors
  • dependencies
  • dependents
  • events
  • extra_metrics
  • issue_comments
  • issue_events
  • issues
  • labels
  • languages
  • milestones
  • organizations
  • project_cards
  • project_columns
  • projects
  • pull_request_commits
  • pull_requests
  • readme
  • readme_html
  • releases
  • repositories
  • review_comments
  • reviews
  • stargazers
  • stargazers_rest
  • starred
  • stats_contributors
  • team_members
  • team_roles
  • teams
  • traffic_clones
  • traffic_pageviews
  • traffic_referral_paths
  • traffic_referrers
  • user_contributed_to
  • users
  • workflow_run_jobs
  • workflow_runs
  • workflows

@edgarrmondragon edgarrmondragon marked this pull request as ready for review January 7, 2025 18:44
@edgarrmondragon edgarrmondragon merged commit fe5c4a1 into main Jan 7, 2025
14 checks passed
@edgarrmondragon edgarrmondragon deleted the meltanolabs-tap-github branch January 7, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant