Michal Vyskocil
7f845f2c70
aliases (pac, pkg, package) in result dict
2010-04-20 15:43:41 +02:00
Michal Vyskocil
b17405d9d0
split the formating rules from get_results
...
The osc.core.get_results parses the xml and also construct the status
field in little bit complicate way. For future csv support it is
necessary split the xml parsing and formatting to two functions:
* get_package_results - returns a dict containing all important
elements
* get_results - behave as old implementation, just do a formating only
2010-04-20 15:43:41 +02:00
Marcus Huewe
ebc341e7b1
- only offer "d(i)ff" option for submitrequests
2010-04-20 15:29:18 +02:00
Marcus Huewe
d0abff3210
- use oscerr.UserAbort()
2010-04-20 15:22:03 +02:00
Marcus Huewe
ce8ec5f555
- update version to 0.126git
2010-04-19 17:10:32 +02:00
Marcus Huewe
2d0be48eae
- update version to 0.126
2010-04-19 17:00:31 +02:00
Ludwig Nussel
3a1fc67698
unlink key file in case of failure
2010-04-19 13:59:30 +02:00
Marcus Huewe
d2ea7472cd
- raise an appropriate exception if a package is missing and --no-init or --offline is specified
2010-04-17 15:29:03 +02:00
Jan-Simon Möller
cbed877aa7
cleanup
2010-04-17 15:19:41 +02:00
Jan-Simon Möller
7b5e9374d2
Add support for --preload and --offline to osc build.
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-04-17 13:07:15 +02:00
Martin Mohring
6ae10228b8
changed: cross build emulation strings in build and osc are now same
2010-04-14 13:41:37 +02:00
af52098e16
consider "lxc" a secure enviroment
2010-04-14 10:18:01 +02:00
81d329c55d
restore 0.125 behaviour again and do not verify packages,
...
if they are used in a secure VM.
2010-04-14 10:16:27 +02:00
Marcus Huewe
d3a01a72c0
- do_diff()/do_rdiff(): added "--missingok" parameter
...
- always use "missingok=1" when showing the diff for a sr
2010-04-10 15:44:15 +02:00
Marcus Huewe
d65f0c81e4
- arghs.. the last commit was not the right fix
2010-04-09 15:57:12 +02:00
Marcus Huewe
0c96157352
- try to read the package name first in order to raise a more appropriate exception
...
- minor restructuring
2010-04-09 15:47:07 +02:00
Marcus Huewe
b1c06883b4
- simplify
2010-04-09 03:37:04 +02:00
Marcus Huewe
120d890807
- handle linkerrors more gracefully
...
- show revision
2010-04-09 01:22:26 +02:00
Marcus Huewe
42cc46ec7e
- fix for osc chroot
2010-04-08 23:15:55 +02:00
Michal Vyskocil
6d23985829
attribute_branch_pkg: raise APIError instead of string
2010-04-08 11:24:13 +02:00
Marcus Huewe
95ec7dee7b
- fixed #590606 ("osc/fetch.py does not support authenticated URLs")
...
bye bye urlgrabber.grabber.URLGrabber: now we're using our own "grabber" object
(OscFileGrabber()) because this way we can reuse the urllib2 handlers (the latest
python-urlgrabber version uses python-curl instead of urllib2...).
2010-04-07 03:06:03 +02:00
Michal Vyskocil
a4a179f1d9
print a real content of linkinfo->project and package, not the same filelist twice
2010-04-06 11:07:56 +02:00
Michal Vyskocil
10bda9b4eb
do not compare boolean with 0
2010-04-06 11:04:48 +02:00
Michal Vyskocil
c763369c17
set link_seen after meta_get_file_list
...
1.) not necessary to iterate through list to test the occurence of a
string in a list
2.) removed duplicate tests
2010-04-06 11:00:45 +02:00
Ludwig Nussel
38cd884c52
remove build-vmdisk-autosetup and build-vmdisk-force
2010-03-30 14:22:06 +02:00
Ludwig Nussel
f45017a55e
don't require root for kvm
2010-03-30 14:13:44 +02:00
Ludwig Nussel
b50d73b7d0
automatic vm image setup
2010-03-30 14:13:44 +02:00
Ludwig Nussel
d2a1b2eb17
allow build-type lxc
2010-03-30 14:13:44 +02:00
Ludwig Nussel
ca1bb38bbe
always ask for message when branching a package
2010-03-30 14:13:44 +02:00
Marcus Huewe
6b10a47fbc
- only allow --diff for submit requests
2010-03-30 00:31:01 +02:00
Marcus Huewe
ea3e5d20bf
- small fixes
2010-03-28 22:23:40 +02:00
Jan-Simon Möller
35d0652d21
Add VM diskimage autosetup hooks to osc.
...
Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-03-28 21:13:04 +02:00
Martin Mohring
f37dfd6e8c
added support for arm architure strings from armv4 to armv8
...
Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-03-28 21:10:14 +02:00
Marcus Huewe
3c695d427f
- fixed addfile()
2010-03-25 20:08:03 +01:00
Marcus Huewe
af273d0bdb
- fixed #590611 ("'osc build' uses incorrect filename for debian debs")
2010-03-24 13:20:09 +01:00
Marcus Huewe
56e728fc44
- only catch ImportError()'s
2010-03-24 11:16:20 +01:00
Marcus Huewe
dc94759aff
- added "--non-interactive" option to "osc rq show"
2010-03-23 16:21:09 +01:00
Marcus Huewe
af5d75e4ef
- always prefer apiurl from storedir
2010-03-23 10:04:01 +01:00
Michal Vyskocil
13e03dd359
osc rm: ignore IOError with --force
2010-03-22 11:07:10 +01:00
Marcus Huewe
3bd8570dc9
- use a list instead of a generator object otherwise the build fails on SLES_9
2010-03-21 23:40:13 +01:00
Marcus Huewe
4584d83dbe
- remove shebang line to make rpmlint happy
2010-03-21 22:57:06 +01:00
Juergen Weigert
0b88d1b902
Oops, I did not mean to revert coolo's fix. Sorry.
2010-03-20 12:59:32 +01:00
Juergen Weigert
ad5b23d975
added 'bse' as a shortcur for 'search --binary'
2010-03-20 12:27:27 +01:00
Marcus Huewe
fd3d0685a2
- fixed search
2010-03-18 17:57:25 +01:00
Marcus Huewe
c7c1f19445
- fix for commit 54513a23de
2010-03-17 17:32:59 +01:00
Marcus Huewe
23578e72fd
- use sys.stdout.write() instead of print
2010-03-17 15:28:10 +01:00
Marcus Huewe
cf2b0c182f
- if the commit is interrupted always delete the upload rev
2010-03-15 20:27:21 +01:00
Marcus Huewe
6a93a72635
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-03-15 16:09:32 +01:00
Marcus Huewe
0ee8d82378
- added slightly modified version of Michal Marek's <mmarek@suse.cz> patch to search binary packages
2010-03-15 16:08:00 +01:00
Stephan Kulow
54513a23de
/search/package returns all meta data for the packages,
...
/search/package_id only returns the names - and that's all that
interests us for requests.
before: 11s
after: 5s
2010-03-15 13:37:49 +01:00