Created by Ryan Finnie and last modified
Get this branch:
bzr branch lp:~fo0bar/turku/turku-api-cleanup
Only Ryan Finnie can upload to this branch. If you are Ryan Finnie please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Ryan Finnie
Turku Backup System

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


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
- Change urlpatterns from patterns() to url() list

Changes 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 Fridrick

[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)
This branch contains Public information 
Everyone can see this information.