Stephan Kulow
5da698c8af
Do not generate drop list for leap:15.1:arm at the moment
...
I moved the baseurl into the remote config so that Dirk can enable it
when the repo was published
2018-12-04 07:03:11 +01:00
Stephan Kulow
ee72a3efb0
No longer default to all scopes but make it configurable
...
By default only generate the pkglists for the target project, only
for leap we configure rings and stagings as additional scopes to look
at
2018-12-04 04:43:18 +01:00
Stephan Kulow
c31c259530
Also remove 'arm' scope
2018-12-03 19:36:17 +01:00
Jimmy Berry
5ffaf618b0
osclib/cache: remove double comment introduced in #1802 .
2018-11-28 19:11:03 -06:00
86732dc472
ttm: add minimal staging config for pseudometa package
...
The config default for pseudometa package (00Meta) does not
exist for Tumbleweed, so we need to add an override for :ARM
to contain the proper information so that the publishing
logic doesn't stop. Also update correspondingly for Leap
2018-11-26 10:51:51 +01:00
97e0dec9fb
Disable caching project _meta
...
latest_updated is broken for _meta:
https://github.com/openSUSE/open-build-service/issues/6323
2018-11-21 11:48:57 +01:00
Stephan Kulow
1714c582f6
Merge pull request #1791 from jberry-suse/staging-report-check-pending
...
staging-report: ignore projects not in a final state.
2018-11-19 11:33:52 +01:00
7433149ab3
stagingapi: No longer build disable to sub packages
2018-11-19 14:23:44 +08:00
Jimmy Berry
9b667e759e
osclib/stagingapi: provide project_status_final().
2018-11-16 13:33:31 -06:00
Stephan Kulow
416172c325
Merge pull request #1790 from coolo/use_stringio_for_config
...
Checked with aplanas: using stringio is preferred
2018-11-16 18:20:31 +01:00
Stephan Kulow
db81c0bbf7
Checked with aplanas: using stringio is preferred
2018-11-16 15:03:40 +01:00
lethliel
dbf4b69a28
In some cases the return value of yaml.load(description_text)
...
can be a string containing 'none'.
This will be fetched with isinstance(data, str)
2018-11-16 14:30:13 +01:00
Stephan Kulow
ea9061ccf5
Import urllib2 python agnostic
2018-11-16 09:01:45 +01:00
Stephan Kulow
ac7b288e74
Store data as binary in the cache
2018-11-16 08:56:36 +01:00
Stephan Kulow
fa7be820c9
Remove the reduce call the brute force way
...
reduce() is no longer part of python core, but we don't
need it actually - since we use remote configs, we have
no more required settings (otherwise we put them in remote).
And to quote the python docu as I found it interestingly
proving my own impression of this code:
> Removed reduce(). Use functools.reduce() if you really need it;
however, 99 percent of the time an explicit for loop is more readable.
2018-11-16 08:56:18 +01:00
Stephan Kulow
159c672cf1
basestring is gone - in favor or str (which also works for python2)
2018-11-16 08:56:10 +01:00
Stephan Kulow
24ae4ba819
Port more code to run under python3
...
(python2 compat kept)
2018-11-16 08:14:56 +01:00
Stephan Kulow
7014285550
Merge pull request #1767 from coolo/fix_check_command
...
Support OBS checks instead of openqa
2018-11-13 06:59:49 +01:00
Stephan Kulow
fd468e2c9c
Do not crash on staging projects without status (gcc7)
2018-11-11 19:42:08 +01:00
Stephan Kulow
e1711a2812
Support OBS checks instead of openqa
...
Updated the test fixtures to current state, so we
don't test on old data
2018-11-11 19:42:08 +01:00
Stephan Kulow
2a9183f2b8
Merge pull request #1777 from coolo/dont_cache_attributes
...
Reduce cache time of attributes
2018-11-10 11:13:24 +01:00
Stephan Kulow
fa1c5c56e2
Caching attributes is not worth it and creates problems
...
Especially caching the lockedby attribute makes it basically
impossible to work with multiple persons
2018-11-10 10:06:13 +01:00
Stephan Kulow
3310ec0c63
Merge pull request #1780 from jberry-suse/staging-report
...
openqa-comments: rework openQA report as status check report (and thus rename as well)
2018-11-10 08:35:35 +01:00
Jimmy Berry
e1fac3e900
osclib/comments: force encoding to ascii to avoid OBS 400 errors.
2018-11-09 16:09:25 -06:00
Stephan Kulow
3aae284ff2
Merge pull request #1778 from coolo/fix_untracked_in_adi
...
adi: Fix format for untracked requests
2018-11-09 08:50:52 +01:00
Stephan Kulow
7ad0bb5e06
adi: Fix format for untracked requests
...
Fixes #1776
2018-11-09 08:28:35 +01:00
Stephan Kulow
e97be1a445
Remove map_ring_package_to_subject - it always return project
...
(this was more advanced when we had more subprojects)
2018-11-08 17:30:12 +01:00
Stephan Kulow
7a3b86fed1
No longer build disable on selecting non-ring packages to letter prjs
...
This is no longer needed as we only have one subproject per staging
2018-11-08 17:28:18 +01:00
Jimmy Berry
52eb890d76
osclib/request_splitter: provide stageable option and make default True.
...
Without this, the relative rarer types of requests seen in projects with
staging and handled by list command will be included in staging proposal.
However, since they are not stageable the select operation will fail. This
change ensures that a filter is always present when stageable is True to
exclude non-stableable requests. The list command sets stageable to false
in order to list out the non-stageable requests of interest.
This was not observed in openSUSE since the main non-stageable request was
change_devel and that was exluded in StrategyNone. That filter could be
replaced with the stageable filter, but having an always on filter seems to
make more sense since generally operating in one of two modes.
2018-11-01 09:21:28 -05:00
Jimmy Berry
0d9cde5a90
Merge pull request #1756 from jberry-suse/repo_checker-x86_64-published-dependent-on-i586
...
osclib/core: repository_published() make x86_64 dependent on i586.
2018-10-31 15:13:12 -05:00
Jimmy Berry
6ad58c8ceb
osclib/core: repository_published() make x86_64 dependent on i586.
2018-10-30 15:09:17 -05:00
Jimmy Berry
fa84030142
osclib/select: only check filter-from logic if argument was passed.
2018-10-29 16:00:09 -05:00
Jimmy Berry
5558473999
Merge pull request #1748 from jberry-suse/repo_checker-arch-filter-state-queries
...
repo_checker: filter repository state and published checks by relevant architectures.
2018-10-25 13:44:10 -05:00
Jimmy Berry
83688cf0ed
osclib/core: provide archs filter for repository state and published queries.
2018-10-24 17:50:19 -05:00
Jimmy Berry
4c8ade1a93
flake8: utilize raw strings to avoid invalid escape character warnings.
2018-10-24 16:34:16 -05:00
Stephan Kulow
14837b3657
Merge pull request #1738 from jberry-suse/staging-filter-from
...
osc-staging: select: replace --from with --filter-from.
2018-10-21 16:48:02 +02:00
Jimmy Berry
7d58952ad8
Merge pull request #1737 from jberry-suse/nonfree-config-staging-workflow
...
repo_checker: utilize 'staging' config option for instantiating StagingAPI (and related)
2018-10-19 09:43:23 -05:00
b184670d7c
Merge pull request #1736 from jberry-suse/nonfree-config
...
osclib/conf: include NonFree subproject in openSUSE patterns.
2018-10-19 16:59:06 +08:00
Jimmy Berry
ef9ff661bb
osc-staging: select: replace --from with --filter-from.
...
--from no longer serves a purpose since requests should never live in
more than one staging (apparent from linking).
2018-10-18 17:24:59 -05:00
Jimmy Berry
c74e40ba70
osclib/cycle: remove need for StagingApi instance in favor of apiurl.
2018-10-18 16:20:30 -05:00
Jimmy Berry
35594e5f05
osclib/conf: include NonFree subproject in openSUSE patterns.
...
Intentionally left outside of <project> group so that the NonFree
subproject still uses the main Staging subproject.
2018-10-18 15:55:41 -05:00
Jimmy Berry
8ec1e1777b
osclib/conf: remove Ports subprojects as they no longer exist.
2018-10-18 15:54:20 -05:00
Stephan Kulow
ff84b79171
We need the images repo published to have a status check
...
We can't generally assume ISOs can be fetched from backend (we can't
have this on IBS), so publish it - and disable the actual publishing
on the staging backend of OBS
2018-10-12 13:00:18 +02:00
Stephan Kulow
e6bf5ccb7b
Do no longer CC submitters in request comments
...
Submitters complain more and more about the spam they're getting from
staging projects - and we rather leave that weapon for actual feedback.
One especially annoying case is if a package is added to one staging project
and then later moved to another, the submitter will receive notifications
of all kind of bots and actions for both staging projects.
2018-10-04 09:52:49 +02:00
Stephan Kulow
c4fa49aef2
Refactor conditional_PUT as core function
...
Introduce source_file_ensure in osclib.core following review in #1717
2018-10-03 07:36:42 +02:00
Stephan Kulow
4539190af7
Optimize repository_state
...
The _result view checks way more things than we need, so just iterate
through the architectures of a repository and check the binaryversions
per arch. And combine the sha1sums to one sha1 per repository
2018-09-28 08:05:15 +02:00
Jimmy Berry
2deda1a5f1
Merge pull request #1710 from jberry-suse/osclib-core-repository-state
...
osclib/core: repository_state(): rework to utilize binarylist view.
2018-09-27 08:24:24 -05:00
Jimmy Berry
ea94191d21
Merge pull request #1688 from jberry-suse/kubernetes
...
[WIP] dist/kubernetes: provide basic ksonnet setup for heroes cluster including check-source and repo-checker modules
2018-09-26 17:27:55 -05:00
Jimmy Berry
73edfb8121
osclib/core: repository_state(): rework to utilize binarylist view.
...
For whatever reason the state hash only includes the overall publish states
and not the binaries within the repository. As such, rebuilding state
before a rebuild and after may be the same.
2018-09-26 17:11:45 -05:00
Jimmy Berry
1fc5232c5e
osclib/core: project_pseudometa_file_ensure(): correct comparison logic.
...
Previously, ends up comparing the wrong package, but saving to the correct
one. This ends up with extra blank commits. :(
2018-09-17 17:25:00 -05:00