summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-37/+71
|
* Refs #32355 -- Modernized subprocess.run() calls.Adam Johnson2021-09-271-3/+3
|
* Refs #30116 -- Simplified stdout/stderr decoding with subprocess.run()'s ↵Jon Dufresne2019-11-041-4/+7
| | | | | | | encoding argument. The encoding argument has been available since Python 3.6. https://docs.python.org/3/library/subprocess.html#subprocess.run
* Adjusted subprocess.run() calls to use arg list, rather than string. Jon Dufresne2019-08-281-5/+4
| | | | | | | | | | | | | | | 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.
* Replaced subprocess commands by run() wherever possible.Claude Paroz2019-08-231-14/+12
|
* Capitalized "Python" in docs and comments.Jon Dufresne2018-10-091-1/+1
|
* Updated language statistics script to not use the shellClaude Paroz2018-08-311-5/+10
|
* Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne2017-06-011-2/+2
|
* Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."Tim Graham2017-03-071-1/+1
| | | | This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
* Fixed #27878, refs #23919 -- Used python3 shebangs.Chris Lamb2017-02-231-1/+1
|
* makemessages now requires a configured DjangoClaude Paroz2016-08-251-0/+4
|
* Fixed E128 flake8 warnings in django/.Tim Graham2016-04-081-4/+2
|
* Updated manage_translations scriptClaude Paroz2015-10-091-5/+2
|
* Removed source strings from translated po filesClaude Paroz2015-04-011-3/+4
| | | | Forward port of 05a781a47 from stable/1.8.x
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+2
|
* Converted Django scripts to argparseClaude Paroz2014-06-091-11/+8
| | | | Refs #19973.
* Re-added JS catalog in manage_translations scriptClaude Paroz2014-05-191-4/+6
|
* Updated Django makemessages processClaude Paroz2014-05-191-9/+5
| | | | | | makemessages should now automatically distribute translatable strings in the proper locale files, for Django too (see 50a8ab7cd1e6).
* Renamed Transifex project from django-core to djangoClaude Paroz2014-04-241-2/+2
| | | | See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex
* Corrected many style guide violations that the newest version of flake8 catchesAlex Gaynor2014-03-301-1/+1
|
* Fixed `python scripts/manage_translations.py update_catalogs`.Aymeric Augustin2014-01-041-3/+3
| | | | It used to generate languages 'e' and 'n'.
* Improved translation maintenance scriptClaude Paroz2013-12-121-13/+22
| | | | | Do not fetch 'en' catalogs, neither files with translation stats lower than 5%. Centralized resource filtering.
* Fixed the remaining E302 violations int eh django packageAlex Gaynor2013-11-021-0/+3
|
* Whitespace cleanup.Tim Graham2013-10-101-1/+1
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Added check when fetching and updating translations from TransifexClaude Paroz2013-07-031-2/+12
| | | | So as syntax errors in po files don't go unnoticed. Refs #20695.
* Updated Transifex links to the Django projectClaude Paroz2013-04-251-2/+2
| | | | | | 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.
* Added a helper script for managing django translationsClaude Paroz2013-01-011-0/+164
|
* Fixed #11184 -- Made it possible to build RPMs with a non-default python ↵Aymeric Augustin2012-01-021-1/+1
| | | | | | executable. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added a man page for django-admin.py. Also install it correctly as part of theMalcolm Tredinnick2007-06-101-0/+5
| | | | | | | | | 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
* Fixed #3338, #3536, #3796 -- Fixed a bunch of setup and build problems in aMalcolm Tredinnick2007-04-031-4/+8
| | | | | | | | 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
* Refs #3338 -- Partially fix rpm packaging problems. There is still one issueMalcolm Tredinnick2007-02-121-0/+19
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