Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 30
Introduce cruft to keep the repository up to date with template changes#144
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
fcb0829452023aecbab5cd6ed906239b5129686221b073f925dc62209973ebca095c534e2f70a78e6f3ac05f3921e1c6362e66012File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3,3 +3,4 @@ skips: [] | ||
| # No need to check for security issues in the test scripts! | ||
| exclude_dirs: | ||
| - "./tests/" | ||
| - "./.venv/" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "template": "https://github.com/networktocode-llc/cookiecutter-ntc", | ||
| "commit": null, | ||
| "context": { | ||
| "cookiecutter": { | ||
| "codeowner_github_usernames": "@glennmatthews @Kircheneer @chadell", | ||
| "description": "Library to easily sync/diff/update 2 different data sources", | ||
| "project_name": "DiffSync", | ||
| "project_slug": "diffsync", | ||
| "project_python_name": "diffsync", | ||
| "project_python_base_version": "3.7", | ||
| "project_with_config_settings": "yes", | ||
| "generate_docs": "no", | ||
| "version": "1.6.0", | ||
| "_template": "https://github.com/networktocode-llc/cookiecutter-ntc" | ||
| } | ||
| }, | ||
| "directory": "python/", | ||
| "checkout": "main" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,27 @@ | ||
| # Docker related | ||
| development/Dockerfile | ||
| development/docker-compose*.yml | ||
| development/*.env | ||
| *.env | ||
| environments/ | ||
| # Python | ||
| **/*.pyc | ||
| **/*.pyo | ||
| **/*.log | ||
| **/__pycache__/ | ||
| **/.pytest_cache/ | ||
| **/.venv/ | ||
| # Other | ||
| docs/_build | ||
| FAQ.md | ||
| .git/ | ||
| .gitignore | ||
| Dockerfile | ||
| docker-compose.yml | ||
| .env | ||
| docs/_build | ||
| .github | ||
| tasks.py | ||
| LICENSE | ||
| **/*.log | ||
| **/.vscode/ | ||
| invoke*.yml | ||
| tasks.py |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| # Default owners for all files in this repository | ||
| # Default owner(s) of all files in this repository | ||
| * @glennmatthews @Kircheneer @chadell |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,24 @@ | ||
| --- | ||
| name: 🐛 Bug Report | ||
| about: Report a reproducible bug in the current release of DiffSync | ||
| about: Report a reproducible bug in the current release of diffsync | ||
| --- | ||
| ### Environment | ||
| * DiffSync version: <!-- Example: 1.0.0 --> | ||
| * Python version <!-- Example: 3.7.7 --> | ||
| <!-- What happened instead? --> | ||
| ### Observed Behavior | ||
| * Python version: <!-- Example: 3.7.7 --> | ||
| * diffsync version: <!-- Example: 1.0.0 --> | ||
| <!-- What did you expect to happen? --> | ||
| ### Expected Behavior | ||
| <!-- What happened instead? --> | ||
| ### Observed Behavior | ||
| <!-- | ||
| Describe in detail the exact steps that someone else can take to reproduce | ||
| this bug using the current release. | ||
| --> | ||
| ### Steps to Reproduce | ||
| 1. | ||
| 2. | ||
| 3. | ||
| 3. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,21 @@ | ||
| --- | ||
| name: ✨ Feature Request | ||
| about: Propose a new feature or enhancement | ||
| --- | ||
| ### Environment | ||
| * DiffSync version: <!-- Example: 1.0.0 --> | ||
| * diffsync version: <!-- Example: 1.0.0 --> | ||
| <!-- | ||
| Describe in detail the new functionality you are proposing. | ||
| --> | ||
| ### Proposed Functionality | ||
| <!-- | ||
| Convey an example use case for your proposed feature. Write from the | ||
| perspective of a user who would benefit from the proposed | ||
| functionality and describe how. | ||
| --> | ||
| ---> | ||
| ### Use Case | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this a separate file just so as to keep ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately this doesn't seem to be possible right now in cruft. I agree that this is worse, because now we can't cross-reference between the two sets of workflows. Possibly this is something that we can address by using another paradigm in GitHub actions. | ||
| name: "CI (non-template jobs)" | ||
| on: # yamllint disable-line rule:truthy | ||
| push: | ||
| branches: | ||
| - "main" | ||
| - "develop" | ||
| pull_request: ~ | ||
| jobs: | ||
| validate_renovate: | ||
| runs-on: "ubuntu-20.04" | ||
| steps: | ||
| - name: "Check out repository code" | ||
| uses: "actions/checkout@v2" | ||
| - name: "Validate renovate configuration" | ||
| uses: "rinchsan/renovate-config-validator@v0.0.11" | ||
| with: | ||
| pattern: "renovate.json" | ||
| mypy: | ||
| runs-on: "ubuntu-20.04" | ||
| env: | ||
| INVOKE_LOCAL: "True" | ||
| steps: | ||
| - name: "Check out repository code" | ||
| uses: "actions/checkout@v2" | ||
| - name: "Setup environment" | ||
| uses: "networktocode/gh-action-setup-poetry-environment@v1" | ||
| - name: "Linting: mypy" | ||
| run: "poetry run invoke mypy" | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DiffSyncis the project name,diffsyncis the Python package name. I'd prefer to keep it asDiffSyncwhen we're referring to the project as a whole.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. We need to address this at the source, because currently this is cruft working as intended.