4f524b4d43
prepare 0.159 release
2017-07-19 00:48:15 +02:00
Marcus Huewe
24fa0ae9d5
Merge branch 'obs-build' of https://github.com/bluca/osc
...
On debian /usr/lib/build was renamed to /usr/lib/obs-build.
2017-07-08 14:27:14 +02:00
af5a38f4c8
Add compatibility with Debian's obs-build
...
In Debian and Ubuntu build is renamed to obs-build for disambiguation
purposes.
Add a simple check to use the correct paths if running on Debian and
use /usr/bin/obs-build and /usr/lib/obs-build if so.
2017-07-07 17:47:43 +01:00
Michael Schroeder
9ed700e930
Fix --set-container-derived-from option passing
...
We now use dir:// as with the repos. Also pass the option with
the "--option=value" form.
2017-07-03 13:34:35 +02:00
Marcus Huewe
ce783ecbda
Merge branch 'maintainer' of https://github.com/lnussel/osc
...
Add support to request maintainership for a group for a project.
2017-07-02 19:12:21 +02:00
Ludwig Nussel
c941a02c73
Allow requesting maintainership for group and project
...
Useful e.g. for factory-maintainers
2017-07-02 15:59:45 +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
Marcus Huewe
ffe68fd9f4
Check whether project_dir points to a project wc (in do_importsrcpkg)
...
If we abort early, the user gets a more meaningful error message.
Fixes : #301 ("Inconsistent working copy")
2017-06-29 14:11:27 +02:00
a8612f4ecc
Allow to cat/less files from deleted packages
2017-06-24 14:25:05 +02:00
Marcus Huewe
2f4792b56d
Merge branch 'man' of https://github.com/bmwiedemann/osc
...
Take SOURCE_DATE_EPOCH env variable into account when generating the
manpage (in order to support reproducible builds).
2017-06-18 17:51:52 +02:00
Bernhard M. Wiedemann
a472fcb522
Allow to override man-page date
...
to enable reproducible builds of osc packages
2017-06-17 17:40:42 +02:00
e4a51d91eb
Update NEWS file
2017-06-14 10:55:14 +02:00
Marcus Huewe
d8ba39416b
Merge branch 'pass_build_flavor' of https://github.com/lethliel/osc
...
Pass --buildflavor option to the "build" script, if the --multibuild-package
option was specified.
2017-05-31 22:10:54 +02:00
Marco Strigl
fcef29131c
pass --buildflavor to build script
2017-05-31 07:00:46 +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
Marcus Huewe
e809cc8ef1
Merge branch 'fixparam' of https://github.com/bmwiedemann/osc
...
Fixes metvars in some help texts.
2017-05-17 23:43:14 +02:00
Marcus Huewe
900ee88bfa
Fix "osc results --xml..."
...
For now, "osc results --xml..." ignores the "--show-excluded" option
(that's what we did in the past).
Fixes: PR#297 ("results --xml causes a stack trace")
2017-05-17 23:35:07 +02:00
Michael Schroeder
2b7cef3b33
Prepare for md5sum checking of containers
...
We do not want to use an old container if a new version is built
on the server. They don't have a rebuild count or something like
that (yet).
2017-05-17 11:20:03 +02:00
Michael Schroeder
7dae421d77
Support derived images for kiwi docker builds
...
Kiwi currently rejects the --set-container-derived-from option,
but this will hopefully change.
2017-05-16 14:02:37 +02:00
Michael Schroeder
8bffeb70e5
Support docker builds
2017-05-16 11:14:52 +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
Marcus Huewe
d5393481cb
Merge branch 'buildopt' of https://github.com/bmwiedemann/osc
...
Adds a "--build-opt" option to "osc build" in order to pass
arbitrary options to the build script.
2017-04-26 00:24:48 +02:00
efbd032da9
fix wipebinaries
...
don't do a second wipe all after doing the intended wipe by a filter.
Eg: osc wipebinaries home:adrianSuSE -r standard -a i586 --build-disabled
wiped first --build-disabled only, but did a second wipe all afterwards
2017-04-24 16:35:15 +02:00
Bernhard M. Wiedemann
f4771ce67a
allow to pass any option to the build command
...
so that we do not have to patch osc for every parameter added to build
e.g. "--vm-custom-opt" in my case
similar in nature to gcc'c -Wl, option
2017-04-19 15:33:08 +02:00
Bernhard M. Wiedemann
eb25d6dfce
use proper placeholder strings in help text
2017-04-19 15:27:23 +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
a059629e74
Fix inconsistency of request/review list -U vs -G
...
"osc review/request list" using -G did added the local project as target
project filter unlike -U. (If local work dir is a check out)
2017-04-18 09:12:48 +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
Marcus Huewe
6965dc5cd4
Adjust request testcases to the upcoming Request api change
...
There is no need to compute the request creator, because it is
stored in the request xml. Moreover, the old computation yields
a wrong result (see issue #286 ).
2017-04-12 12:55:16 +02:00
Marcus Huewe
a271a33a53
Merge branch 'fix_issue_#236' of https://github.com/lethliel/osc
...
Fixes --no-cleanup in combination with --separate-requests
2017-04-11 12:41:24 +02:00
Marco Strigl
2e76f91980
fixes issue #236
2017-04-11 11:38:47 +02:00
Marcus Huewe
61abb07f9d
Merge branch 'filter_excluded_results' of https://github.com/lethliel/osc
...
Do not show "excluded" results by default (the old behavior can be
restored by passing the "--show-excluded" option to "osc results").
2017-04-07 12:33:54 +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
Marcus Huewe
3397acc756
Try to autodetect a local package when running "osc build"
...
Note that this detection might fail... in the this case osc will
eventually error out and suggest to rerun with "--local-package".
2017-03-31 15:51:08 +02:00
Marcus Huewe
7a4f7b0b9d
Fix typo in "service runall" docs and list the "service runall" command
2017-03-31 10:34:52 +02:00
Marcus Huewe
ae591a82fc
Document deprecated "service disabledrun" and "service localrun" commands
...
Fixes : #282 ("service disabledrun is not documented")
2017-03-31 10:32:55 +02:00