1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 22:56:15 +01:00
Commit Graph

2257 Commits

Author SHA1 Message Date
Marcus Huewe
5e0ef46aed - fixed issue #28 ("calling with -H option causes traceback") 2013-05-02 14:55:31 +02:00
90d51da3d2 - add --message option for creating set_bugowner requests 2013-05-02 11:38:53 +02:00
71c40acc51 - fix using --set-bugowner-request on explicit specified containers 2013-05-02 11:08:27 +02:00
69e6e586c7 - fix print syntax 2013-05-02 11:05:48 +02:00
ce998fbc29 - fix spelling typo 2013-05-02 10:57:15 +02:00
a8f14bed60 - allow to set bugowner/maintainership for a given binary 2013-05-02 10:50:05 +02:00
Marcus Huewe
cdc1245960 - pass a str to exec() instead of an open file object
An open file object isn't supported anymore by python3.
This fixes issue #26.
2013-04-30 17:44:38 +02:00
Marcus Huewe
0c0ffe50fb - Serviceinfo.execute: always cleanup (remove) tmpdir
This fixes issue #24.
2013-04-26 20:44:53 +02:00
9595aa9f09 - show also groups in maintainer/bugowner search 2013-04-22 17:09:33 +02:00
Marcus Huewe
a8def0f433 - build: fixed typo (patch by darix)
typo was introduced in commit d3648be24b
2013-04-22 16:26:31 +02:00
Marcus Huewe
51e6fca88f - fetch: check if errno == 14 before accessing the URLGrabError's code attribute
Unfortunately the class URLGrabError does not define constants for the
different error codes therefore we have to hardcode the errno (alternatively
we can define them in our fetch module).
2013-04-22 15:54:55 +02:00
Marcus Huewe
5a8baf9b88 - util.ar: do not import StringIO from the cStringIO module
The class ArFile inherits from StringIO but StringIO from cStringIO
is just a function (this got broken by commit 87d354e1a0).
2013-04-22 09:24:48 +02:00
Marcus Huewe
439dafbdc5 - ServiceInfo.execute: fixed NameError 2013-04-22 09:17:38 +02:00
Marcus Huewe
d28cddfede - use a buffer instead of a memoryview if python version < 2.7
(forgot to remove this code in commit 034d2e4746)
2013-04-18 15:04:58 +02:00
Marcus Huewe
034d2e4746 - http_request: do not use a memoryview for python27
python27's mmap does not behave like a bytearray therefore we
cannot directly pass it to the memoryview.
2013-04-18 14:19:45 +02:00
2b06180efa - anotehr python3 syntax fix 2013-04-16 15:57:30 +02:00
Michal Vyskocil
1cd12ac566 python3 compatibility: fix a man page generation
Fixes a fail on a building of a documentation
http://lists.opensuse.org/opensuse-buildservice/2013-04/msg00099.html
2013-04-16 15:51:14 +02:00
e1291fdcc6 - fix the general architecture detection for incomplete "osc build" lines 2013-04-16 15:42:37 +02:00
b99233e3ae - hostarch is an array :/ 2013-04-16 15:24:28 +02:00
ce04f8b9bb - fix syntax to satisfy testsuite 2013-04-16 11:01:56 +02:00
Michal Vyskocil
b787ca2b39 python3 compatibility: make all unit test pass
There are many places can't be covered by 2to3, especially the
str/unicode -> str/bytes change done in python3. This is a big patch
incorporating all changes made in order to make python3 suite.py run
without any single failure.

It

 * adapt the introspect_handler_3 for case there are no __defaults__
 * adds the ET_ENCODING variable for ET.fromstring ("unicode" in py3,
  "utf-8" in py2)
 * (re)adds various builtins to both python versions
    - memoryview to python 2.6
    - bytes compatible with py3 to 2.6 and 2.7

and it changes few parts of tests/common.py in order to be compatible
with python3

 * new urlcompare method compares all components or url + parsed query
   string in a dictionary, so the ordering, neither quoting does not matter
 * bytes builtin has been added to 2.x and used in assertEqualMultiline
