| Age | Commit message (Collapse) | Author |
|
Agents are already abusing the exception for small pull requests
by mixing in unrelated typo fixes with their code changes for
unreviewed tickets and removing mention of said ticket.
|
|
Extracted helpers (get_commit_hash, parse_major_version,
find_release_artifacts, create_checksum_file) and isolated all
code with side-effects in main() guarded by __name__ == "__main__",
allowing the module to be imported without starting the release process.
Added tests for the new helpers in scripts/tests.py.
Thanks Jacob Walls for the review and IRL test.
|
|
|
|
|
|
|
|
This work adds automated PR quality checks as a GitHub Actions workflow
to enforce contribution requirements consistently and reduce the manual
burden on reviewers for incoming PRs.
Thanks to the many reviewers providing meaningful feedback.
Co-authored-by: Frank Wiles <frank@revsys.com>
|
|
The artifacts downloaded from media.djangoproject.com use a lowercase
"django-" prefix but the script searched for capital D. Error was:
"ls: cannot access 'Django-*.tar.gz': No such file or directory"
The tarball and wheel smoke-tests used the same `test_one` folder inside
the same working directory, so the second invocation failed with
"CommandError: '/tmp/tmp.1234567890' already exists".
|
|
verify_release.sh.
This reuses the same download for both artifacts and checks both GPG
signature and minimal correctness in the same script. Docs and script
do_django_release.py were updated.
|
|
|
|
|
|
Co-authored-by: Jake Howard <git@theorangeone.net>
|
|
This also fixed a small bash issue in `confirm_release.sh` script.
|
|
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
Manually reformatted some long docstrings and comments that would be
damaged by the to-be-applied autofixer script, in cases where editorial
judgment seemed necessary for style or wording changes.
|
|
|
|
|
|
since a given date.
|
|
|
|
|
|
|
|
encoding argument.
The encoding argument has been available since Python 3.6.
https://docs.python.org/3/library/subprocess.html#subprocess.run
|
|
The Python docs recommend passing a sequence to subprocess.run() when
possible. Doing so allows for automatic escaping and quoting of
arguments.
https://docs.python.org/3/library/subprocess.html#frequently-used-arguments
> args is required for all calls and should be a string, or a sequence
> of program arguments. Providing a sequence of arguments is generally
> preferred, as it allows the module to take care of any required
> escaping and quoting of arguments (e.g. to permit spaces in file
> names).
Also removed `shell=True` where unnecessary.
|
|
|
|
|
|
|
|
|
|
This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
|
|
|
|
|
|
|
|
|
|
Forward port of 05a781a47 from stable/1.8.x
|
|
|
|
Refs #19973.
|
|
|
|
makemessages should now automatically distribute translatable
strings in the proper locale files, for Django too
(see 50a8ab7cd1e6).
|
|
See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex
|
|
|
|
It used to generate languages 'e' and 'n'.
|
|
Do not fetch 'en' catalogs, neither files with translation stats
lower than 5%. Centralized resource filtering.
|
|
|
|
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
|
|
So as syntax errors in po files don't go unnoticed. Refs #20695.
|
|
Translations for the Django framework are now hosted on the
django-core Transifex project, and the django project is only
dedicated to a team-only hub project.
|
|
|
|
executable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
auto-generated rpm. Thanks to Marc Fargas and Paul Bissex for writing the man
page. Refs #3341.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
portable fashion. That took a *lot* longer to debug than I thought it would, so
let's try not to break it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
remaining with how we construct the version numbers, but this change is useful
nonetheless. Patch from Dirk Datzert.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|