2360 Commits

Author SHA1 Message Date
Jimmy Berry
71081a1256 osc-staging: --move and --from do not make sense with select proposal.
The proposals should never be generated with requests that are already
staged and as such should never be moved.
2017-03-14 00:46:00 -05:00
Jimmy Berry
4d3e218cc5 Merge pull request #723 from jberry-suse/devel-project-remind-fallback
devel-project: remind fallback
2017-03-10 13:49:09 -06:00
Jimmy Berry
df088b32bc devel-project: drop user list if no maintainers. 2017-03-10 13:24:00 -06:00
Jimmy Berry
32dba4ab62 devel-project: fallback to project if package has no maintainers. 2017-03-10 13:23:29 -06:00
Ludwig Nussel
35a401806f Merge pull request #718 from jberry-suse/devel-project-tool
Devel project tool: review reminders
2017-03-10 15:32:52 +01:00
Ludwig Nussel
95cfd9699f Merge pull request #720 from jberry-suse/unselect-ignore-requestfinder
ignore: integrate with unselect and use requestfinder
2017-03-10 15:16:22 +01:00
Ludwig Nussel
688e75bce0 Merge pull request #717 from jberry-suse/frozenage-all
osc-staging: allow frozenage to be invoked with no arguments.
2017-03-10 15:15:17 +01:00
Ludwig Nussel
0a3f07e8b7 Merge pull request #714 from jberry-suse/rebuild-command
osc-staging: provide rebuild command.
2017-03-10 15:15:04 +01:00
Ludwig Nussel
0bf2d43d48 Merge pull request #721 from nilxam/check_sub_fcc
Make sure sub-package is build successful in FCC too
2017-03-10 15:14:49 +01:00
Ludwig Nussel
81b144193e Merge pull request #722 from nilxam/expand_check_diff
Expand links in diff cmd POST
2017-03-10 15:14:21 +01:00
9198afd601 Expand links in diff cmd POST
Set expand:1 to expand links in case the target is a links.
Eg. comparing

iosc api -X POST /source/home:mlin7442:boo1026534/libqt5-qtdeclarative?cmd=diff&withissues=1&view=xml&oproject=SUSE:SLE-12-SP3:GA&opackage=libqt5-qtdeclarative&expand=1

and

iosc api -X POST /source/home:mlin7442:boo1026534/libqt5-qtdeclarative?cmd=diff&withissues=1&view=xml&oproject=SUSE:SLE-12-SP3:GA&opackage=libqt5-qtdeclarative

