distgit-bugzilla-sync/run-distgit-bugzilla-sync
Pierre-Yves Chibon 94d17b2c05 Restructure the code
- Add an --env variable to change the environment used via the CLI
- Drop the ProductCache object
- Introduce the DistgitBugzillaSync object which allows dropping global
  variables to rely on attributes instead.
- Drop the pkgdb compatibility layer that was once introduced, pkgdb is
  no longer a thing and it's time to move on

This changes a little bit the order in which projects are updated, it
used to be by products first (Fedora, Fedora EPEL...) then package,
now it's the opposite: by package first then product.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-11-21 09:58:17 +01:00

5 lines
115 B
Python
Executable file

#!/usr/bin/python3 -tt
from distgit_bugzilla_sync.script import DistgitBugzillaSync
DistgitBugzillaSync().main()