| Age | Commit message (Collapse) | Author |
|
(Latin script).
|
|
|
|
The intention is to reduce the perceived harshness of error messages so
that they look more like just a friendly list of things in your PR to
fix, especially for new contributors.
|
|
When doing releases, the `do_django_release.py` script included, in the
generated checksum.txt file, a "<commit hash> <version>" section for
the git tag for the release. This line was byte-for-byte a GNU coreutils
checksum line, since the commit hash is 40 hex characters, therefore
"sha1sum --check" parsed it as an entry for a file named after the
version (e.g. "6.1b1"), failed to open that file, and aborted
the `verify_release.sh` script. Reworded the line as prose so it is no
longer mistaken for a checksum entry.
|
|
|
|
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.
|