summaryrefslogtreecommitdiffstats
path: root/releng/management
AgeCommit message (Collapse)AuthorFilesLines
2013-04-17Various minor code cleanups and fixesDan McGee1-1/+1
Most of these were suggested by PyCharm, and include everything from little syntax issues and other bad smells to dead or bad code. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-09Use 'update_fields' model.save() kwargDan McGee1-1/+1
This was added in Django 1.5 and allows saving only a subset of a model's fields. It makes sense in a few cases to utilize it. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-25Remove custom utc_now() function, use django.utils.timezone.now()Dan McGee1-3/+2
This was around from the time when we handled timezones sanely and Django did not; now that we are on 1.4 we no longer need our own code to handle this. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Make all datetime objects fully timezone awareDan McGee1-2/+3
This is most of the transition to Django 1.4 `USE_TZ = True`. We need to ensure we don't mix aware and non-aware datetime objects when dealing with datetimes in the code. Add a utc_now() helper method that we can use most places, and ensure there is always a timezone attached when necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17releng syncisos: reactive inactive ISOs if availableDan McGee1-2/+9
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Add a removed date for releng ISOsDan McGee1-1/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: auto-deactivate old ISO namesDan McGee1-4/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Rename isotests to relengDan McGee3-0/+48
Signed-off-by: Dan McGee <dan@archlinux.org>