the change in .changes does not count actually. libqt5-qtdeclarative in
SUSE:SLE-12-SP3:GA is a link to libqt5-qtdeclarative.3900
2017-03-10 21:38:54 +08:00
62f50d267f Make sure sub-package is build successful in FCC too 2017-03-10 18:45:34 +08:00
Jimmy Berry
70a3d7074a osc-staging: extend --message to unselect which will ignore first. 2017-03-10 01:31:24 -06:00
Jimmy Berry
30441638e8 osc-staging: utilize RequestFinder in ignore command. 2017-03-10 01:31:15 -06:00
Jimmy Berry
1393c61c71 devel-project: provide --remind and --repeat-age options. 2017-03-10 00:29:22 -06:00
Jimmy Berry
47459ccb29 CommentAPI: provide comment_find() and add_marker() from ReviewBot. 2017-03-10 00:09:27 -06:00
Jimmy Berry
1e58ea8bbe devel-project: print age of request and filter via --min-age. 2017-03-09 23:56:14 -06:00
Jimmy Berry
ebc9543d7b devel-project: add reviews subcommand. 2017-03-09 23:41:32 -06:00
Jimmy Berry
bb9c77ab1b devel-project: add requests subcommand. 2017-03-09 23:41:16 -06:00
Jimmy Berry
74badbf075 devel-project: import http_GET and makeurl. 2017-03-09 23:40:41 -06:00
Jimmy Berry
d1c33026df devel-project: provide devel_projects_load(). 2017-03-09 23:40:31 -06:00
Jimmy Berry
98bf596937 devel-project: check if list changed before saving. 2017-03-09 18:17:06 -06:00
Jimmy Berry
2f59755ec6 devel-project: refactor structure to allow subcommands. 2017-03-09 18:15:31 -06:00
Jimmy Berry
cf8413b3ce devel-project: rename from devel-project-list. 2017-03-09 18:14:19 -06:00
Jimmy Berry
b01a19cd17 osc-staging: allow frozenage to be invoked with no arguments. 2017-03-09 16:11:26 -06:00
Jimmy Berry
13b7ae9d8a osc-staging: provide rebuild command.
Often packages will fail to build after becoming stuck or other false
negative cases and need to have a rebuild triggered. The process can be
tedious if several packages failed in various stages.
2017-03-08 16:17:31 -06:00
Ludwig Nussel
19a37c0553 Merge pull request #702 from jberry-suse/select-merge-and-strategies
Select automation: merge and strategies
2017-03-08 18:54:14 +01:00
5f0bfd1015 Merge pull request #712 from plusky/sdr
Add hardware:sdr to whitelist
2017-03-08 18:34:06 +01:00
Martin Pluskal
e8fcc31ad2
Add hardware:sdr to whitelist
See https://lists.opensuse.org/opensuse-factory/2017-03/msg00337.html
2017-03-08 10:47:25 +01:00
Ludwig Nussel
784c567685 Merge pull request #711 from jberry-suse/unlock
osc-staging: provide unlock to resolve stuck staging locks.
2017-03-08 10:37:54 +01:00
Jimmy Berry
9c55799fb1 osc-staging: provide unlock to resolve stuck staging locks. 2017-03-08 00:06:01 -06:00
BOT Admin
9acbc463df Add network:cluster:ohpc to whitelist 2017-03-07 19:01:52 +01:00
Ludwig Nussel
c3da597d30 Merge pull request #707 from jberry-suse/reviewbot-encoded-url
Reviewbot encoded URL fix (previously #687)
2017-03-07 17:43:27 +01:00
Jimmy Berry
d7c83bb9fb Merge pull request #706 from jberry-suse/extract-staging-short
stagingapi: extract_staging_short() correction for non-letter parse.
2017-03-06 16:15:57 -06:00
Jimmy Berry
e63081848e Merge pull request #705 from jberry-suse/ignore-none
osclib: wrap ignored request reason with str() to handle None.
2017-03-06 15:32:47 -06:00
Jimmy Berry
8054c0c35e ReviewBot: update factory_source and maintenance tests for encoding fix. 2017-03-03 15:31:51 -06:00
Stephan Kulow
f8e5662161 Do not craft encoded URL with a light heart 2017-03-03 15:16:59 -06:00
Jimmy Berry
7bc9010314 stagingapi: extract_staging_short() correction for non-letter parse. 2017-03-03 15:07:32 -06:00
Jimmy Berry
a6d7716eb0 osclib: wrap ignored request reason with str() to handle None. 2017-03-03 14:57:16 -06:00
Ludwig Nussel
a9fb871263 Merge pull request #704 from jberry-suse/unignore-cleanup
osc-staging: provide --cleanup option for unignore.
2017-03-03 16:46:59 +01:00
Jimmy Berry
c6b37d60ab osc-staging: provide --cleanup option for unignore. 2017-03-02 15:38:12 -06:00
Ludwig Nussel
9d322ee501 Merge pull request #694 from jberry-suse/leaper-automatic-submission-note
leaper: notify submit request authors of automatic submission.
2017-03-01 10:29:46 +01:00
41b79ddfc5 Merge pull request #701 from DimStar77/link-on-adiprj
Add a link to the dashboard of the respective adi project being created
2017-03-01 16:42:02 +08:00
Jimmy Berry
27a6772dce request_splitter: add strategy_do_non_bootstrapped().
Utilize in select command to fallback to none strategy and also excluded
packages that require bootstrapping.
2017-03-01 01:08:23 -06:00
Jimmy Berry
17147acb15 request_splitter: add @postponed concept.
This allows for high priority strategies that were unable to be staged
this round to be postponed until there is a staging available.
2017-03-01 01:08:23 -06:00
Jimmy Berry
ad4d93a5b4 request_splitter: rework internals to support merge and strategies.
- reworked internal representation of stagings to be more flexible
- new considerable staging state of mergeable based on set of conditions
- multiple proposal stages can be combined to create one proposal
- proposals may now fail to find every group a home without stopping
- splitter_info is stored when first request in an empty staging is staged
  to allow for automated merging into that staging
- strategy concept introduced along with several strategies
- strategy_try() concept for applying multiple strategies and keeping
  desirable groups which provides a solid basis for making smart decisions
- merge() introduced for merging new requests into existing stagings
- various internal cleanups along the way

functionality exposed via osc-staging:
- new options: --merge, --try-strategies, --strategy
- splitter info written when not merging

stagingapi: add set_splitter_info_in_prj_pseudometa().
2017-03-01 01:08:23 -06:00
Jimmy Berry
67d274e6eb request_splitter: extract is_staging_bootstrapped(). 2017-03-01 01:08:23 -06:00
Jimmy Berry
4d08331250 request_splitter: rework stagings_load() to be public facing.
Notify user and exit early if not stagings worth considering.
2017-03-01 01:08:23 -06:00
Jimmy Berry
3d3f0469a4 request_splitter: only supliment a request once. 2017-03-01 01:08:23 -06:00
Jimmy Berry
31ba1a1b7b osc-staging: select: correct documentation example missing bracket. 2017-03-01 01:08:23 -06:00