4322 Commits

Author SHA1 Message Date
Jimmy Berry
406fc41a85 ReviewBots: utilize delete_package check where it was already assumed. 2018-09-17 17:15:23 -05:00
Jimmy Berry
658137b9e9 check_source: split out delete repository check to new sub action check. 2018-09-17 17:14:48 -05:00
Jimmy Berry
ecbc806b2d check_source: decline all delete project requests. 2018-09-17 17:13:58 -05:00
Jimmy Berry
d1b630b5da ReviewBot: break down sub-types of delete requests.
Their is very little overlap in the types of reviews one typically wants
to perform on delete requests. Already all of the existing code will crash
if a delete project request is reviewed.
2018-09-17 17:04:44 -05:00
Jimmy Berry
628c1a107d
Merge pull request #1695 from jberry-suse/metrics-images
metrics: add image totals by product to access dashboard.
2018-09-14 16:09:10 -05:00
Jimmy Berry
5c410b7c76 metrics/grafana/access: add new row and graphs for image totals by product.
Includes a new variable for switching which product is displayed.
Unfortunately, there is no way to hide the variable within a row and it
seems like over-kill to create a separate dashboard.
2018-09-14 15:55:02 -05:00
Jimmy Berry
7492b109e5 metrics/access/aggregate: process and summarize image totals by product.
Accessible in new measurement prefixed by 'image'.
2018-09-14 15:53:30 -05:00
Jimmy Berry
c84add0bf7 metrics/access/aggregate: extract merge_product_plus_key() from merge(). 2018-09-14 15:52:05 -05:00
Jimmy Berry
dc9afe2adf metrics/access/ingest: detect product image paths and included in dump. 2018-09-14 15:50:37 -05:00
Jimmy Berry
6203b52a42 metrics/grafana/access: remove left-over raw queries.
For some reason Grafana does not remove these from data structure even
though they no longer represent current state.
2018-09-14 15:49:56 -05:00
Jimmy Berry
f80d3ff03f metrics/access/aggregate: include Leap 15.1 in published metrics. 2018-09-14 15:48:12 -05:00
Jimmy Berry
d1022403cb
Merge pull request #1691 from lnussel/check_source
check_source: reset skip_add_reviews for each request
2018-09-13 16:57:31 -05:00
Stephan Kulow
47324ff2fd
Merge pull request #1693 from nilxam/ignore_product_package
check_source: ignore _product package check
2018-09-13 15:07:13 +02:00
dbf31de9af check_source: ignore _product package check 2018-09-13 20:49:56 +08:00
Ludwig Nussel
db9375336b check_source: reset skip_add_reviews for each request
skip_add_reviews needs to be reset, otherwise a single
maintenance_incident request affects the rest of the work queue.
2018-09-12 11:48:23 +02:00
Jimmy Berry
3cf805500a
Merge pull request #1690 from jberry-suse/metrics-request-list-followup
metrics: remove workaround for OBS xpath bug during request search.
2018-09-10 20:04:30 -05:00
Jimmy Berry
d7d3d55578 metrics: check for action/target instead of submit/target since removed.
In the wake of openSUSE/osc@f1c3156 removing the deprecated submit/target,
the special condition to limit Factory to "staging era" requests should be
updated to look for action/target.
2018-09-08 22:17:56 -05:00
Jimmy Berry
0b342a5856 metrics: remove workaround for OBS xpath bug during request search.
Now that the bug related to openSUSE/open-build-service#5571 has been fixed
the inverted behavior of exclude_target_projects no longer works. As such
the argument should be removed and only way to get the desired behavior
is to override include_request_from_project which includes request sourced
from specific project. For the purposes of metrics only interested in
requests targeting a specific project.
2018-09-08 22:15:43 -05:00
Jimmy Berry
67200cdf5c
Merge pull request #1687 from jberry-suse/metrics-conf-pattern
metrics: correct reference to Leap config defaults pattern.
2018-09-05 14:41:03 -05:00
Jimmy Berry
fda67baa36 metrics: correct reference to Leap config defaults pattern. 2018-09-05 14:24:51 -05:00
Jimmy Berry
c5ceab9ee1
Merge pull request #1686 from jberry-suse/cache-migrate-prune
osclib/cache_manager: provide general cache manager for all tools.
2018-09-05 14:23:21 -05:00
Jimmy Berry
3b8ae3174c osclib/cache: provide mechanism to init multiple times.
Useful for staging plugin to cache the remote config before StagingAPI
is initialized.
2018-09-04 15:19:02 -05:00
Jimmy Berry
c47bb4c902 Utilize CacheManager for all existing caches. 2018-09-04 15:19:02 -05:00
Jimmy Berry
27cba7e26c osclib/cache_manager: provide general cache manager for all tools. 2018-09-04 15:18:55 -05:00
Jimmy Berry
f49b8d1149 osclib/common: provide project name and version constants.
Not specific to staging plugin, but previously only place to provide
version.
2018-09-04 15:04:33 -05:00
Stephan Kulow
9e8018fe24
Merge pull request #1685 from jberry-suse/travis-target-increment
travis: increment targetted versions to openSUSE Leap 15.0 and SLE 15.
2018-09-01 19:32:23 +02:00
Jimmy Berry
e1ec1aa412 travis: increment targetted versions to openSUSE Leap 15.0 and SLE 15. 2018-08-31 15:04:35 -05:00
Jimmy Berry
8d17136443
Merge pull request #1684 from jberry-suse/dist-spec-check-source-obs-service
dist/spec: add obs-service-* requirements of check_source.pl.
2018-08-31 10:57:14 -05:00
Jimmy Berry
c0c6f29742 dist/spec: add obs-service-* requirements of check_source.pl. 2018-08-31 10:31:42 -05:00
1cedb3d8b3
Merge pull request #1680 from nilxam/compare_pkglist_withlinked
compare_pkglist: queries with withlinked=1 to ignore inherited package
2018-08-31 17:08:36 +08:00
Jimmy Berry
814f5f6029
Merge pull request #1682 from jberry-suse/dist-spec-check-source-perl-dep
dist/spec: include as requirement of check-source sub package.
2018-08-30 22:35:29 -05:00
Jimmy Berry
e23fb185c9
Merge pull request #1683 from jberry-suse/test-factory-source-brittle-osc-change
tests/factory_source_tests: update query after osc@f1c3156.
2018-08-30 22:11:20 -05:00
Jimmy Berry
d1274ecd1b tests/factory_source_tests: update query after osc@f1c3156.
Drop submit xpath references in favor of action only. A prime example
of the brittleness of this style of test.
2018-08-30 21:56:19 -05:00
Jimmy Berry
cf932fac7c dist/spec: include as requirement of check-source sub package.
Discovered missing while building container from scratch.
2018-08-30 21:29:34 -05:00
Jimmy Berry
99898dece6
Merge pull request #1679 from jberry-suse/readme-obs_clone
README: include section about using obs_clone tool.
2018-08-30 08:25:05 -05:00
cdf45777d1 compare_pkglist: queries with withlinked=1 to ignore inherited package 2018-08-30 17:27:39 +08:00
Jimmy Berry
386f177d1e README: include section about using obs_clone tool. 2018-08-29 17:02:29 -05:00
Jimmy Berry
e943dabaf2
Merge pull request #1678 from jberry-suse/metrics-history
metrics: provide initial telegraf setup for ingesting historical snapshots
2018-08-29 16:58:17 -05:00
Jimmy Berry
92d5c2c6f8 metrics: provide initial telegraf setup for ingesting historical snapshots. 2018-08-29 16:49:12 -05:00
6a972fa754
Merge pull request #1677 from nilxam/do_not_add_review_for_sle
leaper: proper maintainer review rule
2018-08-29 16:01:01 +08:00
cf87c26486 leaper: proper maintainer review rule
After moved to ReviewBot from maintbot, follow the old rule of
adding maintainer review, skip maintainer review if submission is from
SLE; SLE's SP; Leap and Leap:Update.
2018-08-28 18:16:45 +08:00
Jimmy Berry
541b94d1d0
Merge pull request #1674 from jberry-suse/license
LICENSE: add proper GPLv2 license and drop unnecessary headers.
2018-08-27 16:53:43 -05:00
Jimmy Berry
491706c7ca
Merge pull request #1676 from jberry-suse/leaper-remove-deduplicate
leaper: comment_handler_lines_deduplicate() call as no longer applicable.
2018-08-27 16:37:33 -05:00
Jimmy Berry
19fca41416 leaper: comment_handler_lines_deduplicate() remove as no longer applicable.
In factory for multi-action requests, like maintenance, this ends up hiding
useful lines that should be repeated for actions with the same origin.
2018-08-27 16:19:28 -05:00
Ludwig Nussel
754012f2f7
Merge pull request #1673 from jberry-suse/readme-clean
README: completely rewrite and provide workflow overview SVG.
2018-08-24 08:45:56 +02:00
Jimmy Berry
fbcf3c1914 README: completely rewrite and provide workflow overview SVG. 2018-08-23 19:22:40 -05:00
Jimmy Berry
6069245350 Remove SUSE copyright, warranty, and license headers.
Distinct copyrights were left as I do not wish to track down commit
history to ensure it properly documents the copyright holders. Also left
non-GPLv2 licenses and left bs_copy untouched as a mirror from OBS.

Already have a mix of with and without headers and even OBS does not place
on majority of files. If SUSE lawyers have an issue it will come up in
legal review for Factory.
2018-08-23 19:18:06 -05:00
Jimmy Berry
36988ed1d3 LICENSE: add proper GPLv2 license. 2018-08-23 18:56:31 -05:00
Jimmy Berry
b2be0e2345
Merge pull request #1672 from jberry-suse/readme-coveralls
README: update coveralls badge for new repository name.
2018-08-23 12:05:36 -05:00
Jimmy Berry
fc73e81ae9 README: update coveralls badge for new repository name. 2018-08-23 11:52:28 -05:00