Commit graph

5 commits

Author SHA1 Message Date
Pierre-Yves Chibon
392627ecab Run black over the entire project
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-29 11:41:28 +02:00
Nils Philippsen
c2e99dbdfa Ship default configuration files
Specify data files to ship explicitly and set include_package_data to
False so it doesn't pick up random cruft that happens to be in the work
tree.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-12-06 16:32:55 +01:00
Nils Philippsen
8cfa616073 fix console script entry point
In the course, clean up how execution errors are processed, i.e. use
exceptions rather than integer return codes to indicate errors.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-21 10:55:28 +01:00
Nils Philippsen
e59e1d510f move code to distgit_bugzilla_sync package
This allows as to have different functionality, e.g. handling
configuration, in their own separate modules.

Use relative imports for project-internal modules and remove shebangs
from them as they're not marked executable anyway. Instead, add
run-distgit-bugzilla-sync for testing from the repo worktree.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-19 17:25:35 +01:00
Nils Philippsen
b8e37f62fc add setup.py and related files
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-19 11:24:35 +01:00