1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00
Commit Graph

1099 Commits

Author SHA1 Message Date
b8faeeddb4 - fix build on ppc/s390/ia64 (bnc#815296) 2013-04-16 09:04:34 +02:00
Marcus Huewe
9e6e76c712 - do_localbuild: made "arch" argument optional 2013-03-25 20:28:27 +01:00
Marcus Huewe
03b8cba2af - fixed bnc#807621
Bug summary: "osc: when forwarding a request, previous request is
not superseded automatically"
2013-03-08 19:06:04 +01:00
Marcus Huewe
93df866787 - added new function core.run_external which can be used to execute an external program
Basically it's just a wrapper around subprocess.call which raises an ExtRuntimeError
exception if subprocess.call raised an OSError with errno set to ENOENT (unfortunately
the OSError's filename attribute is set to None therefore we cannot print a meaningful
error message (that's why an ExtRuntimeError is raised)).
Replaced all occurrences of subprocess.call with a corresponding run_external call.
2013-03-08 00:56:57 +01:00
6d7de62755 - explain the "osc maintainer" command a bit more extensive 2013-03-06 11:49:54 +01:00
Marcus Huewe
b228fc3c98 - do_service: fixed typo in command description
Thanks to Richard Bos <rbos@opensuse.org> for spotting this.
2013-03-02 15:27:20 +01:00
6e42a61076 - add a accept-or-revoke function for requests. useful for mass automatisation of processing stuck requests. 2013-02-28 10:32:29 +01:00
Marcus Huewe
45e49905ce - do_mv: minor cosmetic changes 2013-02-28 00:30:05 +01:00
Bogdano Arendartchuk
1d3805f30e Allow using directories as mv targets
Otherwise osc would crash because the target directory would be in use (in
case of ".".)
2013-02-27 18:40:59 -03:00
e5189178a1 - create multiple-submit requests with revision numbers 2013-02-25 15:22:00 +01:00
3e88c3ce32 - fallback to set_bugowner request when writing to specified container is not permitted 2013-02-21 12:10:02 +01:00
14f6986331 - use server side default when searching the container for setting a bugowner. 2013-02-21 07:26:59 +01:00
220ec0e2cf "maintainer --user" support to search for all official maintained instance for given user or group 2013-02-20 11:41:29 +01:00
Marcus Huewe
f0d1acf8d4 - removed debug output 2013-02-14 15:39:57 +01:00
Marcus Huewe
920028524b - fixed UnboundLocalError when creating a submitrequest from a project wc
The error occured if no target project was specified by the user.
2013-02-14 15:36:04 +01:00
55ee5763b0 - abort on "search --maintained". Do not redirect to the new command automatically, since it has a different logic 2013-02-14 11:32:27 +01:00
Michal Vyskocil
a69d10616a osc build on remote --host
The new argument for osc build --host will perform the build on a remote
host. It is a shortcut for

rsync -az -e ssh `pwd` user@hostname:/remote/dir
rsync -az -e ssh prefer-dir \
user@hotname:/remote/dir/__prefer-rpms__/prefer-dir
ssh -t user@hostname "cd /remote/dir/package; osc build *build-args"
rsync -az -e ssh user@hostname:/remote/dir/__keep-pkgs__ keep-pkgs

iow it copy the current directory to the /remote/directory on hostname
(if not specified, the ~/ is supplied) and then run the osc build on
hostname. All global and local arguments are supplied to the remote osc
build, but arguments points to local path (--host, --keep-pkgs, --prefer-pkgs,
--rsync-dest, --rsync-src and --overlay) are modified to match to remote
host.

It support the OSC_ variables, so running with
OSC_BUILD_ROOT=/somewhere osc build --host ... will push the variable to
the remove osc process
2013-02-12 15:08:20 +01:00
d26b3df32f - handle architecture parsing also right when an emulator is used. Just warn in that case,
because we can check for sure if an emulator is configured.
2013-02-11 15:35:15 +01:00
Marcus Huewe
7d46c5f879 - do_chroot: fixed suargs handling (patch by Olaf Hering <olaf@aepfle.de>) 2013-02-07 15:50:53 +01:00
143af44479 - support --target argument for "osc build" 2013-02-06 17:12:52 +01:00
Andreas Schwab
b07891879b _submit_request: add missing newline before diff 2013-02-05 11:13:07 +01:00
8097a9550d - fix local build with emulator support.
- fix package signing check (skip always for use inside of secure VMs)
2013-02-03 19:08:38 +01:00
Andreas Schwab
8f38f33228 do_submitrequest: missing newline before diff in message 2013-02-01 12:21:52 +01:00
Andreas Schwab
7ef8bee0b8 osc diff: use pager also for local diff 2013-02-01 12:21:33 +01:00
Markus Lehtonen
68670a7a83 Fix %(apihost)s in "build-root" option for osc chroot
Prevents a crash in osc chroot when %(apihost)s is defined in the
"build-root" config option.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-02-01 12:18:29 +01:00
4e0fb4cbeb submitrequest: old not anymore used maintenance code got removed. It is possible now
to create one request to submit all changed packages of an project in
               one request. Just run "osc sr" in the checked out project directory.
2013-01-31 16:03:16 +01:00
Adam Spiers
57c8cffe66 - add prdiff subcommand and test suite 2013-01-18 22:38:21 +00:00
Marcus Huewe
afa1911798 do_prjresults: support --xml option
"prjresults --xml..." simply prints the raw xml which it receives
from the api.
2013-01-18 16:56:13 +01:00
Marcus Huewe
cfed92103a - do_maintainer: support "osc maintainer prj/pkg" syntax 2013-01-08 22:32:27 +01:00
Marcus Huewe
737bac561b - added support to strip the build time from the buildlog when running "bl", "rbl", "lbl"
Also added a config option "buildlog_strip_time" to permanently enable/disable the
stripping of the build time.
2012-12-15 01:50:24 +01:00
bfa108810a add support to remove repositories recursively (mostly only usefull for admins) 2012-12-06 14:07:02 +01:00
613e2b5176 - buildinfo --debug option for verbose output of dependency calculation 2012-12-04 16:44:14 +01:00
e0020e3072 - support to set the bugowner
- offer to send set_bugowner request if target is not writeable
- bugowner call is just an alias for maintainer call now
2012-11-23 12:52:05 +01:00
8d8d72a21f - support default maintainer/bugowner search based on binary package names 2012-11-22 11:37:32 +01:00
7353cf99d7 support single binary download via getbinaries command 2012-11-19 10:21:24 +01:00
52e27750e4 - add support for delete requests. 2012-11-13 13:20:09 +01:00
Marcus Huewe
1fe51dc482 - do_repairlink: support "osc repairlink prj/pkg" syntax 2012-11-01 20:02:14 +01:00
Marcus Huewe
b8dedd3f8f - request_interactive_review: support "-f" parameter to force a request state change 2012-10-26 15:19:00 +02:00
Marcus Huewe
6c5806c21e - parse_repoarchdescr: also glob for a PKGBUILD file
There's no guessing for arch's PKGBUILD files (the backend
does not do any guessing, too)
2012-10-19 13:44:26 +02:00
Marcus Huewe
a82a1d7fa3 - parse_repoarchdescr: there's no need to use os.path.basename 2012-10-19 13:41:44 +02:00
15b27b7ff1 - add osc mr --cleanup option 2012-10-10 15:55:10 +02:00
Marcus Huewe
a8d26db675 Merge branch 'master' of github.com:openSUSE/osc 2012-09-20 01:20:23 +02:00
Marcus Huewe
dd48ee4730 - fixed bug #10 ("Traceback of an error in an exception handler")
Changed behaviour of "osc mv". Now it is also possible to move files
between different packages, that is "osc mv pkg1/foo pkg2/bar".
2012-09-20 01:18:38 +02:00
eef243f6be Update help text 2012-09-10 13:49:21 +02:00
4b44e7470b update default list of request states
Hi,

"declined" was some time ago changed to be considered an "open" request state.

the default behavior of "osc rq list" is IMHO to show open requests (requests
in state new or review), so I'm attaching a patch that adds "declined" as
well.

Tia,
Dirk

From 73fd10a2203be8e9dc215106648b2d9686d8fdc5 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.com>
Date: Mon, 10 Sep 2012 10:40:48 +0200
Subject: [PATCH] add 'declined' to list of default states for rq list

osc rq list should show all currently "open" requests. "declined"
is an open request state, so it should be included by default.
2012-09-10 11:29:16 +02:00
Ludwig Nussel
a0cad9f88d display source packgae name when searching for binaries 2012-07-03 14:16:40 +02:00
bd9d628ccc - and escape correctly 2012-06-30 11:23:43 +02:00
52014ba11e - fix creator name in forwarded requests 2012-06-30 11:20:12 +02:00
68b59f29a1 - do not forward submit requests which do link to original request target anyway 2012-06-29 10:57:29 +02:00
d6aed9858d - default to forward submit requests 2012-06-27 10:34:20 +02:00