3540 Commits

Author SHA1 Message Date
3cf49d9556 Python 2.6+ / 3.x style except clauses
This newer style except statement allows for compatibility with
Python 3.x and does not harm on python 2.6+.
2017-10-16 22:47:58 +02:00
Ludwig Nussel
406f870507 Merge pull request #1175 from lnussel/pkglistgen
pkglistgen: initial work for openSUSE
2017-10-13 15:14:59 +02:00
b00a8f5ed6 Merge pull request #1184 from lnussel/ttm
ttm: update for Leap 15.0
2017-10-13 16:59:45 +08:00
43f2eb0142 Merge pull request #1190 from jberry-suse/check_source-config
check_source: move all relevant flags to config to work properly without flags.
2017-10-13 16:51:30 +08:00
aeef41fd3c Merge pull request #1189 from jberry-suse/staging-config
osclib: provide ConfigCommand and expose via osc-staging (utilize in repo_checker)
2017-10-13 16:50:13 +08:00
Jimmy Berry
cbd61d0f61 osclib/freeze: clear staging config during freeze as well. 2017-10-12 17:46:09 -05:00
Jimmy Berry
6eb4df3fba osclib/stagingapi: set_prj_pseudometa(): only change if different. 2017-10-12 17:46:09 -05:00
Jimmy Berry
47f5affdb0 repo_checker: filter empty whitelist entries. 2017-10-12 17:46:09 -05:00
Jimmy Berry
d2e6b155ce repo_checker: utilize staging configuration for whitelist additions. 2017-10-12 17:46:09 -05:00
Jimmy Berry
c0eaaf4268 osclib: provide ConfigCommand and expose via osc-staging. 2017-10-12 17:46:01 -05:00
Ludwig Nussel
e94577d1b9 ttm: update for Leap 15.0 2017-10-12 13:20:45 +02:00
Ludwig Nussel
d167d0e0fd pkglistgen: add --ignore-unresolvable and --ignore-recommends options
by default write the error string to the xml so it doesn't build
anymore. With the --ignore-unresolvable option only comments are
added.