2013-04-16 10:51:42 +02:00
Michal Vyskocil
f0186dbde8 python3 compatibility: fix all tests 2013-04-16 10:51:42 +02:00
Michal Vyskocil
419367fca3 python3 compatibility: urllib
fixes all renames in urllib, urllib2, urlparse modules in python3
2013-04-16 10:51:42 +02:00
Michal Vyskocil
f6edc186c2 python3 compatibility: unicode
reintroduce unicode function - despite the fact I am pretty sure the
usage is plain wrong, because code says - return a unicode string from
utf-8 encoded one, which is probably not what was intended. I bet
something like encode the input as utf-8 was wanted.
2013-04-16 10:51:42 +02:00
Michal Vyskocil
5cc72902e0 python3 compatibility: raw_input
raw_input has been removed and equals to input in py3. Unfortunatelly no
__future__ statement exists for that. Ensure all modules uses
osc.core.raw_input except osc.cmdln, where there is NameError way
implemented.
2013-04-16 10:51:41 +02:00
Michal Vyskocil
b534ae0a6a python3 compatibility: raise
support for old style exceptions has been removed from python3
2013-04-16 10:51:41 +02:00
Michal Vyskocil
7f2031558c python3 compatibility: print function
The most visible change in python3 - removal of print statement and all
the crufty
   print >> sys.stderr, foo,

The from __future__ import print_function makes it available in python
2.6
2013-04-16 10:51:41 +02:00
Michal Vyskocil
0dcbddbafe python3 compatibility: new syntax for literals
The octal literals got a new syntax 0755 -> 0o755
2013-04-16 10:51:18 +02:00
Michal Vyskocil
87d354e1a0 python3 compatibility: import proper modules
Some modules (httplib, StringIO, ...) were renamed in python3. This
patch try to import the proper symbols from python3 and then fallback to
python2 in a case ImportError will appear.

There is one exception, python 2.7 got the io module with StringIO, but
it allow unicode arguments only. Therefor the old module is poked before
new one.
2013-04-16 10:51:18 +02:00
Michal Vyskocil
c612e8d47e python3 compatibility: use relative imports
Use relative imports when using module's own modules - this makes a
clear distinction between already developed copy and installed package.
2013-04-16 10:51:18 +02:00
Michal Vyskocil
f814fe4af4 python3 compatibility: idioms
more idiomatic code - changes

  * type(foo) == bar to isinstance(foo, bar)
  * changes the uneeded .sort calls by sorted()
2013-04-16 10:51:18 +02:00
Michal Vyskocil
2ad4a8c873 python3 compatibility: has_key
don't use method removed from python3
2013-04-16 10:51:17 +02:00
Michal Vyskocil
19f689ce0b python3 compatibility: getcwdu
used just on one place, seems to be enough to simply remove it
2013-04-16 10:51:17 +02:00
Michal Vyskocil
a134074417 python3 compatibility: funcattrs, methodattrs
the introspection names changed a lot in python3, so lets have two
implementations used by respective runtime
2013-04-16 10:51:17 +02:00
Michal Vyskocil
600a565428 python 3 compatibility: exec
exec is no longer a statement
2013-04-16 10:51:17 +02:00
Michal Vyskocil
3a93ac6d10 python3 compatibility: except
changes 'except FooError, fe' to 'except FooError as fe'

available in python 2.6
2013-04-16 10:51:17 +02:00
Michal Vyskocil
d3648be24b python3 compatibility: dict
this patch
 1.) removes the iteritems/itervalues, which were dropped in py3
     items/values are used instead
 2.) add an extra list() in a cases the list-based access is needed
     (included appending, indexing and so)
 3.) changes a sorting idiom in few places
     instead of
     foo = dict.keys()
     foo.sort()
     for i in foo:

     there is a recommended

     for i in sorted(dict.keys()):
 4.) in one occassion it removes a if dict.has_key() by simpler
   dict.get(key, default)
