Marcus Huewe
e0bce5652a
Merge branch 'show_comments_in_reviews' of https://github.com/lethliel/osc
...
Show the comments of a request during interactive review.
2017-08-25 13:23:17 +02:00
marco
7804a8c577
show user comments in interactive mode
2017-08-25 11:51:55 +02:00
Marcus Huewe
1c21c67659
Do not ignore --type parameter in "osc review list --type..."
...
There is no reason why we should ignore the --type parameter in this
case.
2017-08-24 12:01:56 +02:00
marco
10e6619250
renamed get_group to get_group_meta.
2017-08-21 10:37:07 +02:00
Marcus Huewe
8746ea7ee3
Merge branch 'meta_group' of https://github.com/lethliel/osc
...
Add "group" subcommand to "osc meta".
2017-08-18 15:42:27 +02:00
marco
a261c73cce
add meta group function to edit / show group meta
2017-08-18 15:32:27 +02:00
Marcus Huewe
902b48fd86
Add withfullhistory parameter to core.get_request_list
...
If withfullhistory is set to True (default: False), the returned
request collection contains full history information.
Requested by vpereira
2017-08-17 16:48:02 +02:00
Marcus Huewe
d401eb2c69
Add queries keyword argument to core.search
...
queries is a dict of optional http query parameters, which are passed
to the makeurl call.
2017-08-17 16:47:05 +02:00
Bernhard M. Wiedemann
3dcd359eeb
Check digest of modified files
...
this reverts a semantic change introduced by commit
48a35fed91
that caused files with updated timestamps to always be in "M" state.
2017-08-17 04:32:08 +00:00
Marcus Huewe
48a35fed91
Add config option for the Package.status mtime heuristic
...
By default, the "status_mtime_heuristic" config option is disabled.
2017-08-15 13:31:10 +02:00
Bernhard M. Wiedemann
47834b3279
allow to get old status behaviour back
2017-08-12 22:10:41 +02:00
Bernhard M. Wiedemann
f1f6e9501d
speedup osc status
...
by using mtime metadata
before checking digests.
This slightly changes the semantic by assuming that modified files
will always have updated timestamps.
With this change it is possible to do osc status
on a checkout of openSUSE:Factory that contains 40GB of source tarballs
in seconds instead of minutes:
time .../osc/osc-wrapper.py status > /dev/null
real 0m33.652s
user 0m32.590s
sys 0m1.060s
Without the patch it took 22x as long:
real 12m14.545s
user 1m50.084s
sys 0m20.566s
2017-08-12 22:07:25 +02:00
Bernhard M. Wiedemann
461d83d722
cleanup status code
...
to only call os.path.join once
2017-08-12 22:07:25 +02:00
Marcus Huewe
d34e0ace77
Also consider the project name in findpacs
...
Otherwise, we could merge two packages that belong to different projects.
Actually, we should also check the apiurls...
2017-08-04 14:51:34 +02:00
Marcus Huewe
8f68626735
Support the commit of a deleted, but non-existent package
...
That is, a package which has state 'D', but its package working
copy does not exist anymore.
2017-08-04 14:02:56 +02:00
49e8d10594
open development for 0.160
2017-07-19 00:50:31 +02:00
4f524b4d43
prepare 0.159 release
2017-07-19 00:48:15 +02:00
Marcus Huewe
c9dfe03a46
Use the correct path in core.createPackageDir
...
The old implementation only worked, if cwd was a project working
copy (even in this case, it may did the wrong thing...).
2017-06-29 14:20:58 +02:00
a8612f4ecc
Allow to cat/less files from deleted packages
2017-06-24 14:25:05 +02:00
Marcus Huewe
5d480fd370
Merge branch 'rdiff_issues_only' of https://github.com/lethliel/osc
...
Add --issues-only option to the rdiff command.
2017-05-28 19:23:34 +02:00
Marcus Huewe
23a6b4cfe9
Remove superfluous "pass" statements in edit_text
2017-05-28 19:01:50 +02:00
Marcus Huewe
9614cea39b
Merge branch 'fix_#175' of https://github.com/lethliel/osc
...
Only accept valid user inputs.
2017-05-28 18:58:15 +02:00
67d1b50461
"osc buildhistory": show build duration
2017-05-22 12:42:51 +02:00
Marco Strigl
c19fb0e057
fixes issue #175 / invalid input at prompt
2017-05-18 11:13:44 +02:00
Marco Strigl
fa5c97971e
added switch to show only issues in rdiff
2017-05-11 09:22:42 +02:00
Marco Strigl
bea940c02d
open 0.159 development
2017-05-10 16:50:23 +02:00
Marcus Huewe
7d3f8cd255
Only serialize "creator" attribute if it is neither None nor the empty string
...
Follow-up fix for commit eed18c6
. Storing an empty creator attribute may lead
to validation errors etc. (see also PR#295).
2017-05-08 21:41:29 +02:00
Marco Strigl
320ff1bd41
release 0.158
2017-05-08 13:30:48 +02:00
Marcus Huewe
eed18c6a2e
Initialize Request.creator with the empty string instead of None
...
Old obs versions have no creator attribute. In this case, string
formatting operations will fail if the "creator" attribute is
initialized with None (affects some codepaths).
An alternative would be to officially resurrect the deprecated
"Request.get_creator" method, which could return something like
"unknown" if no creator information is present.
This is a follow-up fix for the commits d68507f
and 7d54b5c
.
2017-05-04 20:49:35 +02:00
7d54b5c685
Fixing request handling for OBS < 2.8
...
request creator is only delivered by OBS 2.8 and newer. Makeing this not a hard
condition therefor. (introduced in d68507fa95
)
Also fixes test suite failure
2017-04-18 09:41:44 +02:00
Marcus Huewe
c96928ce9a
Avoid (useless) info message during interactive review
...
It is perfectly fine, if a request has no src actions (the
wording of the old message could be interpreted as an error...).
2017-04-12 17:16:09 +02:00
Marcus Huewe
164435dcb9
Readd Request.get_creator method (for backward compatibility)
...
Request.get_creator is used by some factory bots (see comment
in issue #286 ).
Note: Request.get_creator is deprecated and the "creator" attribute
should be used instead.
2017-04-12 14:24:04 +02:00
Marcus Huewe
20e7a132ab
Cosmetic: use "... is not None" instead of "not ... is None"
2017-04-12 13:03:16 +02:00
Marcus Huewe
d68507fa95
Drop Request.get_creator method in favor of a new "creator" attribute
...
This implements the Request api change that was proposed in commit
6965dc5
("Adjust request testcases to the upcoming Request api
change").
Fixes : #286 ("get_creator() does not return request creator")
2017-04-12 12:58:23 +02:00
Marco Strigl
055f577c6b
filter excluded repos for package by default
2017-04-07 11:13:20 +02:00
Marcus Huewe
b0b4cb9ed8
Merge branch 'comment_interactive_req' of https://github.com/lethliel/osc
...
Add support for creating comments during interactive review.
2017-04-07 09:36:04 +02:00
Marco Strigl
6a6a5686df
requests can now be commented in interactive mode
2017-04-07 09:09:33 +02:00
0d941e8766
show package status when repository configuration is broken
...
it was just dropped before due to lack of status element for the package
2017-04-07 08:50:57 +02:00
Marco Strigl
678c79224c
added --blame switch to osc meta command
2017-03-22 08:32:05 +01:00
Marco Strigl
30b5af2d86
open 0.158 development
2017-03-21 14:31:06 +01:00
Marco Strigl
3df1724235
release 0.157.2
2017-03-21 13:33:10 +01:00
Marcus Huewe
45e27c01af
Correctly update a conflict file ('C') that is going to be deleted
...
Deleting a conflict file (state 'C') during an update operation results
in an inconsistent working copy. To fix this, we remove the conflict
file from the _in_conflict list.
2017-03-20 19:20:59 +01:00
340a72ee83
never take releasename blindly (eg. on linkpac). It needs to be set
...
explicit
2017-03-20 16:05:39 +01:00
Marcus Huewe
8bb903f41c
Make error handling in attribute_branch_pkg more robust
2017-03-14 22:50:48 +01:00
Marcus Huewe
9d0725b2d4
Fix local service run for non-existent (server-side) package
...
If a package does not exist on the server, the
Serviceinfo.getProjectGlobalServices call results in a 404. In this
case, we try it again with the _project package (note: this does not
take potential "linked" services into account, if the local package
is a _link).
Fixes : #277 ("404 on running service for non commited package")
2017-03-10 11:08:31 +01:00
Marco Strigl
e94c9cc280
multibuild compatibility mode for old apis
2017-03-09 14:55:30 +01:00
Marco Strigl
8f6e292637
reopen 0.158 development
2017-03-09 10:51:35 +01:00
Marco Strigl
ba9b3d8dab
release 0.157.1
2017-03-08 13:10:35 +01:00
Marco Strigl
1cde520db5
open 0.158 development
2017-03-08 10:17:25 +01:00
Marco Strigl
7f428cccdf
release 0.157.0
2017-03-08 09:25:02 +01:00