This repository has been archived by the owner on May 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
1,018 additions
and
745 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
[bandit] | ||
skips: B101,B101,B311,B404,B603,B606,B607,C0103 | ||
exclude: /docs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,3 @@ __pycache__/ | |
.DS_Store | ||
|
||
dump.rdb | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# HOWTO: https://pre-commit.com/#usage | ||
# pip3 install pre-commit | ||
# pre-commit install -t pre-commit -t pre-push | ||
|
||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 20.8b1 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.7.4 | ||
hooks: | ||
- id: pyupgrade | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v2.2.1 | ||
hooks: | ||
- id: prettier | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.4.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.4 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
- --max-line-length=100 | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.790 | ||
hooks: | ||
- id: mypy | ||
args: [--no-strict-optional, --ignore-missing-imports] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
sudo: required | ||
language: bash | ||
services: | ||
- docker | ||
- docker | ||
before_install: | ||
- make image-test | ||
- make image-test | ||
script: | ||
- make test-in-container | ||
- make test-in-container | ||
env: | ||
global: | ||
- secure: Xbg+VWaPf02GSNbkg1kpQer5/i5sc/t5ntIRbKtL4BUkXpAFOHn7Ee88YRl8p6Ob+7qRuDNfzkaxSsWjUjuRT60GDnc3Lrbbcc0ZjabaVdc0OnAQMSWZnsVS3Fc3Mk9cRe5LNIUSV35Zf0lQUIkEJqRi+EPuaQYgeEGKxKRXOk4PpglkjbtJvaqEL4RE8dqaPkNTT6qsM2bLnL0q92Yh/ZMVN/7O00WCHAYtrDVtR7TM+9Do6z3nazOqUW6GdPsBJKLO6BDfTu4uxV/XMG7VcgX9L0wsEPAceQdtYXlnVQyyYxB6/TO6jfaN9zomj70o+JTAoB4UTCosicdPs2P1kyma/011rP4l8EWmxoikDcgA+rFseM5JJX5Wt4yLYi5X+aS12SQ9IaHwQiePuT96fFxRV8GJp8R41gTYrGi3bJB/xifK5JW9sLr5Ecficp3UGGkj3mSbQad8KfJSzNDxZAWu1NQEieT/jmEs+n3664JIWapRNPd+pSo3ew63lwo52XBNQp/8TZIiGFqGRenckEokX5b1kkr2qI66IN5HhdHPAyLoY9HCHASchY5HY3SnIt8mXfvSiD88pkFsT3jh6BMXKC1bUkADKKfPfQH3Lb1gedcTJZFXExAxvqtPzEG8LXO42Bn53SoLTfSiCd5jrbwg3pV5qmfk+486uAUXOro= | ||
- secure: kHLBmNa39znq9d+Egl5Bax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xRV8GJp8R41gTYrGi3bJB/xifK5JW9sLr5Ecficp3UGGkj3mSbQad8KfJSzNDxZAWu1NQEieT/jmEs+n3664JIWapRNPd+pSo3ew63lwo52XBNQp/8TZIiGFqGRenckEokX5b1kkr2qI66IN5HhdHPAyLoY9HCHASchY5HY3SnIt8mXfvSiD88pkFsT3jh6BMXKC1bUkADKKfPfQH3Lb1gedcTJZFXExAxvqtPzEG8LXO42Bn53SoLTfSiCd5jrbwg3pV5qmfk+486uAUXOro= | ||
- secure: kHLBmNa39znq9d+Egl5BaxQFaEhC/igKTzK2XpGDwovkDlGpi9tc5qq21vLVXilx93MFQdWt2RwbU7SPVc6WtMGUdIGl8pq3ebiaBj6TPeoY/f5zTAtTV2uDrBid1jCeaolpwxx21SoYda+0dBDeBTTo8bWEiu3ei1gB9mLiR3sJsmMjqoaKsMDGLnh+iLlDZj67lWNd6itee4E7sm+38Uac1oRa4dM+h6jS5lJ+ceO+sezNYR8qVz81XLOlE6h0O8+Um1/QqTro7J31DRewbxv1I0R/ut4by9ANNts75JGuEbPF2CaxaK5rTX/kORTCq0ngEOhpY3Lphe1JNfkqdPmnIBwooKcG+HQkjXRG0MxOVT/SHycvt25FyGP7KkLpxJPFx4OMg59k/k0I487EVwzxXIVuIW0aEFsneTqdhTRMRc4Vq5ADoWAd9DQHP78tGUwppjZ3P3vEVv3ArPPmpNxLfP7igBa0CSULm1dEr3I8A6i5YT1gtPiSYfcQcd/my6RGvyWDzAi3vhAEJfA9DbQHreMEHRCLnYwgOVelRuyti8tzSXi3RaiW9KE6JI599oIgNhxmA2ezhIqNH3pFqMehPtpvN0hsXv1Ek5XLcD3CRokdXfE4DsJiV9eDem0sEnsh5o9FbnR26WvMT7qYJxuVigBZDhkflrMrgbpdlGk= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,109 @@ | ||
# 0.7.1 | ||
|
||
* Few bug fixes and base image update. | ||
- Few bug fixes and base image update. | ||
|
||
# 0.7.0 | ||
|
||
**We would like to thank all GSoC applicants for their contribution to this project during the application period!** | ||
|
||
## Breaking changes | ||
|
||
* **Releasing to Fedora is now deprecated.** We removed Fedora functionality in favor of the new project [packit](https://packit.dev/). | ||
- **Releasing to Fedora is now deprecated.** We removed Fedora functionality in favor of the new project [packit](https://packit.dev/). | ||
|
||
## New features | ||
|
||
* Dry-run mode! Now you can try release process without making actual changes. Thanks to @Aniket-Pradhan. | ||
* You can now use new issue titles, when you are making new release: | ||
* `new major release` | ||
* `new minor release` | ||
* `new patch release` , Thanks to @shresthagrawal. | ||
* Release bot can now handle Github webhooks. Thanks to @marusinm. | ||
* You can now specify name of your PyPI project in configuration, in case it is different than repo name. Thanks to @Elias999. | ||
* Releasing to PyPI is now *optional*. Thanks to @Aniket-Pradhan. | ||
* You can explicitly specify `clone_url` in Release bot configuration file. Thanks to @Z0Marlin. | ||
* Support also for `version` variable (besides the `__version__`). Thanks to @Toaster192. | ||
- Dry-run mode! Now you can try release process without making actual changes. Thanks to @Aniket-Pradhan. | ||
- You can now use new issue titles, when you are making new release: | ||
- `new major release` | ||
- `new minor release` | ||
- `new patch release` , Thanks to @shresthagrawal. | ||
- Release bot can now handle Github webhooks. Thanks to @marusinm. | ||
- You can now specify name of your PyPI project in configuration, in case it is different than repo name. Thanks to @Elias999. | ||
- Releasing to PyPI is now _optional_. Thanks to @Aniket-Pradhan. | ||
- You can explicitly specify `clone_url` in Release bot configuration file. Thanks to @Z0Marlin. | ||
- Support also for `version` variable (besides the `__version__`). Thanks to @Toaster192. | ||
|
||
## Fixes and docs | ||
* Tutorial on how to make your first release with release-bot locally. Thanks to @marusinm. | ||
* Contribution guide is now more newcomers-friendly. Thanks to @Z0Marlin. | ||
* Support for installing release-bot from arch user repository. Thanks to @Aniket-Pradhan. | ||
* Release-bot now checks for tag instead of release name, when checking latest release. Thanks to @shresthagrawal. | ||
|
||
- Tutorial on how to make your first release with release-bot locally. Thanks to @marusinm. | ||
- Contribution guide is now more newcomers-friendly. Thanks to @Z0Marlin. | ||
- Support for installing release-bot from arch user repository. Thanks to @Aniket-Pradhan. | ||
- Release-bot now checks for tag instead of release name, when checking latest release. Thanks to @shresthagrawal. | ||
|
||
# 0.6.1 | ||
|
||
* Bot ignores 'python_versions' in release-conf and builds an sdist and a py3 wheel. | ||
- Bot ignores 'python_versions' in release-conf and builds an sdist and a py3 wheel. | ||
|
||
# 0.6.0 | ||
|
||
* Jenkinsfile and Contribution guide have been added. | ||
* Metadata from setup.py have been moved to setup.cfg. | ||
* README.md has been updated. | ||
* A way to authenticate as a Github App has been added. | ||
* Bot works in the upstream git repo instead of downloading zip. | ||
* Bot adds a link to Bodhi (to Github comment) when fedora builds are successful. | ||
* Base images have been bumped to F29. | ||
* Some tests have been fixed. | ||
- Jenkinsfile and Contribution guide have been added. | ||
- Metadata from setup.py have been moved to setup.cfg. | ||
- README.md has been updated. | ||
- A way to authenticate as a Github App has been added. | ||
- Bot works in the upstream git repo instead of downloading zip. | ||
- Bot adds a link to Bodhi (to Github comment) when fedora builds are successful. | ||
- Base images have been bumped to F29. | ||
- Some tests have been fixed. | ||
|
||
# 0.5.0 | ||
|
||
* You can specify github labels in release-conf.yaml configuration file | ||
- You can specify github labels in release-conf.yaml configuration file | ||
which should be applied on a pull request created by release bot. | ||
* Documentation is updated and is more clear now. | ||
* The bot no longer tries to release old versions again. | ||
- Documentation is updated and is more clear now. | ||
- The bot no longer tries to release old versions again. | ||
|
||
# 0.4.1 | ||
|
||
* Fix wrong PR description | ||
* Fix pytest fixture warnings | ||
* Fix git credentials for Fedora releasing | ||
- Fix wrong PR description | ||
- Fix pytest fixture warnings | ||
- Fix git credentials for Fedora releasing | ||
|
||
# 0.4.0 | ||
|
||
* Allow self-releasing on issue | ||
* Fix code style issues | ||
* Add more tests on github & bot itself | ||
* Ability to do initial release + fixes | ||
* Fix minor issues from code review, change how release-conf is loaded | ||
* Fix code style issues | ||
* Add ability to make PRs with version change based on release issue | ||
* Update config files from kwaciaren | ||
* Use bandit/pylintrc file from kwaciaren | ||
* [.s2i/bin/run] Don't use --keytab if there's no such file | ||
* Use absolute imports | ||
- Allow self-releasing on issue | ||
- Fix code style issues | ||
- Add more tests on github & bot itself | ||
- Ability to do initial release + fixes | ||
- Fix minor issues from code review, change how release-conf is loaded | ||
- Fix code style issues | ||
- Add ability to make PRs with version change based on release issue | ||
- Update config files from kwaciaren | ||
- Use bandit/pylintrc file from kwaciaren | ||
- [.s2i/bin/run] Don't use --keytab if there's no such file | ||
- Use absolute imports | ||
|
||
# 0.3.8 | ||
* Fedora-related bug fixes | ||
|
||
- Fedora-related bug fixes | ||
|
||
# 0.3.7 | ||
* Fix KeyError | ||
|
||
- Fix KeyError | ||
|
||
# 0.3.6 | ||
* Fix KeyError | ||
|
||
- Fix KeyError | ||
|
||
# 0.3.5 | ||
* Request/Limit openshift resources | ||
|
||
- Request/Limit openshift resources | ||
|
||
# 0.3.2 | ||
* Iterate over PRs in descending order | ||
* Use nss_wrapper to create/use custom passwd file | ||
* Add status comments to PR | ||
|
||
- Iterate over PRs in descending order | ||
- Use nss_wrapper to create/use custom passwd file | ||
- Add status comments to PR | ||
|
||
# 0.3.0 | ||
* Structure code into classes | ||
* bug fixes, bug fixes, bug fixes | ||
|
||
- Structure code into classes | ||
- bug fixes, bug fixes, bug fixes | ||
|
||
# 0.1.1 | ||
* Fix changelog parsing | ||
* Bump up version because of PyPi | ||
|
||
- Fix changelog parsing | ||
- Bump up version because of PyPi | ||
|
||
# 0.1.0 | ||
|
||
* Initial release. | ||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.