summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2026-06-02Made PR quality check require tickets for new contributors.Jacob Walls
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.
2026-05-27Refactored release script to support testing in isolation.Natalia
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.
2026-05-27Included commit hash in checksum file when building artifacts for release.Natalia
2026-05-06Replaced old PR quality comments when writing new ones.Jacob Walls
2026-04-19Fixed #37046 -- Allowed Ready for checkin Trac status in PR checks.varunkasyap
2026-04-16Added automated quality checks for PRs as a GitHub Actions workflow.Natalia
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>
2026-04-07Fixed two issues in release helper scripts/verify_release.sh.Natalia
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".
2026-03-16Combined scripts confirm_release.sh and test_new_version.sh into ↵Natalia
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.
2026-03-06Added python script suitable for using as prepare-commit-msg git hook.Natalia
2026-01-20Fixed #36639 -- Added CI step to run makemigrations --check against test models.Skyiesac
2026-01-07Made release test script use a random available port.Jacob Walls
Co-authored-by: Jake Howard <git@theorangeone.net>
2025-11-26Added script to archive EOL stable branches.Natalia
This also fixed a small bash issue in `confirm_release.sh` script.
2025-11-21Added scripts for building and releasing Django artifacts.Natalia
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
2025-07-23Refs #36500 -- Shortened some long docstrings and comments.Mike Edmunds
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.
2025-04-04Improved "fetch" translations helper to restrict the resulting set by date.Natalia
2025-03-31Refs #28909 -- Simplified code using unpacking generalizations.Aarni Koskela
2024-08-05Extended script to manage translations to support fetching new translations ↵nessita
since a given date.
2024-01-05Removed obsolete rpm-related install code.Claude Paroz
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-27Refs #32355 -- Modernized subprocess.run() calls.Adam Johnson
2019-11-04Refs #30116 -- Simplified stdout/stderr decoding with subprocess.run()'s ↵Jon Dufresne
encoding argument. The encoding argument has been available since Python 3.6. https://docs.python.org/3/library/subprocess.html#subprocess.run
2019-08-28Adjusted subprocess.run() calls to use arg list, rather than string. Jon Dufresne
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.
2019-08-23Replaced subprocess commands by run() wherever possible.Claude Paroz
2018-10-09Capitalized "Python" in docs and comments.Jon Dufresne
2018-08-31Updated language statistics script to not use the shellClaude Paroz
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-03-07Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."Tim Graham
This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
2017-02-23Fixed #27878, refs #23919 -- Used python3 shebangs.Chris Lamb
2016-08-25makemessages now requires a configured DjangoClaude Paroz
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2015-10-09Updated manage_translations scriptClaude Paroz
2015-04-01Removed source strings from translated po filesClaude Paroz
Forward port of 05a781a47 from stable/1.8.x
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-06-09Converted Django scripts to argparseClaude Paroz
Refs #19973.
2014-05-19Re-added JS catalog in manage_translations scriptClaude Paroz
2014-05-19Updated Django makemessages processClaude Paroz
makemessages should now automatically distribute translatable strings in the proper locale files, for Django too (see 50a8ab7cd1e6).
2014-04-24Renamed Transifex project from django-core to djangoClaude Paroz
See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex
2014-03-30Corrected many style guide violations that the newest version of flake8 catchesAlex Gaynor
2014-01-04Fixed `python scripts/manage_translations.py update_catalogs`.Aymeric Augustin
It used to generate languages 'e' and 'n'.
2013-12-12Improved translation maintenance scriptClaude Paroz
Do not fetch 'en' catalogs, neither files with translation stats lower than 5%. Centralized resource filtering.
2013-11-02Fixed the remaining E302 violations int eh django packageAlex Gaynor
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-07-03Added check when fetching and updating translations from TransifexClaude Paroz
So as syntax errors in po files don't go unnoticed. Refs #20695.
2013-04-25Updated Transifex links to the Django projectClaude Paroz
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.
2013-01-01Added a helper script for managing django translationsClaude Paroz
2012-01-02Fixed #11184 -- Made it possible to build RPMs with a non-default python ↵Aymeric Augustin
executable. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10Added a man page for django-admin.py. Also install it correctly as part of theMalcolm Tredinnick
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
2007-04-03Fixed #3338, #3536, #3796 -- Fixed a bunch of setup and build problems in aMalcolm Tredinnick
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
2007-02-12Refs #3338 -- Partially fix rpm packaging problems. There is still one issueMalcolm Tredinnick
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