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
Marcus Huewe
47beb996ff
- minor changes
2010-03-15 13:34:38 +01:00
Stephan Kulow
8c86d1fab3
put the states first for involved projects
...
before: 18s
after: 11s
(possibly it matters only if you have more than your home project
in the project list)
2010-03-15 13:18:18 +01:00
Marcus Huewe
88474d392d
- do_request(): added "--involved-projects" option to show all requests for project/packages where USER is involved
...
- code restructuring:
* added new get_user_projpkgs_request_list() method
* added new get_user_projpkgs() method
2010-03-13 21:06:18 +01:00
Marcus Huewe
4dfaad4795
- rewrote do_my()
...
I hope we didn't lose a feature/functionality. If you notice some unexpected
behaviour please tell me.
2010-03-13 14:06:48 +01:00
Marcus Huewe
dcd5a852d6
- core.py: added filter_role() method + other minor changes
2010-03-13 13:55:53 +01:00
Marcus Huewe
aaf5d9dfaf
- backward compatibility fix: old apis don't support role filtering
2010-03-12 15:22:11 +01:00
Marcus Huewe
52cac96f20
- get_request_list(): use new search interface
2010-03-11 00:24:38 +01:00
Marcus Huewe
2e011e70d3
- updated help text
2010-03-10 23:43:04 +01:00
Marcus Huewe
c6c9506640
- reworked do_search() and osc's search interface
...
- removed build_xpath_predicate()
- rewrote search()
- added xpath_join() to join two xpath expressions
- TODO: backward compatibility: currently do_search() requires a recent
api version from git master in order to do some role filter stuff
2010-03-10 23:36:09 +01:00
Marcus Huewe
bc1322803d
- check args/options
2010-03-09 12:22:04 +01:00
Juergen Weigert
8b3e24cd0e
dependency counter fixed. done += 1 needs to be indented correctly.
2010-03-09 02:28:07 +01:00
Juergen Weigert
ec8bf4b60f
Proofreading... it (the computer) shall not speak about itself in first person.
2010-03-09 01:40:32 +01:00
Juergen Weigert
38c0621a90
osc ls -u -- same logic here as mls suggests for osc cat.
2010-03-08 23:52:51 +01:00
Marcus Huewe
b4364bceff
- ignore trailing slashes
2010-03-08 14:09:15 +01:00
Michael Schroeder
9df5940b97
- turn option upside down for consistency
2010-03-08 10:56:29 +01:00
Juergen Weigert
4bd3d515ee
suggest git, svn, ... if indicated, after oscerr.NoWorkingCopy
2010-03-08 01:52:13 +01:00
Juergen Weigert
f9855a821b
"osc cat" now auto-expands through link. New option -n to suppress this.
2010-03-08 01:31:36 +01:00
Juergen Weigert
5a97588b85
osc add now clears files from _to_be_deleted
...
This happens, if a file was previously deleted, and the user changes his
mind before a commit. Such an add is no longer an add, but a cancel for the
planned delete. This resulted in unexpected loss of the file, on the server, as
the message 'is already under version control' is quite misleading in this case.
2010-03-08 00:08:55 +01:00
Juergen Weigert
35bc256de0
Merge branch 'master' of gitorious.org:opensuse/osc
2010-03-07 23:10:13 +01:00
Juergen Weigert
a92a63ad4d
helpful messages about non-existing remote packages never made it to the
...
user, as meta_exists() died with a shorter message earler.
2010-03-07 23:07:03 +01:00
Marcus Huewe
bc0cb438b8
- added "config" command to set/get/delete a config option
...
maybe we should move the whole config stuff into a new config object.
This would make things much easier.
2010-03-07 22:50:11 +01:00
Marcus Huewe
76cfc033a9
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-03-07 22:44:34 +01:00
Juergen Weigert
f25bfa6ad1
made URLError readable, instead of a bogus stack-trace.
...
added full_url, to even give a hint about the cause.
2010-03-07 21:56:29 +01:00
Marcus Huewe
96f382f171
- added 'verbose' option to DEFAULTS dict
2010-03-06 20:14:51 +01:00
Stephan Kulow
d6968933ee
changing some strings in the name of mls
2010-03-05 12:54:12 +01:00
Stephan Kulow
eb9f016338
diff3 -E is much easier to read
2010-03-05 11:45:50 +01:00
Marcus Huewe
0dcf378060
- make store_write_* methods more safe
2010-03-04 00:31:46 +01:00
f9aa6c7271
support package search with project results needed for maintained search.
...
This is for sure not nice, but fixes #583570 for now. (we need really to re-think
the osc search implementation)
2010-03-02 09:52:18 +01:00
Marcus Huewe
8e7a171cf2
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-03-02 01:34:58 +01:00
Marcus Huewe
f0d07774f4
- added "--message" option to branch cmd
2010-03-02 01:34:17 +01:00
Ludwig Nussel
8cea18e26c
handle missing details gracefully
2010-03-01 13:48:27 +01:00
Pavol Rusnak
9f6901b4ff
missed two renames
2010-02-28 02:41:26 +01:00
Pavol Rusnak
8d551e0a69
fix whitespace
2010-02-28 02:30:13 +01:00
Klaas Freitag
22b684fa38
Merge branch 'master' of git@gitorious.org:opensuse/osc
2010-02-27 20:15:15 +01:00
Klaas Freitag
43d8fd0dbd
fixed links to documentation in the wiki in osc help
2010-02-27 20:14:25 +01:00
Pavol Rusnak
90c4358da2
treat pylint warnings
2010-02-27 20:11:15 +01:00
Marcus Huewe
c6b74d6425
- added --exclude-target-project <prj> option to "osc rq list"
...
- reworked get_request_list()
2010-02-25 22:56:21 +01:00
Marcus Huewe
19d4d696ae
- don't exit if the user made an invalid choice
2010-02-25 14:32:24 +01:00
Marcus Huewe
12d8824e93
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-02-25 14:13:23 +01:00
Marcus Huewe
74c73ee8a2
- keyring fix
2010-02-25 14:13:02 +01:00
Ludwig Nussel
47138ecf2b
don't catch IOError to produce backtrace that points at cause
2010-02-25 13:37:24 +01:00
Ludwig Nussel
29779c34db
fix indentation
2010-02-25 13:37:24 +01:00
Ludwig Nussel
32e99306b4
add vim mode lines to avoid evil tab characters :-)
2010-02-25 09:53:45 +01:00
Marcus Huewe
663ae2df1e
- checkout files with mode 0644
2010-02-25 00:06:24 +01:00
Marcus Huewe
f16cc7e667
- convert tabs to spaces...
2010-02-24 20:02:52 +01:00
Ludwig Nussel
fd3977dc59
make osc built in text meter display progress immediately
2010-02-24 14:09:49 +01:00
Ludwig Nussel
99d3147519
stub for implementing trusted projects
2010-02-24 14:09:49 +01:00
Ludwig Nussel
8f1024eca1
try parent project if key is not available
2010-02-24 14:09:49 +01:00
Ludwig Nussel
8fb9669ae4
verify files using rpm bindings and keys supplied by buildservice
...
The build service is not ready for that yet. Almost all projects
that are not built but only imported to the build service have wrong
keys. To enable the new code set builtin_signature_check in .oscrc. You
may need to manually overwrite wrong _pubkey files in the
packagecachedir with correct keys until the build service is fixed.
2010-02-24 14:07:33 +01:00
Ludwig Nussel
25d8ffa0d9
actually ignore stuff after the footer line
2010-02-24 13:46:43 +01:00
Ludwig Nussel
47edb69394
fix up 'cr' without arguments
...
also add footer with hint what to enter as message
2010-02-24 13:46:43 +01:00
Pavol Rusnak
b95a074fc2
gpg signkey -> osc signkey
2010-02-24 13:39:53 +01:00
Ludwig Nussel
57aa962470
print multiple choice prompt in new line
2010-02-23 15:21:20 +01:00
Ludwig Nussel
4127574112
lbl: show log of last built package if no args specified
2010-02-23 15:21:20 +01:00
David Greaves
d95ae68724
Added '--build-uid uid:gid|caller' feature to specify abuild id in chroot
2010-02-22 18:45:24 +00:00
Marcus Huewe
7e530dfaac
- added missing return
2010-02-22 15:43:02 +01:00
Marcus Huewe
80b349cb47
- use correct states
2010-02-19 13:46:29 +01:00
Marcus Huewe
a8d8565442
- fixed download from apiurl
2010-02-18 20:16:23 +01:00
Marcus Huewe
f59372c96e
- fixed check (caused by 8670d82fad
)
2010-02-18 18:57:11 +01:00
Jan-Simon Möller
5a9de36e9e
Fix the test for icecream. 'num' is type <str> and evaluation failed.
2010-02-18 18:49:22 +01:00
Marcus Huewe
2b4570ba81
- don't add buildargs twice
2010-02-18 14:36:41 +01:00