226 Commits

Author SHA1 Message Date
b0730b0b5e Fix and document more dynamic fields in Request. 2014-06-23 11:04:19 +02:00
a2d6c19377 Fix call to change_review_state 2014-06-23 11:04:19 +02:00
eb7d775ed4 Fix variable result 2014-06-23 11:04:19 +02:00
a2555f9b27 Moving more parts. 2014-06-23 11:04:19 +02:00
Stephan Kulow
21ac9cce7c ignore packages already in :DVD 2014-06-18 21:52:08 +02:00
Stephan Kulow
a28c7977e1 random fixes for totest 2014-06-18 08:48:41 +02:00
Stephan Kulow
9579595e72 remove sub packages on unselect
http://pastebin/10224
2014-06-17 13:57:19 +02:00
Stephan Kulow
65375ed945 create sub packages in 2nd ring
https://progress.opensuse.org/issues/1523
2014-06-17 13:49:15 +02:00
Ancor Gonzalez Sosa
84193d62e8 Nicer comments (using the improved OBS markup) for (un)select 2014-06-17 11:39:59 +02:00
Ancor Gonzalez Sosa
c7774d8b8b AcceptCommand only adds one comment
Added tests for AcceptCommand with a new Staging:C fixture.
2014-06-16 17:15:24 +02:00
a67e1a392f Fix bug when groups are created. 2014-06-13 16:11:15 +02:00
550e98d6c2 Refactor of check_one_request into checkrepo module. 2014-06-12 18:26:09 +02:00
4ad50e1aba Improve error message. 2014-06-06 16:23:33 +02:00
7ce107a28d A missing XML is marked with an empty string. 2014-06-06 16:23:33 +02:00
Stephan Kulow
bd71eb13ac output links directly 2014-06-06 07:35:41 +02:00
a5c4d1d4b6 Move out memoized functions. 2014-06-05 17:46:38 +02:00
17a7140ab0 Fix a bug in the yield value. 2014-06-05 17:46:38 +02:00
Stephan Kulow
546d85f720 retried_POST should stop for 504 2014-06-05 10:27:51 +02:00
Ancor Gonzalez Sosa
ca14eda41e Display requests as markdown lists in the comments 2014-06-05 07:35:12 +02:00
Stephan Kulow
48c67c6a4f fix new packages 2014-06-05 05:40:36 +02:00
Stephan Kulow
0749bc8fc0 Merge pull request #156 from aplanas/master
More idempotent refactor and fix for action #2460
2014-06-04 19:14:12 +02:00
Ancor Gonzalez Sosa
af8a8341c5 Use markdown comments to hide the mark on generated OBS comments 2014-06-04 18:34:08 +02:00
Ancor Gonzalez Sosa
a77a395712 Small optimizations in the new code 2014-06-04 18:15:33 +02:00
Ancor Gonzalez Sosa
0f4562fc7e Save some eye bleeding to pythonists 2014-06-04 18:03:18 +02:00
ba2ad077b9 Give some love to the code. 2014-06-04 16:56:56 +02:00
Ancor Gonzalez Sosa
507e50d633 Write only one comment per action
* For every 'select' or 'unselect' a single comment is written in
   every affected project
 * Previous automatic comments are deleted (as a first approach)
 * For more info, see https://progress.opensuse.org/issues/2564
2014-06-04 16:54:21 +02:00
b5f37a52ed action #2460 - Fix OBS mockup to behave as OBS when wrong URL 2014-06-04 16:33:55 +02:00
209dc8f961 Move pending_requests and get_request. 2014-06-04 16:33:55 +02:00
6ff892fdf2 Move change_review_state. 2014-06-04 16:33:55 +02:00
4e8173179b Return only cycles. 2014-06-04 11:04:37 +02:00
e96f85dc38 More refactoring:
- Extract all the graph and cycle logic.
- Extract memoize.
- Start with CheckRepo.
2014-06-04 11:04:37 +02:00
cb74d62875 Add empty line. 2014-06-04 11:04:36 +02:00
5ffce7895e Move Graph into osclib. 2014-06-04 11:04:36 +02:00
Stephan Kulow
5623e32050 fix the previous change 2014-06-03 11:30:47 +02:00
Stephan Kulow
6fd8ea9646 trying to make the totest manager more robust
OBS throws a lot of 503 and 504 - and we have to keep trying ;(
2014-06-03 10:27:13 +02:00
Stephan Kulow
454828d252 accept other new requests after accepting staging prjs 2014-06-01 19:51:18 +02:00
Stephan Kulow
d31970ff5b also build disable 2nd ring staging 2014-05-27 18:32:51 +02:00
Stephan Kulow
0c8eca45f0 remove debug output 2014-05-27 18:26:44 +02:00
Alberto Planas
c9ec1b0282 Merge pull request #146 from openSUSE/coolo_totest
for python reviewer joy
2014-05-27 15:50:00 +02:00
Stephan Kulow
11cf1a44e5 implement generic function to manipulate prj flags
https://progress.opensuse.org/issues/2556
2014-05-27 15:38:51 +02:00
Alberto Planas
3f34e00621 Merge pull request #145 from nilxam/improve_comments
replace type of request id from plain text to hyperlink
2014-05-26 13:46:20 +02:00
a3b4b44193 also be a hyperlink for move command 2014-05-26 19:12:29 +08:00
2066951053 replace type of request id from plain text to hyperlink 2014-05-26 18:57:56 +08:00
Stephan Kulow
bef2b1bdae fix iterating over comments 2014-05-26 10:32:09 +02:00
Stephan Kulow
94f08697d4 fix issues pointed out by alberto 2014-05-23 11:51:51 +02:00
Stephan Kulow
d0a620cb7d make sure we delete comment childrens first then parents
Otherwise OBS will leave them as "this was deleted"
2014-05-23 11:20:37 +02:00
29a74d9a33 Adjust markdown text. 2014-05-20 17:15:28 +02:00
7f9207f26c Group comments by user and operation in the select command. 2014-05-20 17:05:41 +02:00
e89a564b45 Avoid comments in unselect operation. 2014-05-20 15:10:23 +02:00
f7058390cd Replace with [at] and fix the select comment. 2014-05-20 15:08:21 +02:00