Stephan Kulow
95db8a0091
More origin manager cleanup
...
As we don't do automatic origin updates in no project, remove the
update monitors. Those have been paused on botmaster for half a year
and just no project relies on them any longer
2022-02-25 10:10:09 +01:00
Stephan Kulow
d6fb5d680c
Remove sentry integration
...
It was introduced by #2159 because the various machines were hard to
monitor. Since we moved to botmaster there is no longer a problem with
that and if it ever served us is hard to say as the sentry project's
password is lost for years. So simplify the exception handling by just
throwing it
2022-02-21 14:41:33 +01:00
Stephan Kulow
529d1dafae
Target E302 - add two comment lines before class
2022-02-18 17:15:48 +01:00
ea3b07568c
Fix E203
...
This fixes incorrect whitespacing inside dictionaries.
2019-12-10 08:54:32 +01:00
8483632683
Some flake8 improvements
...
Was bored while waiting for a test run to finish. The rule is
that two empty lines distinguish larger blocks and shouldn't be
used between functions or within functions.
2019-11-27 10:40:15 +01:00
Jimmy Berry
dd31e02bcc
osc-origin: extract osrt_origin_update_packages().
2019-11-07 14:37:03 -06:00
Jimmy Berry
0cd70a5567
osc-origin,osclib/origin_listener: sync package kind logic.
...
Avoids special cases where package_kind() differs by project.
2019-11-06 14:05:50 -06:00
Jimmy Berry
75f9a88f07
osc-origin: osrt_origin_update(): include potential new packages.
...
When no packages are specified include all potential packages from
origins with automatic_updates_initial enabled to allow for new package
submissions.
2019-11-05 08:23:40 -06:00
Jimmy Berry
841978d316
osc-origin: osrt_origin_update(): include thread name in logger format.
2019-09-18 16:25:43 -05:00
Jimmy Berry
43708de07d
osc-origin: osrt_origin_update(): remove duplicate logging import.
2019-09-18 11:41:00 -05:00
Jimmy Berry
7188c791d4
osc-origin: update: provide --listen option.
...
Listens for source changes (both request creation and package updates) to
issue updates based on origin configuration.
2019-09-11 19:53:01 -05:00
Jimmy Berry
3b6ec5848e
osc-origin: support invoking update without a project.
2019-09-11 19:53:01 -05:00
Jimmy Berry
2782c4245b
osc-origin: utilize osclib.core.RequestFuture.print_and_create().
2019-09-11 18:55:36 -05:00
Jimmy Berry
f74d0c1d49
Merge pull request #2176 from jberry-suse/osc-origin-progress-text
...
osc-origin: update: indicate which package is being checked.
2019-08-29 08:26:41 -05:00
Jimmy Berry
970f6067ed
osc-origin: update: indicate which package is being checked.
2019-08-29 08:04:41 -05:00
Jimmy Berry
7400d7d5e7
osc-origin: capture exception with sentry to ensure they are reported.
2019-08-28 15:09:45 -05:00
Jimmy Berry
7915299229
osc-origin: provide sentry_sdk integration.
2019-08-16 16:02:01 -05:00
Jimmy Berry
40aa37edb9
osc-origin: provide update command.
2019-08-07 17:59:04 -05:00
Jimmy Berry
77dd0f5a92
osc-origin: provide cron command to automate lookup management.
2019-05-30 17:08:03 -05:00
Jimmy Berry
261581d88f
osc-origin: do not update lookup information if project is locked.
...
This allows for the cached lookup information to still be utilized, but
not waste time updating it for projects that cannot change.
2019-05-30 17:05:36 -05:00
Jimmy Berry
fcd4869c45
osc-origin: add missing command descriptions.
2019-05-30 16:22:20 -05:00
Jimmy Berry
743b3a6cd6
osc-origin, osclib/origin: port first dict key/value access [python3].
2019-05-15 21:01:00 -05:00
Jimmy Berry
45bc515ed8
osclib/core: rework as package_list_kind_filtered().
2019-05-14 18:58:19 -05:00
Jimmy Berry
83c170660f
dist/ci/flake-extra: include osc-origin.py in product grep.
2019-05-01 18:25:04 -05:00
Jimmy Berry
9a00f9c995
osc-origin: add command to list package origin history.
2019-05-01 15:49:21 -05:00
Jimmy Berry
3b61db61e5
osc-origin: add command to list potential origins for a package.
2019-05-01 15:49:21 -05:00
Jimmy Berry
792271d71d
osc-origin: add projects command to list managed projects.
2019-05-01 15:49:21 -05:00
Jimmy Berry
5d3f68159f
osc-origin: provide format flag and add support to list command.
2019-05-01 15:49:21 -05:00
Jimmy Berry
c2246343a5
osc-origin: include revision state information in lookup cache.
2019-05-01 15:49:21 -05:00
Jimmy Berry
6c041c7df4
osc-origin: correct import order of origin_find().
2019-05-01 15:49:21 -05:00
Jimmy Berry
f36bb8b876
Merge pull request #1912 from jberry-suse/origin-manager-cli-web
...
origin-manager: expose osc-plugin-origin commands via operator and provide initial supplementary interface.
2019-03-22 10:58:39 -05:00
Jimmy Berry
3293a24a89
osc-origin: osrt_origin_lookup(): print time since generated.
2019-03-20 19:18:05 -05:00
Jimmy Berry
d5dff4d15c
osc-origin: osrt_origin_lookup_file(): include project in cache file name.
2019-03-20 19:18:05 -05:00
Jimmy Berry
8cdc99c1be
osc-origin: list: sort by package name.
2019-03-20 19:01:32 -05:00
Jimmy Berry
6cec2f2ef3
osc-origin: provide initial origin osc subcommand.
2019-03-06 15:51:35 -06:00