Stephan Kulow
cf2c496116
Introduce --remove-exclusion for staging select
...
The API errors with that option if a request is ignored, so we have to
support it.
Fixes #2374
2022-02-14 13:59:42 +01:00
97b7d66ffd
Staging: add 'rebase' as an alias to the 'freeze' command
...
Fixes issue #1947
2021-06-30 13:53:07 +02:00
Stephan Kulow
040a9eeca7
Adopt help text for adi and accept
2019-12-06 14:32:25 +01:00
Stephan Kulow
840660c023
Fix setprio command to use current API
...
Fixes #2353
2019-12-04 15:36:45 +01:00
Stephan Kulow
2bfc87088d
Reuse function of accept to check local links
2019-11-24 20:04:42 +01:00
Stephan Kulow
b01b7d529a
Move accept logic into accept_command
2019-11-22 13:21:48 +01:00
Stephan Kulow
6bde37f839
Reenable Locking (was disabled to ease testing)
2019-11-21 16:04:59 +01:00
Stephan Kulow
529c5623a6
Remove nonfree handling
...
Prepare NonFree as onlyadi project, so it can have its own staging workflow
2019-11-21 14:49:29 +01:00
Stephan Kulow
25350bf095
Disable splitter info until we find a better place to store it
...
This leads to staging-bot preferring none strategy for all, but it
will pick stacks in free stagings, which is good enough
2019-11-20 17:05:45 +01:00
Stephan Kulow
16fb802361
Fix for unselect with message: need to ignore afterwards
...
You can't have requests excluded and staged at the same time
2019-11-19 18:17:26 +01:00
Stephan Kulow
2f5354b09d
Fix for unselect command
2019-11-19 08:04:11 +01:00
Stephan Kulow
9235ab50db
Remove config command - the config isn't used any more
...
The only use case left is displaying 'todo' config on accept - but staging managers
don't use this. So we may need a different solution later
2019-11-19 08:04:10 +01:00
Stephan Kulow
b43e9930ac
Port unselect command to new API
2019-11-19 08:04:10 +01:00
Stephan Kulow
f5df59bfdf
Adopt check command to the new staging API
2019-11-19 08:04:10 +01:00
9b7af72891
StagingAPI: complex delete requests are no longer used
...
* Simplify the 'accept' code
openSUSE:Factory/snapshot is newly setup as a Download on Demand repository
and we can thus safe ourselves the hassle of having to take extra care of
handling delete requests. They no longer bleed directly into the /snapshot
area and can now be accepted like any other request
* Drop vdelreq plugin
Since we no longer do a virtual accept of delete requests, we also don't
have to monitor their state anymore. Drop the plugin that served only
this usecase
* Drop the acheck command
As a consequence, the command 'staging acheck' serves no purpose anymore:
/totest was just there to ensure we have something to copy to /snapshot.
This entire repo will vanish, and it is thus no longer needed to verify
if it is in sync before accepting new data.
2019-10-17 15:37:44 +02:00
Jimmy Berry
5b91d6bc84
osc-staging,issue-diff: open temporary file in write without binary mode.
...
Otherwise, all write calls complain about passing a string instead of
binary data. Given the yaml dump and subsequent comments are all strings
it makes more sense to change file mode.
2019-10-08 15:21:22 -05:00
Jimmy Berry
c71949f12b
osc-staging: provide sentry_sdk integration.
2019-08-16 16:02:01 -05:00
Stephan Kulow
dc77a5f227
Remove --add from select command
...
Fixes #754
2019-06-03 16:54:30 +02:00
Stephan Kulow
595e84191e
More porting to python3
...
Travis changed default python to 3.6, which has impact on the way
flake8 checks. So make sure we run fine under flake8 of python 3
2019-04-20 21:16:50 +02:00
Jimmy Berry
5f0f3f498a
osc-staging: exclude NonFree requests from staging proposals.
...
- NonFree delete requests are never staged.
- NonFree submit requests are handled by adi command.
2019-03-28 09:54:24 -05:00
Jimmy Berry
7250d09b3d
osc-staging: handle None value for --filter-from.
2018-10-24 13:34:30 -05:00
Jimmy Berry
41dc359580
osc-staging: select: document --move and --filter-from options.
2018-10-18 17:25:06 -05: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
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
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
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
1fe03c16f0
osc-staging: update "config" documentation to point to OSRT:Config.
2018-08-17 23:19:28 -05:00
Jimmy Berry
536e17cb79
osclib/stagingapi: rename dashboard_content_* methods to pseudometa_file_*.
...
No need to be confusing and use the deprecated dashboard name.
2018-08-17 23:19:24 -05:00
Jimmy Berry
24b15d6b0b
Replace relevant 'dashboard' package references with pseudometa lookup.
...
Skipping some of the broader once which have no tangible impact, but are
expensive to change.
2018-08-17 23:18:32 -05:00
Jimmy Berry
55116d31b5
Merge pull request #1648 from jberry-suse/config-decouple-and-require
...
osclib/conf: decouple from StagingAPI and always fetch remote config.
2018-08-17 10:02:37 -05:00
Jimmy Berry
760ddf39e6
osclib/conf: decouple from StagingAPI and always fetch remote config.
...
As the remote config is no longer optional for SLE and is utilized by
openSUSE to the point were it is dangerous not to load the remote config
it should be required. Currently only certain users call apply_remote()
while this will make it built-in during construction and thus makes the
usage consistent and no longer require StagingAPI.
2018-08-16 21:53:40 -05:00
Jimmy Berry
a90bf0e07b
osc-staging: add documentation for setprio command.
2018-08-16 18:05:25 -05:00
Jimmy Berry
9c0eb82f51
osclib/prio: support non-important priority.
2018-08-16 18:05:20 -05:00
Stephan Kulow
ae97da90e5
Remove more of :DVD subproject handling
2018-07-05 20:43:07 +02:00
Stephan Kulow
af9ac0b01d
Read lock attribute from remote config
2018-06-15 11:40:02 +02:00
Jimmy Berry
b2c2fee6f5
osc-staging: select: reword documentation to include XML reference.
2018-02-06 23:05:51 -06:00
Jimmy Berry
bf13cc7a77
osc-staging: select: mention additional supplemented request values.
2018-02-06 23:04:49 -06:00
Jimmy Berry
73dc18de94
osc-staging: select: mention quick strategy in documentation.
2018-02-06 23:04:07 -06:00
Jimmy Berry
17508e4bc3
osc-staging: select: add filter-by example using hashtag in description.
2018-02-06 22:00:40 -06:00
Jimmy Berry
843cc016e0
osclib/accept: print todo from staging config after completion.
2018-01-25 11:08:47 -06:00
Jimmy Berry
664f3bbb90
Split EDITOR environment variable to handle flags in prefix.
2017-11-22 09:13:06 -06:00
d04bc4fce1
Import all dependencies
2017-10-20 01:01:17 +02:00
Jimmy Berry
f6ce6deb87
osc-staging: select -i: s/merged/mergeable/ in stat comment.
2017-10-16 16:22:36 -05:00
Jimmy Berry
96ac840646
osc-staging: select -i: include remaining requests in comment.
...
Useful for manually adding open requests to proposal.
2017-10-16 16:22:28 -05:00
Jimmy Berry
c0eaaf4268
osclib: provide ConfigCommand and expose via osc-staging.
2017-10-12 17:46:01 -05:00
Jimmy Berry
336a0e54ad
osclib/stagingapi: get_staging_projects(): provide include_dvd option.
2017-10-11 17:38:11 -05:00
Stephan Kulow
dfaf6d8b4c
Fix typo in bootstrap
2017-09-01 13:41:29 +02:00
Ludwig Nussel
dcba23666f
accept: call accept_other_new() for all projects instead of just openSUSE.
2017-08-25 09:21:55 +02:00
773ce3904b
Freeze Cmd: Implement freezing adi staging project
...
Since we have introduced the source project expand function in adi staging
project, a new function to freeze a adi staging project is needed as well.
2017-08-23 17:09:42 +08:00
Jimmy Berry
85dbc57f12
stagingapi: provide dashboard_content_{load,save,ensure}() and utilize.
2017-07-27 23:52:58 -05:00