summaryrefslogtreecommitdiffstats
path: root/releng/models.py
AgeCommit message (Collapse)AuthorFilesLines
2014-01-09Remove release fields we can pull from the torrentDan McGee1-5/+5
This makes entering new releases a bit less cumbersome as we don't really need to enter either the file size or the torrent infohash. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-16Various minor code cleanups and fixesrelease_2013-04-16Dan 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-01-28Extract torrent trackers into a settings variableDan McGee1-2/+3
This allows them to be overridden and changed in a central location, like we do with the SVN URL, PXE boot URL, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-28Add MD5 and SHA1 fields for releasesDan McGee1-1/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-28Don't error on empty torrent dataDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Mark release version string as uniqueDan McGee1-1/+1
It should be unique anyway, but it is especially important now that we are using it in URL patterns for lookup. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Implement torrent data parsing and extraction via bencodeDan McGee1-0/+33
This allows uploading of the actual torrent file itself into the webapp and then pulling the relevant pieces of information out of it. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add basic release list and details viewsDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add more metadata to releng Release modelDan McGee1-0/+3
Add a file_size field which we will use in the RSS feed, and also add a field for future storage of the torrent data itself. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21Fix new magnet link generationrelease_2012-11-20Dan McGee1-8/+7
Apparently clients don't like urlencoded values in the magnet link, so %3A isn't treated the same as ':'. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21Show release notes on downloads pageDan McGee1-0/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-20Move some logic out of the templates to the Release modelDan McGee1-0/+18
This includes magnet URI generation, ISO paths, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-20Add Release model to relengDan McGee1-1/+18
This should prevent the need for monthly template updates from Pierre and Thomas; best to just let them enter the data themselves and have it show up on the website. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-01Signal attachment cleanupDan McGee1-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-04Use GenericIPAddressField for releng test IP address fieldDan McGee1-2/+4
We were already using this on package flag requests, and we can support IPv6 addresses here as well with minimal hassle. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-08-15PEP8 spacing in releng models filerelease_2012-08-15Dan McGee1-0/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-22Admin setup tweaksDan McGee1-1/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17releng: refactor results overview page for performanceDan McGee1-26/+0
Use some annotation stuff and trickeration to reduce the number of queries we need on the results overview page by quite a bit. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17Implement get_absolute_url for Iso modelDan McGee1-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Add a removed date for releng ISOsDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Move set_created_field() to shared utils classDan McGee1-10/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-03Remove unneeded importDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28Rename isotests to relengDan McGee1-0/+121
Signed-off-by: Dan McGee <dan@archlinux.org>