b0b5953b3e
support history of projects via "osc log"
2010-05-27 07:17:27 +02:00
Marcus Huewe
24d3b18e13
- cleanups
...
- fixed do_log
- use "safe writes" in init_package_dir()
2010-05-27 02:18:00 +02:00
d2dbc069b0
use correct apiurl when triggering a rebuild of local package
2010-05-25 17:50:36 +02:00
6860613ba9
harmonized osc parameters, user always "-M" for "--meta"
2010-05-25 14:54:11 +02:00
2ae9a9453a
fix commit of files in meta mode
2010-05-25 14:54:11 +02:00
Marcus Huewe
c33d229953
- fixed permissions
2010-05-24 22:40:31 +02:00
brook hong
11c2f0a510
implement https://features.opensuse.org/309351
2010-05-24 19:28:44 +08:00
Marcus Huewe
3ae6d5dd07
- getbinaries: cleanup
2010-05-22 18:27:11 +02:00
1e5b0e2ffb
runtime fixes for last commit
2010-05-22 08:55:39 +02:00
6cbff920dc
add validation verbose mode for easier debugging
2010-05-22 08:51:04 +02:00
1e985f38e2
* offer access to deleted projects/packages
...
* allow checkout of meta data of packages
* process validators in sorted order
2010-05-22 08:23:09 +02:00
da0c0f6b86
support undelete of project or package
2010-05-21 19:03:20 +02:00
7e0abcd805
Make source validator moduler, execute all scripts in directory
2010-05-20 12:02:53 +02:00
e9b5ca869a
support source validators as pre-checkin check
2010-05-20 06:40:18 +02:00
Pavol Rusnak
273fabb4da
fix osc add
2010-05-19 15:34:59 +02:00
41f925addc
allow to set a temporary comment for a review via "osc review new"
...
(Fate #307506 )
2010-05-19 14:12:49 +02:00
beae2c0cdd
when doing "osc up -e" or "osc up -u" the actual update did not happen,
...
because revision md5 was used from local data. Doing an update of it before.
2010-05-19 13:02:23 +02:00
87a6bf4205
approvenew is a little bit less horrible then acceptallnew, isn't it ?
2010-05-19 12:50:52 +02:00
9f65f138ed
add "osc rq acceptallnew $PROJECT" command to show and accept all request in new state.
...
This makes sense esp. for projects which work with default reviewers before.
(like it is planned for openSUSE:Factory).
In this way the review can happen during the week, people get feedback ASAP when review
fails, but the entire rebuild does not happen before the everything get accepted.
2010-05-19 12:29:56 +02:00
a337968dcb
* support branching with --force, to override existing target.
...
* Sorted OBS 2.0 features in NEWS file
2010-05-19 10:47:01 +02:00
c1de76cc84
allow --force branch, even when target already exists
2010-05-17 20:14:49 +02:00
390b9659fe
extent command description for add
2010-05-14 16:59:45 +02:00
1ca862308b
add support for obs download_url source service.
...
"osc add $URL" is adding a download_url source service to the package now.
This means the server is downloading the file itself, important for reviewing
version updates.
2010-05-14 16:45:58 +02:00
Ludwig Nussel
d292c83205
guess spec file name from current directory
2010-05-12 15:56:33 +02:00
d96aff0ae7
Merge branch 'master' of gitorious.org:opensuse/osc
2010-05-08 08:04:55 +02:00
1c24457bed
fix copypac with same source and destination:
...
If a revision is specified, this is actually a revert call and it has to work.
2010-05-08 08:03:56 +02:00
Ludwig Nussel
81824b3d04
don't die if saving repo list fails
2010-05-07 11:57:42 +02:00
Ludwig Nussel
05e0cb620b
whitespace fixes
2010-05-05 09:03:51 +02:00
Danny Kukawka
5a19362570
add run_pager() and make osc log/diff work like git log/diff
...
Added new function run_pager() to get 'osc log/diff' work like
'git log/diff' which send the output to PAGER (which is by default:
less or what's defined in the environment).
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:30 +02:00
Danny Kukawka
e89e61380b
make sure global option -A works too in a checked out package
...
Make sure global option -A works too in a checked out package.
Always check if -A was passed to command line and use it
instead of the package/project dir information.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:24 +02:00
Danny Kukawka
8bdb78cc8f
get apiurl for 'osc my' from checked out package
...
Get apiurl for 'osc my' from checked out package if possible.
Make sure that global option -A works to in a checked out
package.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:24 +02:00
Danny Kukawka
e35e161b24
added 'osc getbinaries REPOSITORY' to checkout all binaries
...
Added 'osc getbinaries REPOSITORY' to checkout all binaries
(incl. source package) of a REPOSITORY. New option checks out
all architectures into subdirs named as the arch.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:20 +02:00
Danny Kukawka
debfd71048
fix close() statement in download()
...
From 257d823c45b940604c8d3d992b1e1f2da3746074 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:17:17 +0200
Subject: [PATCH] fix close() statement in download()
Fixed warning from pychecker by fixing the close()
statement in download().
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-03 22:33:56 +02:00
Ludwig Nussel
af467cea2d
allow to override vm type on command line
2010-04-30 15:58:31 +02:00
Ludwig Nussel
cfeee1c95d
store list of repos for offline use
2010-04-30 15:58:31 +02:00
Marcus Huewe
95a6643769
- minor cleanup
2010-04-30 15:25:24 +02:00
Marcus Huewe
d55c16cce4
- simplify comment:)
2010-04-30 15:19:35 +02:00
Ludwig Nussel
59b19bd012
use common function for launching an editor
2010-04-28 11:52:15 +02:00
Ludwig Nussel
a0aba626b3
project and package auto detection for osc meta
2010-04-28 11:52:15 +02:00
Ludwig Nussel
cecd75db4d
option to hide download meter when finished
2010-04-28 11:52:14 +02:00
Michal Vyskocil
5d2587e916
print the error message on multiple description files
2010-04-27 18:23:03 +02:00
Michal Vyskocil
f3d7b0e4fc
use glob when searching the build description
2010-04-27 18:18:34 +02:00
Michal Vyskocil
6e388a266a
osc branch reads project/package in package directory
...
The osc branch (withouth arguments) is able to read the project/package
from current package dir and use it.
2010-04-27 12:23:03 +02:00
Marcus Huewe
d0659fb0f4
- core.request_interactive_review(): backward compatibility fix
2010-04-26 17:57:57 +02:00
4db40e23f5
support OBS 2.0 "unresolvable" state, former expansion error state is still supported.
2010-04-23 14:38:34 +02:00
Ludwig Nussel
fc27b4816b
make osc rebuild pick package from working directory
2010-04-23 12:01:24 +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
Marcus Huewe
d0abff3210
- use oscerr.UserAbort()
2010-04-20 15:22: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
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
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
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
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
dc94759aff
- added "--non-interactive" option to "osc rq show"
2010-03-23 16:21:09 +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
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
Marcus Huewe
47beb996ff
- minor changes
2010-03-15 13:34:38 +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
aaf5d9dfaf
- backward compatibility fix: old apis don't support role filtering
2010-03-12 15:22:11 +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
38c0621a90
osc ls -u -- same logic here as mls suggests for osc cat.
2010-03-08 23:52:51 +01:00
Michael Schroeder
9df5940b97
- turn option upside down for consistency
2010-03-08 10:56:29 +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
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
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
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
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
74c73ee8a2
- keyring fix
2010-02-25 14:13:02 +01:00
Ludwig Nussel
32e99306b4
add vim mode lines to avoid evil tab characters :-)
2010-02-25 09:53:45 +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
47edb69394
fix up 'cr' without arguments
...
also add footer with hint what to enter as message
2010-02-24 13:46:43 +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
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
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
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
Ludwig Nussel
d5ae3ef2b4
command line options for cpio (default=off)
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
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
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
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
1cb627a289
allow to skip source services
2010-02-05 10:32:27 +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
048c479a3e
remove broken -l option to osc sr
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
58f4740835
- added new command "osc chroot"
...
- added new helper method parse_repoarchdescr()
2010-01-30 16:18:30 +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
Marcus Huewe
8c50908891
- fixed 'project/package/repository/arch' support
2010-01-28 20:00:34 +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
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
aee78f6150
- fixed do_branch
2010-01-19 19:15:45 +01:00
39ac814169
do not crash on rdiff with 3 arguments ( #571483 )
2010-01-18 10:25:00 +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
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
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
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
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
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