With the --ignore-recommends option recommended packges will only
be listed as comment.
2017-10-12 11:47:17 +02:00
Ludwig Nussel
c9875469d3 pkglistgen: make --repositories option use an array 2017-10-12 11:47:17 +02:00
Ludwig Nussel
85222b1243 pkglistgen: initial work for openSUSE
- allow to specify architecures
- need to specify default support status
- use correct api (still dirty)
2017-10-12 11:47:17 +02:00
Jimmy Berry
37d397fb89 check_source: move all relevant flags to config to work properly without flags. 2017-10-11 22:31:58 -05:00
Jimmy Berry
52af5b3d75 check_source: print message if checking devel project.
Currently, no indication unless ends in decline. More important when moving
option to config rather than flag.
2017-10-11 22:14:42 -05:00
Jimmy Berry
336a0e54ad osclib/stagingapi: get_staging_projects(): provide include_dvd option. 2017-10-11 17:38:11 -05:00
Jimmy Berry
a2ba667f26 Merge pull request #1182 from jberry-suse/check_source-service
dist: provide check-source subpackage.
2017-10-10 11:22:06 -05:00
Jimmy Berry
cb6b41d6e4 dist: provide check-source subpackage. 2017-10-10 11:17:55 -05:00
Jimmy Berry
73cec11a72 Merge pull request #1180 from jberry-suse/maintenance-service
dist: provide maintenance subpackage.
2017-10-10 11:14:09 -05:00
Jimmy Berry
08be01844f dist: provide maintenance subpackage. 2017-10-10 11:10:11 -05:00
Jimmy Berry
3ed4156e9c Merge pull request #1179 from jberry-suse/totest-service
dist: rework totest-manager subpackage to provide new style service.
2017-10-10 11:06:06 -05:00
Jimmy Berry
fdc3cd6fd0 dist/spec: totest-manager: reword to avoid dollar sign. 2017-10-10 10:59:09 -05:00
Jimmy Berry
d9e7a5767d dist/spec: add python-openqa_client as Requires for totest-manager. 2017-10-10 10:59:09 -05:00
Jimmy Berry
ac99db6147 dist: rework totest-manager subpackage to provide new style service. 2017-10-10 10:59:09 -05:00
Jimmy Berry
f50ea95e81 Merge pull request #1177 from jberry-suse/leaper-service
dist: provide leaper services and related configuration.
2017-10-10 10:48:13 -05:00
Jimmy Berry
712ef05e0f dist: provide leaper services and related configuration. 2017-10-10 10:26:12 -05:00
Jimmy Berry
de533a2a8c Merge pull request #1176 from jberry-suse/staging-bot-service
dist: provide staging-bot subpackage for related services.
2017-10-10 10:20:45 -05:00
Ludwig Nussel
02e50005b1 Merge pull request #1183 from lnussel/staging
staging: add exceptions for new 000* product files
2017-10-10 13:27:48 +02:00
Ludwig Nussel
239c6314c7 staging: add exceptions for new 000* product files 2017-10-10 10:46:54 +02:00
Jimmy Berry
eb7e3a458a dist: include supersede service in staging-bot subpackage. 2017-10-09 21:37:32 -05:00
Jimmy Berry
014d8cc07b dist: include suppkg_rebuild in staging-bot subpackage. 2017-10-09 21:09:44 -05:00
Jimmy Berry
a072b21b01 dist: provide staging-bot-devel-list service (changed from leaper). 2017-10-09 20:26:50 -05:00
Jimmy Berry
0539b9d2a7 dist/spec: include project_only repo-checker service in pre/post. 2017-10-09 17:37:01 -05:00
Jimmy Berry
f2122b49e9 dist: provide staging-bot subpackage for related services. 2017-10-09 17:36:27 -05:00
Ludwig Nussel
afbe1495de Merge pull request #1166 from DimStar77/fa-norename
check_source: Ensure the source and destination package name matches
2017-10-09 14:01:10 +02:00
Jimmy Berry
e1c7377ef4 Merge pull request #1174 from jberry-suse/dist-submit-expanded-link-fix
dist/ci/deploy: handle expanded links during target project loookup.
2017-10-06 18:18:10 -05:00
Jimmy Berry
e883604d05 dist/ci/deploy: handle expanded links during target project loookup. 2017-10-06 18:12:42 -05:00
Jimmy Berry
4b7fb2f59e Merge pull request #1173 from jberry-suse/dist-submit-service
dist/ci/deploy: wait for service to complete before create submit request (and automatically detect link)
2017-10-06 17:55:48 -05:00
Jimmy Berry
4161a7ec0d dist/ci/deploy: pipe osc sr --diff to cat to ensure same behavior manually run. 2017-10-06 17:49:24 -05:00
Jimmy Berry
ace27a9385 dist/ci/deploy: automatically detect target project and package. 2017-10-06 17:48:39 -05:00
Jimmy Berry
a99faac2ba dist/ci/deploy: wait for service to complete before create submit request. 2017-10-06 17:40:08 -05:00
Jimmy Berry
49fa091281 Merge pull request #1172 from jberry-suse/dist-submit-fix
travis: include OBS_TARGET_PROJECT env variable during deploy script.
2017-10-06 17:27:38 -05:00
Jimmy Berry
a985c0d812 travis: include OBS_TARGET_PROJECT env variable during deploy script. 2017-10-06 17:24:59 -05:00
Jimmy Berry
e6d2ffcb13 Merge pull request #1171 from jberry-suse/dist-submit
dist/ci/deploy: create submit request if none currently exists.
2017-10-06 17:15:53 -05:00
Jimmy Berry
2724af449c dist/ci/deploy: create submit request if none currently exists. 2017-10-06 17:11:09 -05:00
Jimmy Berry
e8e1a3d54b Merge pull request #1159 from jberry-suse/metrics-v1
Initial metrics ingestion, processing, write to influxdb, and grafana dashboards.
2017-10-06 16:20:50 -05:00
Jimmy Berry
298ca5e0a6 dist/spec: create metrics sub-package.
Excludes large JSON files from main package as most users will not need.
2017-10-06 16:13:42 -05:00
Jimmy Berry
ff37da92b6 docs/metrics.md: initial documentation of metrics workflow. 2017-10-06 16:08:33 -05:00
Jimmy Berry
cb24f27eec Initial metrics ingestion, processing, write to influxdb, and grafana dashboards.
A lot of room for improvement and additional metrics that can be extracted.
Including non-final state requests would allow for analyzing the current
staging state instead of only historical state. Additionally, the current
state can be used to present an activity log.

Handling incremental updates is non-trivial given the deltas are evaluated
and stored in sum state. A few possible approaches, but likely not worth
the hassle given the relatively short processing time and infrequent desire
to update data (daily at minimum).
2017-10-06 16:08:33 -05:00