summaryrefslogtreecommitdiffstats
path: root/devel
AgeCommit message (Collapse)AuthorFilesLines
2020-10-26Add core.db.tar.zst support for reporeadJelle van der Waa1-27/+26
As Python does not support zstd compression yet, xtarfile a wrapper around tarfile with zstd support is required.
2020-07-09Only show bad packages in reportsJelle van der Waa1-1/+1
To avoid confusion with reproducible.archlinux.org output, only show BAD statusses. Unknown statuses are still queue'd up in rebuilderd so aren't interesting.
2020-07-09Expand debug output for rebuilderd importerJelle van der Waa1-2/+2
2020-06-29Add rebuilderd status import and reporting functionalityrelease_2020-06-29Jelle van der Waa4-2/+182
Import the rebuilderd status periodically with a django management command into RebuilderdStats which holds one record per pkgname with it's pkgver/pkgrel/epoch all recorded. Shown as a developer dashboard and with opt in mail notifications for when a package becomes not reproducible.
2020-06-29Create migration for planet_rss help message.Jelle van der Waa1-0/+18
2020-02-03Introduce planet functionality in archwebJelle van der Waa3-2/+101
This change introduces a replacment for planet.archlinux.org which uses a python 2 project to generate static html from multiple RSS feed sources. For archweb a set of 'static' feeds can be created in the django admin view for the Arch forums and other static feeds, archweb users can add their own blog rss feed in their profile which will create a Feed model. When running the update_planet command, all Feed models are iterated over and the rss feed is parsed. The latest FeedItem is queried matching the current Feed model and every newer entry in the RSS feed is added as new FeedItem. Since the body is also stored in the FeedItem there is a limit to the amount of FeedItems per Feed configured in settings.py of which the default is 25. When a user is marked as inactive his Feed model and items are removed automatically to avoid keeping stale data around. Closes: #261
2019-11-07Fix a typo in commands/retire_user.pyFelix Yan1-1/+1
2019-10-04devel/views: Invalidate template fragment cache on profile updateJohannes Löthberg1-0/+8
Closes #166. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2019-09-11devel: Add sorting on groups to the admin viewJelle van der Waa1-2/+2
2019-06-28trailing spacesRowan Ruseler1-1/+1
2019-06-22reporead: skip sanity check for public testing reposEvangelos Foutras1-1/+1
2019-05-17devel: add non existing dependencies reportJelle van der Waa1-2/+34
Add a new devel report which shows packages which have non-existing make, opt or normal dependencies. Closes: #111
2019-04-27reporead: remove added list()Jelle van der Waa1-1/+1
2to3 added an unrequired list() call around the django ORM query.
2019-03-19reporead: Delete old FlagRequests when deleting package from repoJohannes Löthberg1-0/+5
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2019-02-24Revert "rewrite logic to put some key at the beginning of the OrderedDict"Jelle van der Waa1-3/+7
This reverts commit adaa6d64c4466cff986e695d9d69d51a4d05ca59. old is undefined and therefore the code is broken.
2019-02-09tests: add test for pgp_import keysJelle van der Waa1-1/+35
Add a test to check the pgp_import functionality with one key, by patching call_pgp so there is no need of a local pacman keyring.
2019-02-09Fix also call_gpg's outputFelix Yan1-1/+1
2019-02-01remove unecessary list callsAleksandar Trifunovic3-5/+5
2019-02-01rewrite logic to put some key at the beginning of the OrderedDictAleksandar Trifunovic1-7/+3
2019-01-28switch to python3's buildin mockJelle van der Waa2-2/+2
Instead of using a python module use the build-in mock and remove the module from requirements.txt
2019-01-21Update migrations for Python 3Jelle van der Waa2-17/+35
2019-01-21Update django reverse importJelle van der Waa1-1/+1
2019-01-21In Python 3.2 assertItemsEqual is replaced by assertCountEqualJelle van der Waa1-1/+1
2019-01-21Refactor Python 3 __unicode__ to __str__Frank Vanderham1-4/+4
In Python 3 for Django, class method __unicode__ must be changed to __str__. This commit replaces all models that use __unicode__ to __str__.
2019-01-21main: run 2to3Jelle van der Waa6-13/+13
2019-01-21devel: switch to force_textJelle van der Waa1-2/+2
2019-01-21Remove all squashed migrationsJelle van der Waa3-134/+0
this makes it easier to upgrade to Python 3 since less on_delete lines have to be fixed.
2018-12-16Merge pull request #154 from jelly/squashmigrationsjelle van der Waa1-0/+115
squash all migrations
2018-11-30devel: fix class name in testJelle van der Waa1-1/+1
2018-11-30devel: add pgp_import basic testJelle van der Waa1-0/+12
2018-11-23deve: test listing actual developersJelle van der Waa1-1/+10
2018-11-20devel: Add test for unsupported architectureJelle van der Waa1-1/+6
2018-11-17Squash all migrationsJelle van der Waa1-0/+115
2018-11-17Fix Foreignkey implicit on_delete on django < 2.0Jelle van der Waa1-5/+5
Foreignkey used to implicitly be on_delete=models.CASCADE and has to be explicit now.
2018-11-17Using user.is_authenticated() as a method is deprecatedJelle van der Waa1-1/+1
Use is_authenticated as an attribute.
2018-11-02Add retire_user commandJelle van der Waa2-0/+140
2018-09-23devel: Add more coverage for devel.utilsJelle van der Waa1-0/+14
2018-08-12devel: Add test for rematch_developersJelle van der Waa1-0/+14
2018-07-29Add tests for devel clocksJelle van der Waa1-0/+33
2018-07-13devel: reporead remove old flagrequestsJelle van der Waa2-2/+57
When updating a package in our repository remove any old 'flagged out of date' requests.
2018-05-19Replace deprecated method warn() with warning()Frank Vanderham1-2/+2
Replaced the deprecated logger.warn() with logger.warning(). This was causing pylint to return code 4.
2018-04-20Fix the StaffGroup queryGiancarlo Razzolini1-1/+1
Due to changes to Django 1.11, this didn't return the object. Fix to get the object instead of the queryset.
2018-04-08treewide: context must be a dict rather than ContextJelle van der Waa1-3/+3
Passing Context has been removed in Django 11, a dict should rather be passed.
2018-04-08devel: Templatetest should be a SimpleTestJelle van der Waa1-3/+2
The test uses database queries and should therefore be a TestCase.
2018-04-08Update urls.py to non relative importsJelle van der Waa1-1/+1
2018-04-08devel/tests/test_user: Fix tests to now expect a relative URLJohannes Löthberg1-3/+3
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08Fix reporead test for new error messageJohannes Löthberg1-1/+1
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08Change urls.py from patterns to list of url()Johannes Löthberg1-13/+16
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08devel: update management commands to django 1.10Jelle van der Waa2-0/+6
2018-04-08rematch_developers: Update to Django 1.10Jelle van der Waa1-4/+4
Make rematch_developers compatible with Django 1.10 by switching to a BaseCommand class.