Skip to content

Commit

Permalink
Merge branch 'main' into start-date-replication-value
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Jul 22, 2022
2 parents d586071 + 04dbeb2 commit 9eb1b24
Show file tree
Hide file tree
Showing 18 changed files with 221 additions and 179 deletions.
22 changes: 22 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Ending a path in a `/` will specify the code owners for every file
# nested in that directory, on any level

# Default owners
* @edgarrmondragon @cjohnhanson @aaronsteers

# CI/CD
/.github/workflows/ @edgarrmondragon @meltano/engineering

# Docs (General)
/docs/ @meltano/engineering @meltano/marketing
/README.md @afolson @tayloramurphy @meltano/engineering @meltano/marketing

# Docs (Contributing)
/docs/CONTRIBUTING.md @afolson @tayloramurphy @meltano/engineering

# Release Ops (see `/.pyproject.toml` for list of bumped files)
/cookiecutter/*/*/pyproject.toml @meltano/engineering
/docs/conf.py @meltano/engineering
/pyproject.toml @meltano/engineering
71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Bug Report
description: File a bug report
title: "[Bug]: <title>"
labels: ["kind/Bug", "valuestream/SDK"]
assignees:
- meltano/engineering

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: sdk_version
attributes:
label: Singer SDK Version
description: Version of the library you are using
placeholder: "0.1.0"
validations:
required: true
- type: dropdown
id: python_version
attributes:
label: Python Version
description: Version of Python you are using
options:
- "3.6 (deprecated)"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "NA"
validations:
required: true
- type: dropdown
id: scope
attributes:
label: Bug scope
description: Functionality this bug affects
options:
- Taps (catalog, state, stream maps, etc.)
- Targets (data type handling, batching, SQL object generation, etc.)
- Configuration (settings parsing, validation, etc.)
- CLI (options, error messages, logging, etc.)
- Other
validations:
required: true
- type: input
id: os
attributes:
label: Operating System
description: What operating system you are using
placeholder: "Windows"
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: Description
description: Describe what you were trying to get done
placeholder: Tell us what happened, what went wrong, and what you expected to happen
validations:
required: true
- type: textarea
id: failing-code
attributes:
label: Code
description: Paste the failing code and/or traceback, if applicable
render: python
validations:
required: false
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Meltano Community
url: https://meltano.com/slack
about: Join us on Slack.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Feature request
description: Request a new feature
title: "[Feature]: <title>"
labels: ["kind/Feature", "valuestream/SDK"]
assignees:
- meltano/engineering

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to request a new feature!
- type: dropdown
id: scope
attributes:
label: Feature scope
description: Functionality this new feature would impact
options:
- Taps (catalog, state, stream maps, etc.)
- Targets (data type handling, batching, SQL object generation, etc.)
- Configuration (settings parsing, validation, etc.)
- CLI (options, error messages, logging, etc.)
- Other
validations:
required: true
- type: textarea
id: what
attributes:
label: Description
description: Describe the feature you would like to see
validations:
required: true
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pip==22.1.2
pip==22.2
poetry==1.1.14
virtualenv==20.15.1
nox==2022.1.7
Expand Down
42 changes: 31 additions & 11 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: Dependency Review
on: [pull_request]

on:
pull_request_target: {}
workflow_dispatch:
inputs: {}

env:
FOSSA_CLI_INSTALLER_VERSION: '3.3.10'

permissions:
contents: read
Expand All @@ -14,7 +15,26 @@ jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Dependency Review
uses: actions/dependency-review-action@v2
- name: Checkout the repository
uses: actions/[email protected]

- name: GitHub dependency vulnerability check
if: ${{ github.event_name == 'pull_request_target' }}
# Use this fork until https://github.com/actions/dependency-review-action/pull/165 is merged
uses: WillDaSilva/dependency-review-action@main

- name: FOSSA dependency license check
run: |
# `$FOSSA_CLI_INSTALLER_VERSION` only controls the version of the installer used - the latest version of `fossa-cli` will always be used.
curl --no-progress-meter -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/v${FOSSA_CLI_INSTALLER_VERSION}/install-latest.sh | bash
echo '## FOSSA dependency license check' >> $GITHUB_STEP_SUMMARY
echo '' >> $GITHUB_STEP_SUMMARY
fossa analyze --fossa-api-key ${{ secrets.MELTYBOT_FOSSA_API_KEY }} --revision ${{ github.sha }} |& tee fossa_analyze.log
fossa test --fossa-api-key ${{ secrets.MELTYBOT_FOSSA_API_KEY }} --revision ${{ github.sha }}
TEST_FAILED=$?
FOSSA_REPORT_LINK="$(grep -A 1 '[ INFO] View FOSSA Report:' fossa_analyze.log | tail -n 1 | sed -e 's/^\[ INFO\]\s*//')"
echo "[FOSSA detected $([ $TEST_FAILED -ne 0 ] && echo -n '' || echo 'no ')issues](${FOSSA_REPORT_LINK})" >> $GITHUB_STEP_SUMMARY
exit $TEST_FAILED
20 changes: 0 additions & 20 deletions .gitlab/CODEOWNERS

This file was deleted.

27 changes: 0 additions & 27 deletions .gitlab/issue_templates/Bug.md

This file was deleted.

14 changes: 0 additions & 14 deletions .gitlab/issue_templates/Feature Request.md

This file was deleted.

65 changes: 0 additions & 65 deletions .gitlab/issue_templates/Release.md

This file was deleted.

1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ repos:
rev: 22.6.0
hooks:
- id: black
language_version: python3.10
exclude: |
(?x)^(
cookiecutter/.*|
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0



## v0.7.0 (2022-07-21)

### ✨ New

- [#785](https://github.com/meltano/sdk/issues/785) Output full URL path in error messages

### 🐛 Fixes

- [#815](https://github.com/meltano/sdk/issues/815) Generate correct SQL target project from cookiecutter
- [#782](https://github.com/meltano/sdk/issues/782) Allow lists and dictionaries as types for default JSON values

### 📚 Documentation Improvements

- [#823](https://github.com/meltano/sdk/issues/823) Add link to the sdk for README generation regarding Stream Maps
- [#813](https://github.com/meltano/sdk/issues/813) Fix PyPI trove classifiers
- [#783](https://github.com/meltano/sdk/issues/783) Document using pipx inject for nox-poetry

## v0.6.1 (2022-07-01)

### Fix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "Apache 2.0"
[tool.poetry.dependencies]
python = "<3.11,>=3.7.1"
requests = "^2.25.1"
singer-sdk = "^0.6.1"
singer-sdk = "^0.7.0"

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "Apache 2.0"
[tool.poetry.dependencies]
python = "<3.11,>=3.7.1"
requests = "^2.25.1"
singer-sdk = "^0.6.1"
singer-sdk = "^0.7.0"

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
author = "Meltano Core Team and Contributors"

# The full version, including alpha/beta/rc tags
release = "0.6.1"
release = "0.7.0"


# -- General configuration ---------------------------------------------------
Expand Down
Loading

0 comments on commit 9eb1b24

Please sign in to comment.