Marcus Huewe
5e76b5b0c0
- fixes for old python versions
2010-04-22 20:13:58 +02:00
Marcus Huewe
887f03f4f0
- fixed read_sizelimit()
2010-04-22 20:05:40 +02:00
bf7213b768
add a --size-limit option to checkout and update.
...
Very usefull, if you want to ignore large tar balls over slow connections
and just want to do some spec file changes.
2010-04-22 15:27:54 +02:00
Marcus Huewe
4290c5143b
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-04-21 15:19:09 +02:00
Marcus Huewe
ba7993ffb0
- backward compatibility fix (only a recent api/backend supports the missingok parameter)
2010-04-21 15:18:20 +02:00
Michal Vyskocil
1325b2813a
--csv/--format options for osc results
2010-04-20 15:43:41 +02:00
Michal Vyskocil
6c5a3738eb
format_results - apply format string on each dict in results list
2010-04-20 15:43:41 +02:00
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
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
Marcus Huewe
338813cf0e
Merge commit 'refs/merge-requests/2' of git://gitorious.org/opensuse/osc
2010-02-18 14:28:23 +01:00
Marcus Huewe
a5a4f6da7a
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-02-18 14:21:17 +01:00
Marcus Huewe
1510533358
- added help text to localbuildlog
...
- reworked localbuildlog
2010-02-18 14:20:40 +01:00
57a8533ee8
fix linktobranch apiurl usage
2010-02-18 14:14:48 +01:00
Marcus Huewe
69333ac2e0
- mark 'build_platform' option as deprecated
2010-02-18 13:58:01 +01:00
Marcus Huewe
284c529a41
- skip directories when adding files to a package
2010-02-17 20:45:09 +01:00
Michal Vyskocil
f5033535c1
buildurl support for buildlog command
2010-02-16 13:49:14 +01:00
Michal Vyskocil
2ec430ccfe
fix remotebuildlog help
2010-02-16 12:23:25 +01:00
Marcus Huewe
8df5e1fe38
- make sure the buffer is flushed
2010-02-15 23:56:21 +01:00
Marcus Huewe
e402064bb2
- fixed #579840 ("osc diff output should use a tab as separator behind filenames")
...
"svn diff" is doing the same so it shouldn't harm
2010-02-14 19:10:10 +01:00
Luboš Luňák
4b95a71620
avoid useless conversion to set that randomizes arguments order
...
I admit my Python skills are pretty weak, but this set conversion
appears to be useless and it can change order of arguments from e.g.
--jobs 2 --icecream 20
to
--icecream 20 --jobs 2
As the --jobs 2 actually comes from OSC itself on multicore systems
and --icecream 20 was passed from the command line, this
obviously renders the --icecream argument rather useless.
2010-02-12 18:37:12 +01:00
Marcus Huewe
ef98fdba4f
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-02-12 15:55:01 +01:00
Marcus Huewe
b877b7bcfa
- added "localbuildlog" command
2010-02-12 15:54:33 +01:00
c2a541ab0c
typo fix
2010-02-12 14:13:48 +01:00
Marcus Huewe
8670d82fad
- fixed indention
...
- added 'icecream' to config dict
2010-02-12 11:55:09 +01:00
Ludwig Nussel
d5ae3ef2b4
command line options for cpio (default=off)
2010-02-12 11:23:03 +01:00
Ludwig Nussel
daf3516d1c
add fetch-cpio support again
...
This partially reverts commit 0b60db740c
.
2010-02-12 11:23:03 +01:00
a1230a0302
speak about supersed when doing a supersed ;)
2010-02-12 11:16:37 +01:00
Ludwig Nussel
77f01091a4
better linewrapping and output of umlauts
2010-02-12 10:12:21 +01:00
Ludwig Nussel
68dd680cf3
make iceream configurable in config file
2010-02-12 10:12:21 +01:00
4a18c18d34
do not point to keyservers for gpg key. They don't get exported by default.
2010-02-11 20:59:32 +01:00
Marcus Huewe
a116d8f354
- always remove tempfile
...
- cleaned up metafile() class
2010-02-11 21:22:07 +01:00
Marcus Huewe
51768ba3c2
- cleanup
2010-02-11 20:55:08 +01:00
Ludwig Nussel
78d2e9c314
convenience mode for changedevelrequest
2010-02-11 12:47:47 +01:00
Ludwig Nussel
cb5ac5af3e
store commit message so it doesn't get lost on failure
2010-02-11 12:47:47 +01:00
Ludwig Nussel
0b1e0b89ea
unchanged log message is no error
2010-02-11 12:47:47 +01:00
Ludwig Nussel
5da4957347
Revert "use the baserev on links by default for diffing"
...
Unfortunately produces weird results sometimes. There's probably some
smart code needed to determine when to use baserev.
This reverts commit 94c9a3dde7
.
Conflicts:
NEWS
2010-02-11 12:47:47 +01:00
Marcus Huewe
5d27ea3cd7
- get out of the loop..
2010-02-11 02:48:08 +01:00
Marcus Huewe
3a909cf75b
- review a request interactively
...
per default this "feature" is disabled
2010-02-11 01:47:47 +01:00
Marcus Huewe
3e4f6fdc9e
- added OscTextMeter() class
...
it's sole purpose is to show the progress immediately because it might take
some time until it shows up (depending on the used bufsize)
2010-02-09 21:22:32 +01:00
Marcus Huewe
9187508513
- fixed #547005 ("osc co could show download progress")
2010-02-09 20:57:10 +01:00
Marcus Huewe
88b866f733
- store buildinfo and buildconfig in the correct dir
2010-02-09 16:35:48 +01:00
Marcus Huewe
452a33bce5
- oops.. removed ')'
2010-02-09 02:27:29 +01:00
Marcus Huewe
4c3df68afd
- remove redundant checks etc.
2010-02-09 00:08:21 +01:00
Marcus Huewe
8b53dbbffd
- simplify
2010-02-08 23:31:27 +01:00
Marcus Huewe
b773977410
- fixed #577792 ("osc sr: revoke-existing inquiry not accurate")
2010-02-08 20:16:03 +01:00
Marcus Huewe
2f290cdda6
- fixed #577156 ("osc: develproject redirection notice absent")
...
Note: this only works properly with api's which have commit 357d0dbd1f77967fe020c16917531bcb354245d5
2010-02-08 19:58:14 +01:00
Marcus Huewe
fa66ca5f5d
- rpmq is always "defined"/not None
2010-02-05 15:22:05 +01:00
Marcus Huewe
f1a04bc50d
- always close the file
2010-02-05 15:17:45 +01:00
Marcus Huewe
8d1c1804bf
- fix + beautify
2010-02-05 15:14:48 +01:00
116fec879e
do not complain about _service files
2010-02-05 11:49:57 +01:00
1cb627a289
allow to skip source services
2010-02-05 10:32:27 +01:00
c18adb7edf
do not crash on reading rpms (missuse of filname as file object)
2010-02-05 10:31:26 +01:00
8f3683b497
Merge commit 'refs/merge-requests/1' of git://gitorious.org/opensuse/osc
2010-02-05 08:55:46 +01:00
Marcus Huewe
7d6ede13ab
- use a tempfile
2010-02-04 20:32:59 +01:00
Ludwig Nussel
f29fc17f83
better c&p'able output of osc maintainer
2010-02-02 16:15:38 +01:00
Ludwig Nussel
e21e1e9e42
fetch meta data only if it's actually needed
2010-02-02 16:15:38 +01:00
Ludwig Nussel
f635b50e3b
don't abort osc sr -d due to wrong develproject
2010-02-02 14:59:40 +01:00
Ludwig Nussel
010b55020e
parse server diff to generate submitrequest message template
2010-02-02 14:59:40 +01:00
Ludwig Nussel
f29ffcdaef
move changes file diff parser to separate function
2010-02-02 14:59:40 +01:00
Ludwig Nussel
048c479a3e
remove broken -l option to osc sr
2010-02-02 14:59:40 +01:00
Ludwig Nussel
098ec5b861
display details of finish
2010-02-02 14:59:40 +01:00
Marcus Huewe
89a3ee1b71
- distinguish between 'su' and other suwrappers (at least it should work now with 'su' and 'sudo')
2010-01-30 21:41:49 +01:00
Marcus Huewe
7b00934a47
- don't hardcode path to chroot binary
2010-01-30 19:22:32 +01:00
Marcus Huewe
f88e3f7c3f
- fixed #574758 ('"osc" cannot commit "read-only" files.')
...
- simply use shutil.copyfile() instead of shutil.copy2() because we don't
care about the file mode etc.
2010-01-30 18:05:25 +01:00
Marcus Huewe
0d67340644
- fixed #571491 ("[osc] --local-package always builds for the host system and doesn't respect the server repos anymore since 0.125")
2010-01-30 17:06:43 +01:00
Marcus Huewe
58f4740835
- added new command "osc chroot"
...
- added new helper method parse_repoarchdescr()
2010-01-30 16:18:30 +01:00
Marcus Huewe
3dc4a09a29
- use correct package name unless --local-package is specified
2010-01-30 00:08:28 +01:00
Marcus Huewe
fe6dec5410
- also detect a kiwi file
2010-01-29 23:16:15 +01:00
Marcus Huewe
73770458a7
- cleanup + fixed "osc build --local-package..."
2010-01-29 23:13:36 +01:00
94c9a3dde7
use the baserev on links by default for diffing
2010-01-29 16:56:36 +01:00
Marcus Huewe
8c50908891
- fixed 'project/package/repository/arch' support
2010-01-28 20:00:34 +01:00
Michal Vyskocil
612ac35f28
fix exception message in parse_disturl
2010-01-28 13:22:44 +01:00
Michal Vyskocil
1d44150c7f
add a buildlogurl support to osc remotebuildlog command
2010-01-28 13:20:11 +01:00
293d03536f
fix patchinfo command, not crashing anymore
...
Conflicts:
NEWS
2010-01-27 13:16:26 +01:00
Marcus Huewe
97a6a9e63c
- use base64 module for base64 encoding (as suggested by Luke Imhoff)
2010-01-22 20:16:38 +01:00
Marcus Huewe
7f9b4a37df
- fixed indention
2010-01-22 14:29:26 +01:00
9911870639
do not fill crap into our database by default
2010-01-22 08:58:18 +01:00
Michael Schroeder
8a8780d1db
Merge branch 'master' of gitorious.org:opensuse/osc
2010-01-21 14:47:39 +01:00
Michael Schroeder
b821c2ed6d
- default to expanded for new packages in osc up, like we do in osc co
2010-01-21 14:47:04 +01:00
73b5bc65d5
fixing attribute set/create command for final 1.7 API
...
Conflicts:
NEWS
osc/core.py
2010-01-21 10:32:35 +01:00
Michael Schroeder
151b9b699d
- also freeze if 'up -e' fails, code cleanup
2010-01-20 17:55:44 +01:00
Marcus Huewe
14288a9468
- changed appname handling
2010-01-20 14:46:10 +01:00
Ludwig Nussel
f2f948388e
appname should be osc for ssl support
2010-01-20 09:15:51 +01:00
Marcus Huewe
aee78f6150
- fixed do_branch
2010-01-19 19:15:45 +01:00
Luke Imhoff
96210b6dac
Allow --prefer-pkgs to parse repodata
...
Any directory passed to --prefer-pkgs will be searched for a repodata
directory. If the directory does not contain a repodata directory, then
each ancestor directory is checked. This allows for the user error of
specifying an individual architecture directory (e.g. x86_64) instead of the
parent repository directory that contains the repodata:
repository/
x86_64/
*.rpm
repodata/
*.xml.gz
The use case for this feature is it allows snapshots of the OBS repositories
to be offloaded to an network-attached filesystem. repodata directories are
used as the xml.gz files are faster to read than the 100s of rpms in a given
snapshot. These snapshots are used to track older rpm sets that may be
deployed for testing.
2010-01-18 09:12:10 -06:00
39ac814169
do not crash on rdiff with 3 arguments ( #571483 )
2010-01-18 10:25:00 +01:00
Marcus Huewe
a7abbb37cd
- fixed typo in regex
2010-01-15 20:34:54 +01:00
Ludwig Nussel
bddcf82e5e
fix osc r in prj dir
2010-01-15 11:00:50 +01:00
Ludwig Nussel
2f46207cd0
osc ls -b: allow to specify repo and arch as arguments too
2010-01-15 10:56:42 +01:00
Ludwig Nussel
e86d6b6223
add option to prjresults to show results with packages listed vertically
2010-01-15 10:56:24 +01:00
Ludwig Nussel
bd9a9774f3
don't pollute results output with repo status
2010-01-15 10:56:24 +01:00
b2ea0d3b23
* fix output of "results" in project dir
...
* do not show warning when a target project is given on "branch"
2010-01-15 10:30:16 +01:00
7a5add4866
post 0.125
2010-01-14 22:57:31 +01:00
4787d7023a
make it the 0.125 release
2010-01-14 22:53:10 +01:00
Marcus Huewe
28f3e3b7e2
- fixed indention
2010-01-14 20:25:14 +01:00
Marcus Huewe
c4ccdea253
- fixed indention, use list comprehension
2010-01-14 20:16:10 +01:00
Marcus Huewe
de84575ab0
- don't read all rpm/deb tags/fields by default
2010-01-14 19:51:09 +01:00
e4fb64daba
"osc results" calls "prjresults" when being in project dir.
2010-01-14 15:20:00 +01:00
2b419453bb
Revert "new "osc revert" command"
...
This reverts commit b198845b2c
.
Conflicts:
osc/commandline.py
2010-01-14 14:42:26 +01:00
727c66c2cf
* support linktobranch with local dir
...
* update local checkout on linktobranch and revert
2010-01-14 12:24:48 +01:00
b198845b2c
new "osc revert" command
2010-01-14 11:58:34 +01:00
217db3c20c
show scheduler state for each repo with "results" and "prjresults"
2010-01-13 13:35:45 +01:00
6be37ebb89
fix syntax error on checkout
2010-01-13 12:53:08 +01:00
Michal Vyskocil
fe4ec4d7e7
fix of do_bugowner: opts.roles should have the __len__ method
2010-01-13 10:03:14 +01:00
Michael Schroeder
b969f87210
- add autofreezing of link (obsoletes linkrepair)
2010-01-12 17:22:47 +01:00
Ludwig Nussel
db0c0ee6ea
reimplement osc my
2010-01-12 15:11:42 +01:00
Ludwig Nussel
c9e9730226
most help topics are capitalized
2010-01-12 15:11:42 +01:00
Marcus Huewe
c7421118e8
- fixed missing exception
2010-01-11 18:59:49 +01:00
Michael Schroeder
0cb7afbfdf
- reimplement 'osc pull' so that iw works like intended, i.e. still works if the link is broken
2010-01-11 17:01:21 +01:00
2aa4700bca
add osc linktobranch command
2010-01-11 16:36:33 +01:00
Ludwig Nussel
5af4250ffc
implement three argument form for rdiff as used by copypac and linkpac
2010-01-11 14:00:24 +01:00
Marcus Huewe
90a92be0dd
- added "build-jobs" config option (default: "getconf _NPROCESSORS_ONLN")
2010-01-09 14:56:55 +01:00
Marcus Huewe
5c8ee534a9
- cleanups + cosmetic changes
2010-01-09 14:25:41 +01:00
Marcus Huewe
5a7346858a
- double quote (user specified) pathnames
2010-01-09 11:42:07 +01:00
Marcus Huewe
52b22b19a5
- fixed proxy support when using m2crypto
2010-01-08 22:20:40 +01:00
Marcus Huewe
d4877bbe51
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-01-07 19:11:37 +01:00
Marcus Huewe
d3edac3a17
- fixed #568269 ("osc meta prjconf can waste lot of time")
2010-01-07 19:11:02 +01:00
Michal Čihař
396b6299f2
Fix typos found by lintian.
2010-01-02 12:25:56 +01:00
Marcus Huewe
9560002d00
- adjusted help text
2009-12-30 21:54:57 +01:00
Marcus Huewe
77544e7b4f
- cleanups
2009-12-30 15:10:11 +01:00
Marcus Huewe
f109054898
- escape attributes
2009-12-29 20:33:16 +01:00
Marcus Huewe
d75888fbd4
- fixed do_submitrequest
2009-12-26 14:25:58 +01:00
Marcus Huewe
bcbcf6426c
- fix for 0a6ca4f6c2
(also adjusted variables)
2009-12-26 14:22:34 +01:00
Marcus Huewe
1f979150a5
- add a more helpful text (see also #558197 )
2009-12-25 18:16:35 +01:00
Marcus Huewe
0a6ca4f6c2
- useless use of StringIO()
2009-12-25 17:37:53 +01:00
Marcus Huewe
b3c8cc9062
- do_maintainer(): support multiple --role <foo> options
2009-12-25 17:31:13 +01:00
Marcus Huewe
9e892b9e58
- do_maintainer(): cleanup + renamed "--bugowner_only" to "--bugowner-only"
2009-12-25 17:19:44 +01:00
Marcus Huewe
a1cea77795
- fix for 81bf93f4f2
2009-12-25 14:02:04 +01:00
Marcus Huewe
73a2d30180
- minor changes/"cleanups"
2009-12-25 00:39:13 +01:00
Marcus Huewe
59073eaff5
- cleanup: use exceptions
2009-12-25 00:08:29 +01:00
Marcus Huewe
f47c19d209
- there's no need to fetch the packagelist if we add a new package
2009-12-24 21:30:02 +01:00
Marcus Huewe
a715077769
- code cleanup
2009-12-23 20:51:08 +01:00
08c63f906e
fix request listing with given type for certain projects
2009-12-22 10:53:42 +01:00
Marcus Huewe
046d4c37e1
- cleanup: removed useless objects
2009-12-21 23:47:25 +01:00
Marcus Huewe
81bf93f4f2
- return a list instead of a string
2009-12-21 14:26:32 +01:00
Marcus Huewe
a6a223edec
- added "--disable-publish" option to "linkpac" and "aggegratepac"
2009-12-21 14:24:33 +01:00
Pavol Rusnak
8998d8d8a4
add missing exception variable to except block
2009-12-20 20:42:54 +01:00
Marcus Huewe
0bf48f2b73
- added support to specify a default action if a submitrequest has been accepted
2009-12-19 14:44:51 +01:00
Marcus Huewe
b983f116eb
- commit: check if "_pulled" file exists before removing it
...
- fixed indention
2009-12-17 20:20:35 +01:00
Michael Schroeder
72e6edc997
- first attempt at "osc pull" and "linkcontrol"
2009-12-17 17:16:56 +01:00
Ludwig Nussel
3285fafaac
take sr apiurl from current dir also in two argument form
2009-12-15 17:42:23 +01:00