4300 Commits

Author SHA1 Message Date
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
Jimmy Berry
57ef49a172
Merge pull request #1671 from jberry-suse/repo_checker-state-to-build-revert
Revert "repo_checker: change build to state in comment info."
2018-08-23 11:44:03 -05:00
Jimmy Berry
9641379679 Revert "repo_checker: change build to state in comment info."
Works, but overrides the base state properly which is not desired.

This reverts commit 3db3a182855510c0b016e83888693e03e227e000.
2018-08-23 11:26:13 -05:00
Jimmy Berry
db50e7918b
Merge pull request #1669 from jberry-suse/repo_checker-multi-repository-request
repo_checker: include repository as bot name suffix for staging and direct package comments.
2018-08-23 08:01:15 -05:00
Jimmy Berry
3bdcad9ead
Merge pull request #1667 from jberry-suse/repo_checker-build-to-state
repo_checker: change build to state in comment info.
2018-08-23 08:00:52 -05:00
Jimmy Berry
ec3c1d1b6e
Merge pull request #1668 from jberry-suse/repo_checker-project-skip
repo_checker: provide repo_checker-project-skip option (and utilize for OBS SLE projects)
2018-08-23 08:00:05 -05:00
Jimmy Berry
ebec4215ed
Merge pull request #1665 from jberry-suse/repo_checker-package-comment-devel-default
repo_checker: change package comment default to be direct instead of devel.
2018-08-23 07:52:26 -05:00
Jimmy Berry
108e0a2bf4 repo_checker: include repository as bot name suffix in direct package comment.
This allows for multiple project_only runs with a different main-repo set.
It is very unlikely this feature will be used, but will handle it properly
to be consistent with pseudometa file name.
2018-08-23 00:39:06 -05:00
Jimmy Berry
da507a4147 repo_checker: include repository as bot name suffix for staging comments.
This becomes necessary for multi-action requests like those seen in
maintenance where there may be multiple repositories reviewed for a single
request. The result is multiple comments made on the staging project which
would override each other. This treats them separately just as devel
project comments do with target project.
2018-08-23 00:38:56 -05:00
Jimmy Berry
dbfafe8e85 osclib/conf: utilize repo_checker-project-skip for OBS SLE projects. 2018-08-23 00:13:30 -05:00
Jimmy Berry
bf69419996 repo_checker: provide repo_checker-project-skip option.
Allows for skipping review of an action based on the target project config.
2018-08-22 23:56:46 -05:00
Jimmy Berry
3db3a18285 repo_checker: change build to state in comment info.
The more accurately reflects what the hash represents since it grew to
include the staging project meta revision and may end up including more.
2018-08-22 23:39:33 -05:00
Jimmy Berry
a676367135
Merge pull request #1666 from jberry-suse/repo_checker-CreatePackageDescr-include-special-build-ignore
repo_checker: CreatePackageDescr: exclude build-env requirement.
2018-08-22 22:28:37 -05:00
Jimmy Berry
e330765960 repo_checker: CreatePackageDescr: exclude build-env requirement.
Drop in #1644, but as suspected it is needed. The reason the side-effect
was not notice right away is the package description cache for a package
making use of the requirement must be rebuilt. This means the package
must be updated since the last time cache was built.

After completely a force rebuild of entire cache the behavior is correct
by only adding this back. Unlike the case below these binaries are not
published to the end-user so this is more a quirk of the data present in
OBS for staging projects.
2018-08-22 22:05:08 -05:00
Jimmy Berry
cdef5bf129 repo_checker: change package comment default to be direct instead of devel.
Since the tool has been expanded to work on any repository, there are more
repositories that would want direct comments than devel. Set the value
to be devel for the openSUSE products which are the places where that is
desirable.
2018-08-22 21:43:47 -05:00
Jimmy Berry
a02488ecf2
Merge pull request #1660 from jberry-suse/maintbot-supersede-by-ReviewBot
ReviewBot: add devel_project_review_*() methods adapted from maintbot (and port users)
2018-08-22 21:39:05 -05:00
Jimmy Berry
dab65356d7 leaper: replace maintbot usage with ReviewBot methods.
The maintenance_incident logic is always updated to mimic the maintbot
behavior in regards to when to add devel project review.
2018-08-22 21:24:58 -05:00
Jimmy Berry
31d6a872c7 check_source: replace maintbot usage with ReviewBot methods. 2018-08-22 21:24:58 -05:00
Jimmy Berry
a1c1334803 ReviewBot: add devel_project_review_*() methods adapted from maintbot.
The owner logic surrounding a package removed from Factory does not appear
to make sense as the current behavior of OBS never returns another owner
pair for such packages. As such the existing devel project lookup makes
more sense and is more straight forward.
2018-08-22 21:24:58 -05:00
Jimmy Berry
7fa84f7d51
Merge pull request #1657 from jberry-suse/repo_checker-psuedometa-staging-fix
repo_checker: rework install_check() to use target project consistently.
2018-08-22 21:21:28 -05:00
Jimmy Berry
a7f08f656c repo_checker: repository_check(): drop left over development comment. 2018-08-22 20:49:57 -05:00
Jimmy Berry
2931e9aedb repo_checker: rework install_check() to use target project consistently.
Removes the need for the odd parse argument behavior.
2018-08-22 20:49:23 -05:00
Jimmy Berry
4cbeaa5508
Merge pull request #1661 from jberry-suse/leaper-default-maintainer-override-ibs-remove
leaper: remove duplicate maintainer review check for IBS in default action.
2018-08-22 18:10:13 -05:00