Commit Graph

54 Commits

Author SHA1 Message Date
Bruno Alla
52d25ad019
Fix bug in create_django_issue
Parsing doesn't work for classifiers that only
include the Django major version, e.g.:
``'Framework :: Django :: 3'`

We need a '.' in the 4th part of the classifier
to be able to parse it:
``'Framework :: Django :: 3.2'`
2023-12-07 12:29:02 +00:00
Bruno Alla
87085a068e
Fix issue with empty release in update_changelog script 2023-09-30 11:20:49 +01:00
Bruno Alla
8076e8cee8
Close existing Django issue if current is equal to it 2023-07-10 18:34:32 +01:00
Bruno Alla
ef462ba8e0
Attempt to fix Django issue checker 2023-07-10 18:32:14 +01:00
Bruno Alla
17fa459dc3
Fix inconsistent line length and move configs to pyproject.toml (#4276)
* Fix inconsistent line length and move config to pyproject.toml

Fix #2720

* Fix running tox with AUTOFIXABLE_STYLES

* Adjust some styles

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Adjust more styles

* Split isort and flake8 tests

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-15 15:43:04 +01:00
Bruno Alla
1f65656daf
Ignore some changes and group documentation changes into their own section (#4125) 2023-02-05 10:03:22 +00:00
Bruno Alla
bdc4c323f9 Don't treat current version as newer 2022-10-19 20:14:03 +01:00
github-actions[bot]
419f6b0e87
Auto-update pre-commit hooks (#3780)
* Auto-update pre-commit hooks

* Run 'pre-commit run -a'

* Fix pyupgrade into generated project

Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2022-07-26 23:37:02 +01:00
Fábio C. Barrionuevo da Luz
e0604a41d3 Add the possibility to set a max version
- remove new line character from version and compat_version before generate the markdown
2022-04-21 12:07:06 -03:00
Andrew Chen Wang
95981c055a
Automatically add Django version label to issue (#3492) 2021-12-25 17:00:00 +00:00
Andrew Chen Wang
29490910b0
Remove pylint-django from VITAL_BUT_UNKNOWN (#3490)
Ref https://github.com/PyCQA/pylint-django/pull/337
2021-12-24 17:08:37 +00:00
Bruno Alla
997da7cc7a
Create or update issue 2021-12-08 19:33:28 +00:00
Bruno Alla
407a7d8bbc
Setup pre-commit for the template files (#3433) 2021-11-26 15:41:50 +00:00
Bruno Alla
d00e84ebef Fix parsing of edited status in Django issue script 2021-11-20 12:11:29 +00:00
Bruno Alla
183ca2088a
Switch template to calendar versioning & automate releases (#3415) 2021-11-18 09:36:42 +00:00
Bruno Alla
cdc85cf4f6 Add type hints to update changelog script 2021-11-16 12:54:05 +00:00
Bruno Alla
f8897bfdff Add spaces in markdown columns formatting to make it easier to edit 2021-11-15 17:17:26 +00:00
Bruno Alla
01158c1f34 Avoid false positives in issues search results 2021-11-11 12:09:36 +00:00
Bruno Alla
50899cb493 Merge branch 'master' into djangoissuer
# Conflicts:
#	requirements.txt
2021-11-10 20:06:38 +00:00
Bruno Alla
d08dfa32ab Add print statements to describe progress 2021-11-10 20:02:27 +00:00
Bruno Alla
955134f27d Run isort 2021-11-09 11:53:02 +00:00
Bruno Alla
1a962b5ad9 Refactor function to list django versions 2021-11-09 11:52:54 +00:00
Bruno Alla
d886e68af6 Refactor helper class for Django version 2021-11-09 11:40:08 +00:00
Bruno Alla
eaaf096ded Update a few docstrings 2021-11-09 11:36:41 +00:00
Bruno Alla
21db044570 Remove author from query: permission error
"The listed users cannot be searched either because the users do not exist or you do not have permission to view the users."
2021-11-09 11:24:06 +00:00
Bruno Alla
82b2b5e29d Fix author name 2021-11-09 11:19:12 +00:00
Bruno Alla
88b223fe40 Move a few constant to the environment 2021-11-09 10:41:09 +00:00
Bruno Alla
e2c9808c7e Get GitHub repo from environment 2021-11-09 10:32:08 +00:00
Bruno Alla
f163e19661 Remove unused function 2021-11-09 00:32:41 +00:00
Bruno Alla
d42d57e949 Merge branch 'master' into djangoissuer
# Conflicts:
#	requirements.txt
2021-11-09 00:30:57 +00:00
Bruno Alla
44ba3cf19e Refactor how versions are handled 2021-11-09 00:21:08 +00:00
Bruno Alla
007fd0206e Ignore pre-releases of Django 2021-11-08 23:41:50 +00:00
Bruno Alla
710998eb60 Small fixes to script for creating Django Upgrade issue 2021-11-08 23:20:35 +00:00
Bruno Alla
b2d46296f0
Move repo under cookiecutter organisation (#3357) 2021-10-22 13:40:53 -07:00
Andrew-Chen-Wang
30e9e99296 Add create_django_issue.py script for GitHub actions cron
Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
2021-07-27 05:25:05 -04:00
Bruno Alla
38158dd0f9 Merge branch 'generate-changelog' into master 2020-09-04 18:00:07 +02:00
Bruno Alla
df0d332207 Automatically generate changelog
Fixes #1491
2020-09-04 17:55:16 +02:00
Bruno Alla
b78fbb1a25 Fix typo in docstring 2020-09-04 17:27:09 +02:00
Bruno Alla
6c63143f3b Avoid duplicate contributors due to different case 2020-08-14 08:27:57 +01:00
Bruno Alla
632bbd0a08 Only fetch 5 entries per page to limit GH API usage 2020-08-12 13:11:54 +01:00
Bruno Alla
266596f16b Only consider users of type 'User' 2020-08-12 13:11:17 +01:00
Bruno Alla
05d548b78f Switch to PyGithub rather than custom API wrapper 2020-08-11 17:17:12 +01:00
Bruno Alla
34f93aaf10 Fix bugs when name or twitter username are null 2020-08-11 16:59:41 +01:00
Bruno Alla
85a5e46b92 Find recent authors based on merged pull requests 2020-08-11 16:51:52 +01:00
Bruno Alla
7570ed9c5a Bot usernames are excluded in the generator 2020-08-10 18:39:15 +01:00
Bruno Alla
c8c6951dd2 Move template outside of the python script 2020-08-10 18:35:04 +01:00
Bruno Alla
333da12f51 Add docstrings to the update_contributors.py file 2020-08-10 18:30:36 +01:00
Bruno Alla
5c77042b59 Remove rst file and script to migrate 2020-08-10 18:30:21 +01:00
Bruno Alla
dbfcab2e12 Case insensitive sort for other contributors 2020-08-10 18:18:09 +01:00
Bruno Alla
673997a389 Some small cleanups 2020-08-10 18:13:42 +01:00