lp:~fo0bar/turku/turku-api-cleanup
- Get this branch:
- bzr branch lp:~fo0bar/turku/turku-api-cleanup
Branch merges
- Stuart Bishop (community): Approve
-
Diff: 2291 lines (+901/-541)12 files modified.bzrignore (+61/-1)
MANIFEST.in (+9/-0)
Makefile (+28/-0)
setup.py (+28/-0)
tests/test_stub.py (+8/-0)
tox.ini (+38/-0)
turku_api/admin.py (+109/-82)
turku_api/models.py (+167/-162)
turku_api/settings.py (+37/-35)
turku_api/urls.py (+31/-13)
turku_api/views.py (+382/-247)
turku_api/wsgi.py (+3/-1)
Branch information
Recent revisions
- 65. By Ryan Finnie
-
Mega-noop cleanup
- Add setup.py
- This is a Django application, but treating it as a full Python
module helps with tox testing
- Sort imports
- Create MANIFEST.in so `setup.py sdist` produces usable tarballs
- Create stub tests
- Add tox.ini
- Add blank requirements.txt
- Add Makefile
- make black
- Update .bzrignore
- Remove blank turku_api/tests.py
- Clean up flake8:
- Ignore local_settings/local_urls import * F401/F403
- Ignore wsgi.py import E402
- Fix urls.py 'django.conf.urls. include' imported but unused - 64. By Ryan Finnie
-
Fix admin child object related links
Reviewed-on: https:/
/code.launchpad .net/~fo0bar/ turku/turku- api-related- links/+ merge/382103
Reviewed-by: Joel Sing <email address hidden> - 63. By Ryan Finnie
-
Add compatibility for Django 2.2 (Ubuntu focal)
Reviewed-on: https:/
/code.launchpad .net/~fo0bar/ turku/turku- api-focal/ +merge/ 382102
Reviewed-by: Joel Sing <email address hidden> - 62. By Ryan Finnie
-
Convert to Python 3
Reviewed-on: https:/
/code.launchpad .net/~fo0bar/ turku/turku- api-py3/ +merge/ 381137
Reviewed-by: Joel Sing <email address hidden> - 61. By Ryan Finnie
-
Add README.md
Reviewed-on: https:/
/code.launchpad .net/~fo0bar/ turku/turku- api-doc/ +merge/ 381209
Reviewed-by: Tom Haddon <email address hidden> - 60. By Ryan Finnie
-
Add compatibility for Django 1.8~1.11 (xenial/bionic):
- Disable admin form "related links" (form children links) -- broken as of
1.8, would be nice to have back if someone can figure out a replacement
- Add "fields = '__all__'" to admin forms
- Remove south migrations
- Port TEMPLATE_DIRS to TEMPLATES
- Change urlpatterns from patterns() to url() listChanges have been tested as being backwards compatible to 1.6 (trusty).
Reviewed-on: https:/
/code.launchpad .net/~fo0bar/ turku/bionic/ +merge/ 344994
Reviewed-by: Haw Loeung <email address hidden>
Reviewed-by: Joel Sing <email address hidden> - 59. By Colin Watson
-
Add a per-source option to preserve hard links.
Reviewed-on: https:/
/code.launchpad .net/~cjwatson/ turku/turku- api-preserve- hard-links/ +merge/ 374827
Reviewed-by: Nick Moffitt <email address hidden> - 58. By Junien F
-
[sajoupa,r=axino] admin.py: handle sources with no last backup date in human_time (fix regression introduced in r53)
- 57. By Jacek Nykis
-
[sajoupa] we must also allow 10h since last check-in to avoid flagging machines with long backups as unhealthy
- 56. By Jamon Camisso
-
[sajoupa,r=jamon] Some backups take more than 9h, report unhealthy after 4h. This change bumps the threshold to 10h
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)