2013-04-16 10:51:17 +02:00
Michal Vyskocil
c5a235ed78 python3 compatibility:
python 2.6 does not have memoryview, so lets define it as buffer
2013-04-16 10:51:17 +02:00
b8faeeddb4 - fix build on ppc/s390/ia64 (bnc#815296) 2013-04-16 09:04:34 +02:00
Marcus Huewe
67d45a5324 - request_interactive_review: offer diff option for a maintenance_incident 2013-04-15 17:52:46 +02:00
Marcus Huewe
9e6e76c712 - do_localbuild: made "arch" argument optional 2013-03-25 20:28:27 +01:00
Sascha Peilicke
c31d7d5671 Fix typo in default build-root path 2013-03-20 15:43:06 +01:00
Michael Schroeder
1299b73efa fix with/without definitions, --with should not define %_without and vice versa 2013-03-20 15:38:25 +01:00
320238350f - reset retry counter on 404 answer for all python 2.7.x versions 2013-03-20 14:11:58 +01:00
b0ddb63432 - Abort when the server is not answering with 200 or 404 when downloading _pubkey files
- really use the internal rpm signature check
2013-03-19 17:17:14 +01:00
d082c75958 - drop the support for deprecated cbinstall and cbpreinstall directives 2013-03-19 08:17:13 +01:00
948687c4cf - do not crash on manual configured buildroot 2013-03-18 17:41:57 +01:00
Marcus Huewe
56979493d6 - fixed grammar error 2013-03-08 19:09:29 +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
49eeda0a17 - core.edit_message: changed message file opening (only affects vim/vi users)
With the current implementation it's possible to detect if the user saved
the message file or if he/she just quits the editor (e.g. to abort the commit).
2013-03-08 17:17:45 +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
Marcus Huewe
ec595d361b - core.edit_message: use a more informative messsage if the default template wasn't changed 2013-03-06 17:34:49 +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
Sascha Peilicke
f9a718f662 Provide a better default build-root.
Previously it was /var/tmp/build-root but
/var/tmp/build-root/%(repo)s-%(arch)s makes much more sense.
2013-02-27 13:43:05 +01:00
Marcus Huewe
e2dc1d7fe6 - fixed bnc#801027 ("osc starts with a traceback") 2013-02-25 18:07:27 +01:00
907e5f67a5 - open 0.140 development 2013-02-25 15:44:01 +01:00
74f950d409 - prepare 0.139 release 2013-02-25 15:40:26 +01: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
Marcus Huewe
93c0a2d88f - core.Project.update: fixed deletion of packages with local state "!" and which don't exist on the server side 2013-02-13 18:50:01 +01:00
Marcus Huewe
c8bfad3661 - core.edit_message: check if the user modified the log template
If the user didn't change the default template it either means that
he wants to use the default message or that he wants to abort the process.
So if the template wasn't modified osc will prompt:

Commit template was not changed
a)bort, c)ontinue, e)dit:
2013-02-13 11:42:34 +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
b358e7085f - remove debug output 2013-02-11 13:01:58 +01:00
d21bbe48fd - fix display of time in jobhistory when the job builds more than one day 2013-02-11 11:19:02 +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
ef5b892285 Merge pull request #19 from andreas-schwab/master
_submit_request: add missing newline before diff
2013-02-05 23:16:18 -08:00
Dmitry Marakasov
8e9e8c492c Raise exception when there're no CA certificates
This is more useful and meaningful error message than M2Crypto's
"ValueError: cafile and capath can not both be None." when neither
of cafile and capath is defined for load_verify_locations call.
2013-02-06 03:50:18 +04:00
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
f1c55334b3 - add aarch64 build definitions 2013-02-03 13:25:32 +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
1106eb5166 - open 0.139 development 2013-02-01 12:19:06 +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
1fd7eda7c3 - prepare 0.138 release 2013-01-31 16:44:14 +01:00
d84bc081ef - disable keyring usage by default 2013-01-31 16:03:31 +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
b55721a679 - warn about empty passwords to see keyring setup errors 2013-01-24 16:32:33 +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
63e2bcabf7 - corrected some docstr which were added in a2f1cc25b2 2013-01-16 14:48:15 +01:00
Marcus Huewe
12c8736129 Merge branch 'master' of https://github.com/aspiers/osc 2013-01-16 14:38:13 +01:00
Adam Spiers
a2f1cc25b2 osc.core.Project: add some docstrings 2013-01-15 18:32:01 +00: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
fc7e26fef1 - open 0.138 development 2012-12-04 16:47:42 +01:00
14c41ebdf8 - version 0.137 2012-12-04 16:44:46 +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
ada0c02f92 - avoid crashes for requests without repository target 2012-11-20 15:29:30 +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
3af97625d4 - support prefer pkgs for kiwi builds 2012-11-08 09:01:19 +01:00
a45c602614 - fix search OBS api call /search/project_id should /search/project/id (bnc#769948) 2012-11-06 09:16:13 +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
Alexey Sidorin
22fb12b66f build.py: bugfix: incorrect determination of hostarch available for build
* x86-64 should be able to build for i586 hostarch but it doesn't.
2012-10-17 17:39:22 +04:00
Marcus Huewe
161b9ca274 - Fetcher.__fetch_cpio: split cpio request into smaller requests if the server returns code 414 2012-10-10 17:05:26 +02:00
15b27b7ff1 - add osc mr --cleanup option 2012-10-10 15:55:10 +02:00
Marcus Huewe
63935f86e4 - open 0.137 development 2012-09-27 22:43:55 +02:00
Marcus Huewe
c42a0ad4a1 - core: fixed __version__
The new release will be 0.136
2012-09-27 21:45:19 +02:00
Marcus Huewe
dc134de6d5 - build: fixed indention (use spaces instead of tabs) 2012-09-27 21:43:45 +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
Michal Vyskocil
4ab6f905b3 make commit --noservice work for commitExtPackage 2012-09-18 22:39:25 +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
Michael Schroeder
ab28b8f492 - fix build result listing for arch 2012-08-13 12:54:38 +02:00
Cristian Rodríguez
0770470596 watchout the BEAST...
This patch workarounds the BEAST attack in the client side
making OSC to prefer TLS v1.1 or v1.2 ciphers/key exchanges
when available.
Now, as long as openSUSE API webservers do not support
these protocols it will prefer the RC4-SHA1 combination to
be in the safe side.
2012-07-15 23:20:19 -04: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
559409a880 - language change from OBS special to standard SCM terminilogy 2012-06-29 11:38:11 +02:00
68b59f29a1 - do not forward submit requests which do link to original request target anyway 2012-06-29 10:57:29 +02:00
4d83996da2 - set version 0.135 2012-06-28 11:21:26 +02:00
d6aed9858d - default to forward submit requests 2012-06-27 10:34:20 +02:00
Marcus Huewe
6ad15b3832 - fixed github issue #6 ("Problems with osc and gnome-keyring")
check if user and password exist in the gnome keyring entry (a non existent
password is most likely an error so print a warning)
2012-06-26 21:18:28 +02:00
09c66f1d3d - better use standard function for submit request (adds revision by default) 2012-06-26 17:48:39 +02:00
ceb3265a9d - add request forward functionality similar to webui 2012-06-26 17:13:33 +02:00
e0a5b7052a - fix waiting function of results 2012-06-21 11:09:33 +02:00
Marcus Huewe
6e34b410fa - request_interactive_review: do not abort if the user aborts "edit_message"; instead display the prompt again 2012-06-15 00:12:06 +02:00
Marcus Huewe
e4090f7932 - support "osc rq co <id>" also for action type "maintenance_release" 2012-05-04 17:18:46 +02:00
Marcus Huewe
60ed892beb - "osc review show -G group" respect group in interactive review
(Note: the group is ignored when using the --edit option)
2012-05-03 22:30:50 +02:00
79d970f885 - support also plain "osc mr" from package checkout 2012-05-03 13:51:11 +02:00
Marcus Huewe
b38dd0191f - request_interactive_review: automatically accept/decline a review for a specific group (if a group was specified)
To enable this feature set the newly introduced "review_inherit_group"
config option to True.
2012-04-27 15:04:06 +02:00
Marcus Huewe
7ce054b5cc - request_interactive_review: also show d(i)ff and (b)uildstatus for maintenance release actions 2012-04-27 14:45:28 +02:00
Marcus Huewe
2372439b00 - get_review_list: only consider requests which are in state review
This fixes a bug which was introduced in
commit e65bd21c3b
2012-04-27 00:27:31 +02:00
5703b90ca1 - support building with "--alternative-project --noinit" combination of not existing package. 2012-04-11 11:57:03 +02:00
747bca7741 - do not crash when give 5 arguments to "osc whatdependson" (bnc#719691) 2012-04-04 14:34:47 +02:00
cd89d91d13 - fix "osc result" handling (bnc#710682) 2012-04-04 10:28:27 +02:00
Marcus Huewe
e65bd21c3b - "osc review": only show new reviews if by_user, by_group etc. is specified
The current implementation is so ugly...
2012-04-03 19:21:06 +02:00
Michael Schroeder
8df38af7e3 support archlinux builds 2012-04-03 16:00:06 +02:00
c744710145 - use right apiurl on "osc meta $KIND" command (bnc#640770) 2012-04-02 13:38:06 +02:00
6bfa5b0c31 - add also requires example to pattern 2012-04-02 10:55:18 +02:00
08d2b8d045 - open 0.135 development 2012-04-02 10:53:12 +02:00
34bee95834 - fix pattern.rng url again and add a more complete example (bnc#602330) 2012-04-02 10:52:29 +02:00
Marcus Huewe
5b3725096f - fixed #754774 ("'osc service rr' optional arguments don't work; doesn't match 'remoterun'") 2012-03-29 19:33:41 +02:00
Marcus Huewe
e2aa5cc65c - do_update: rewrote code path for expanding/unexpanding a wc
The way for determining the revision was completely "wrong".
2012-03-28 23:14:28 +02:00
Marcus Huewe
25c4cb1cc1 - do_update: print the correct revision when unexpanding the wc
The old "p.linkinfo.lsrcmd5" was completely misleading because update to the
latest rev...
2012-03-28 22:58:09 +02:00
Marcus Huewe
081037e913 - do_update: use "rev" instead of "lsrcmd5" when running "osc up -u" 2012-03-27 18:38:00 +02:00
8d5cc0a8d6 - fix link to OBS maintenance chapter 2012-03-26 15:46:38 +02:00
Ard
bd9ab782d4 Fix small typo in conf.py 2012-03-24 20:41:43 +13:00
82880e9572 - improve error message when calling patchinfo in standard package. 2012-03-23 09:37:08 +01:00
874e269887 - maintenance request is adding now revisions to sources 2012-03-15 12:44:38 +01:00
ce9f504105 - add unlock command for osc 0.134.1 2012-03-15 09:55:37 +01:00
434879dc4b - make the complete different action which can not be avoided by command line more understandable .... 2012-03-12 14:49:53 +01:00
665d1b6501 - 0.134.0 release 2012-03-12 14:36:59 +01:00
Ludwig Nussel
b6069c6946 automatic fallback to maintenance request
alternative would be to raise exception and have calling code implement
the fallback
2012-03-12 11:00:36 +01:00
Ludwig Nussel
0cdc695c21 add message param to delete call 2012-03-12 11:00:36 +01:00
Sascha Peilicke
588efa69fc Fix copy-paste error 2012-03-08 14:42:52 +01:00
Marcus Huewe
346b754941 - added "review show" command to help text 2012-03-06 13:25:47 +01:00
Marcus Huewe
65858bb6d3 - support "review show <id>" (alias for "request show <id>") 2012-03-06 13:22:25 +01:00
effe3835ba - strip terminal control chars, except new lines from build logs (CVE-2012-1095) 2012-03-05 10:44:09 +01:00
6860e7edff - set vrev on current links in link files 2012-03-02 15:44:15 +01:00
15da5e9580 - follow changed issue xml schema 2012-02-29 15:57:58 +01:00
e0d045cdea - do not crash on project wide incident requests view 2012-02-29 12:22:35 +01:00
96042a3194 - simplify "setlinkrev" call and do the right thing by default. 2012-02-29 11:51:40 +01:00
793d9ec961 - create submit requests with correct revisions when target is not link target and a service is used. We had missing service files so far after request accept. 2012-02-24 11:50:24 +01:00
Sascha Peilicke
d8904685da [osc] Also provide '--noservice' parameter to 'osc commit'.
It is already used for 'osc build' and much shorter than '--skip-local-service-run'
2012-02-23 14:27:04 +01:00
a9b51e3571 - take care about build --noservice 2012-02-23 13:21:22 +01:00
Stephan Kulow
770a3e6172 don't only calculate repofilename but also filename according to 'binary'
attribute - otherwise cache access won't work
2012-02-22 14:12:06 +01:00
Stephan Kulow
7c6653e831 avoid errors when checking rpm signkeys on files that are not rpm 2012-02-22 13:28:19 +01:00
Stephan Kulow
b1502a5715 support buildinfos with binary present - and don't die with XML 2012-02-22 13:28:19 +01:00
Stephan Kulow
d449a12c09 change the project meta default to use snapshot repo for factory 2012-02-22 13:28:19 +01:00
d50f06fec1 - follow changed policy for inident requests 2012-02-21 18:02:21 +01:00
Marcus Huewe
7fc2f02f33 - do_results: ignore _oldstate key when printing the results in csv format 2012-02-21 14:17:57 +01:00
00286be354 - don't crash on invalid attribute names 2012-02-21 12:41:24 +01:00
Marcus Huewe
09a7f60ede - fixed "osc results --csv" in a project wc 2012-02-21 13:13:36 +01:00
fbb032ea95 - show maintenance_incident request informations complete 2012-02-20 11:21:30 +01:00
9960072d5c - set releaseproject in incident requests 2012-02-15 17:08:06 +01:00
3820c19c9d - fix cleanup handling of maintenance request 2012-02-15 13:13:44 +01:00
39b85af5d9 - use hostarch from buildconfig instead of own architecture guessing 2012-02-09 15:13:04 +01:00
ba08ccb48a - add single-package-maintenance branch 2012-02-09 10:04:44 +01:00
06bf885524 - do not crash when not creating incident request (#745842) 2012-02-08 15:56:46 +01:00
Ludwig Nussel
f760282ea4 whois: display user info suitable for c&p in mail client
allow multiple arguments
2012-02-07 11:08:32 +01:00
Ludwig Nussel
842df7e511 xml parse result of branch 2012-02-07 11:04:45 +01:00
Ludwig Nussel
f53e40b2fd sr: use link target package also when called with one argument 2012-02-07 11:03:21 +01:00
475867cc64 - make file system configurable 2012-02-04 17:05:17 +01:00
1ab773344b - fix syntax error 2012-02-04 11:01:08 +01:00
39233d3b93 - do not move back service generated files when service failed 2012-02-04 10:41:54 +01:00
Adam Spiers
3ed94d9694 Fix 'chache' typo 2012-02-02 10:49:17 +00:00
Michael Schroeder
039d662b7a fix typo 2012-01-30 18:09:30 +01:00
Stephan Kulow
7232c2eab8 remove debug code from osc sr 2012-01-30 13:13:48 +01:00
4466a7f701 - fix superceeding of submit requests, match all exact matches independend of user and include "declined" 2012-01-26 13:27:44 +01:00
0b79374542 - fix default for open requests (include 'declined') 2012-01-26 13:27:44 +01:00