Marcus Huewe [Sat, 22 May 2010 16:27:11 +0000 (18:27 +0200)]
- getbinaries: cleanup
Adrian Schröter [Sat, 22 May 2010 06:55:39 +0000 (08:55 +0200)]
runtime fixes for last commit
Adrian Schröter [Sat, 22 May 2010 06:51:04 +0000 (08:51 +0200)]
add validation verbose mode for easier debugging
Adrian Schröter [Sat, 22 May 2010 06:36:15 +0000 (08:36 +0200)]
don't try to execute temporary files in validator directory
Adrian Schröter [Sat, 22 May 2010 06:22:12 +0000 (08:22 +0200)]
* offer access to deleted projects/packages
* allow checkout of meta data of packages
* process validators in sorted order
Adrian Schröter [Fri, 21 May 2010 17:02:42 +0000 (19:02 +0200)]
support undelete of project or package
Juergen Weigert [Fri, 21 May 2010 09:29:52 +0000 (11:29 +0200)]
Improved english message text.
Adrian Schröter [Thu, 20 May 2010 16:22:20 +0000 (18:22 +0200)]
do not die on helper directories
Adrian Schröter [Thu, 20 May 2010 10:02:53 +0000 (12:02 +0200)]
Make source validator moduler, execute all scripts in directory
Adrian Schröter [Wed, 19 May 2010 16:36:38 +0000 (18:36 +0200)]
support source validators as pre-checkin check
Pavol Rusnak [Wed, 19 May 2010 13:34:59 +0000 (15:34 +0200)]
fix osc add
Adrian Schröter [Wed, 19 May 2010 12:12:49 +0000 (14:12 +0200)]
allow to set a temporary comment for a review via "osc review new"
(Fate #307506)
Adrian Schröter [Wed, 19 May 2010 11:02:23 +0000 (13:02 +0200)]
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.
Adrian Schröter [Wed, 19 May 2010 10:50:52 +0000 (12:50 +0200)]
approvenew is a little bit less horrible then acceptallnew, isn't it ?
Adrian Schröter [Wed, 19 May 2010 10:29:56 +0000 (12:29 +0200)]
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.
Adrian Schröter [Wed, 19 May 2010 08:47:01 +0000 (10:47 +0200)]
* support branching with --force, to override existing target.
* Sorted OBS 2.0 features in NEWS file
Adrian Schröter [Tue, 18 May 2010 14:33:11 +0000 (16:33 +0200)]
use "checksum" to be in sync with other places
Adrian Schröter [Mon, 17 May 2010 18:14:49 +0000 (20:14 +0200)]
allow --force branch, even when target already exists
Adrian Schröter [Mon, 17 May 2010 17:24:00 +0000 (19:24 +0200)]
add sha256 verification for downloaded files via source service
Adrian Schröter [Fri, 14 May 2010 14:59:45 +0000 (16:59 +0200)]
extent command description for add
Adrian Schröter [Fri, 14 May 2010 14:51:18 +0000 (16:51 +0200)]
register "_service" file, in case it got created
Adrian Schröter [Fri, 14 May 2010 14:44:42 +0000 (16:44 +0200)]
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.
Marcus Huewe [Thu, 13 May 2010 16:21:30 +0000 (18:21 +0200)]
- catch PackageError()
Ludwig Nussel [Wed, 12 May 2010 13:55:36 +0000 (15:55 +0200)]
restore mtime handling for getbinaries
Ludwig Nussel [Wed, 12 May 2010 09:41:43 +0000 (11:41 +0200)]
guess spec file name from current directory
Marcus Huewe [Sun, 9 May 2010 19:47:21 +0000 (21:47 +0200)]
- "run_pager()": cleanup + fixed isatty() call
Marcus Huewe [Sun, 9 May 2010 19:36:51 +0000 (21:36 +0200)]
- cut *.changes message after 30 lines (as request by darix)
Marcus Huewe [Sun, 9 May 2010 19:29:42 +0000 (21:29 +0200)]
Merge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Sun, 9 May 2010 19:06:00 +0000 (21:06 +0200)]
- simplify "get_commit_message_template()"
Adrian Schröter [Sat, 8 May 2010 06:04:55 +0000 (08:04 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc
Adrian Schröter [Sat, 8 May 2010 06:03:56 +0000 (08:03 +0200)]
fix copypac with same source and destination:
If a revision is specified, this is actually a revert call and it has to work.
Ludwig Nussel [Fri, 7 May 2010 09:56:42 +0000 (11:56 +0200)]
don't die if saving repo list fails
Marcus Huewe [Thu, 6 May 2010 20:40:35 +0000 (22:40 +0200)]
- osc build: don't fail if a server isn't reachable
Ludwig Nussel [Thu, 6 May 2010 12:24:06 +0000 (14:24 +0200)]
catch cpio errors
TODO: detect if returned file is XML with error code
Ludwig Nussel [Wed, 5 May 2010 07:03:51 +0000 (09:03 +0200)]
whitespace fixes
Danny Kukawka [Mon, 3 May 2010 16:04:26 +0000 (18:04 +0200)]
check if stdout is a tty before call pager
Check if stdout is a tty before call pager otherwise simply
print the text out.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
Danny Kukawka [Mon, 3 May 2010 08:05:36 +0000 (10:05 +0200)]
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>
Danny Kukawka [Fri, 30 Apr 2010 15:13:21 +0000 (17:13 +0200)]
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>
Danny Kukawka [Wed, 21 Apr 2010 13:58:57 +0000 (15:58 +0200)]
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>
Danny Kukawka [Wed, 21 Apr 2010 13:20:40 +0000 (15:20 +0200)]
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>
Danny Kukawka [Mon, 3 May 2010 14:09:01 +0000 (16:09 +0200)]
fix some more close() statements
From
1f9b748c733624e86777173a3fff399d622073b8 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:24:04 +0200
Subject: [PATCH] fix some more close() statements
Fixed warning from pychecker by fixing some close() statements.
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
Danny Kukawka [Mon, 3 May 2010 14:06:33 +0000 (16:06 +0200)]
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>
Danny Kukawka [Mon, 3 May 2010 14:10:15 +0000 (16:10 +0200)]
fixed warning from pychecker
From
208250448c5d438f3906879993013ee126152ce2 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:45:41 +0200
Subject: [PATCH] fixed warning from pychecker
Fixed warning from pychecker: 'Comparisons with True are not necessary
and may not work as expected'
Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
Ludwig Nussel [Mon, 3 May 2010 08:53:12 +0000 (10:53 +0200)]
build result may have no status
Jan-Simon Möller [Sun, 2 May 2010 18:21:35 +0000 (20:21 +0200)]
Update NEWS.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Tue, 27 Apr 2010 18:09:01 +0000 (20:09 +0200)]
Add CB(pre)install hooks to osc
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Ludwig Nussel [Thu, 29 Apr 2010 12:27:42 +0000 (14:27 +0200)]
save log file of vm builds
Ludwig Nussel [Thu, 29 Apr 2010 12:27:29 +0000 (14:27 +0200)]
allow to override vm type on command line
Ludwig Nussel [Thu, 29 Apr 2010 12:27:07 +0000 (14:27 +0200)]
use new build --vm-* options
Ludwig Nussel [Thu, 29 Apr 2010 12:25:38 +0000 (14:25 +0200)]
store list of repos for offline use
Marcus Huewe [Fri, 30 Apr 2010 13:25:24 +0000 (15:25 +0200)]
- minor cleanup
Marcus Huewe [Fri, 30 Apr 2010 13:19:35 +0000 (15:19 +0200)]
- simplify comment:)
Marcus Huewe [Fri, 30 Apr 2010 13:14:00 +0000 (15:14 +0200)]
- store tmpfiles in the default tmpdir
- minor cleanup
Adrian Schröter [Fri, 30 Apr 2010 06:58:18 +0000 (08:58 +0200)]
point users to xen/kvm build enviroments instead of just warning to use osc.
Adrian Schröter [Thu, 29 Apr 2010 13:37:47 +0000 (15:37 +0200)]
fix creation of package link, when target project has the package via linked project.
We might have this also in other places, it is not enough anymore to check for the
existens of a package _meta file, we need also to check the "project" attribute, if it
really comes from this project.
Ludwig Nussel [Wed, 28 Apr 2010 09:49:31 +0000 (11:49 +0200)]
use common function for launching an editor
Ludwig Nussel [Wed, 28 Apr 2010 08:52:32 +0000 (10:52 +0200)]
project and package auto detection for osc meta
Ludwig Nussel [Wed, 17 Mar 2010 15:47:52 +0000 (16:47 +0100)]
display cpio download message immediately
Ludwig Nussel [Thu, 25 Feb 2010 09:43:05 +0000 (10:43 +0100)]
option to hide download meter when finished
Ludwig Nussel [Thu, 25 Feb 2010 09:42:29 +0000 (10:42 +0100)]
use common download code for sources and binaries
Michal Vyskocil [Tue, 27 Apr 2010 16:23:03 +0000 (18:23 +0200)]
print the error message on multiple description files
Michal Vyskocil [Tue, 27 Apr 2010 16:18:34 +0000 (18:18 +0200)]
use glob when searching the build description
Michal Vyskocil [Tue, 27 Apr 2010 10:23:03 +0000 (12:23 +0200)]
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.
Marcus Huewe [Mon, 26 Apr 2010 15:57:57 +0000 (17:57 +0200)]
- core.request_interactive_review(): backward compatibility fix
Adrian Schröter [Fri, 23 Apr 2010 12:38:00 +0000 (14:38 +0200)]
support OBS 2.0 "unresolvable" state, former expansion error state is still supported.
Ludwig Nussel [Fri, 23 Apr 2010 10:01:24 +0000 (12:01 +0200)]
make osc rebuild pick package from working directory
Ludwig Nussel [Thu, 22 Apr 2010 07:35:58 +0000 (09:35 +0200)]
auto --local-package if --alternative-project is used
Marcus Huewe [Thu, 22 Apr 2010 18:13:58 +0000 (20:13 +0200)]
- fixes for old python versions
Marcus Huewe [Thu, 22 Apr 2010 18:05:40 +0000 (20:05 +0200)]
- fixed read_sizelimit()
Adrian Schröter [Thu, 22 Apr 2010 13:27:54 +0000 (15:27 +0200)]
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.
Marcus Huewe [Wed, 21 Apr 2010 13:19:09 +0000 (15:19 +0200)]
Merge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Wed, 21 Apr 2010 13:18:20 +0000 (15:18 +0200)]
- backward compatibility fix (only a recent api/backend supports the missingok parameter)
Michal Vyskocil [Tue, 20 Apr 2010 13:38:52 +0000 (15:38 +0200)]
--csv/--format options for osc results
Michal Vyskocil [Tue, 20 Apr 2010 12:38:14 +0000 (14:38 +0200)]
format_results - apply format string on each dict in results list
Michal Vyskocil [Tue, 20 Apr 2010 12:37:28 +0000 (14:37 +0200)]
aliases (pac, pkg, package) in result dict
Michal Vyskocil [Tue, 20 Apr 2010 12:18:02 +0000 (14:18 +0200)]
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
Marcus Huewe [Tue, 20 Apr 2010 13:29:18 +0000 (15:29 +0200)]
- only offer "d(i)ff" option for submitrequests
Marcus Huewe [Tue, 20 Apr 2010 13:22:03 +0000 (15:22 +0200)]
- use oscerr.UserAbort()
Marcus Huewe [Mon, 19 Apr 2010 15:10:32 +0000 (17:10 +0200)]
- update version to 0.126git
Marcus Huewe [Mon, 19 Apr 2010 15:00:31 +0000 (17:00 +0200)]
- update version to 0.126
Ludwig Nussel [Mon, 19 Apr 2010 11:57:47 +0000 (13:57 +0200)]
unlink key file in case of failure
Marcus Huewe [Sat, 17 Apr 2010 13:29:03 +0000 (15:29 +0200)]
- raise an appropriate exception if a package is missing and --no-init or --offline is specified
Jan-Simon Möller [Sat, 17 Apr 2010 13:19:41 +0000 (15:19 +0200)]
cleanup
Jan-Simon Möller [Sat, 17 Apr 2010 08:53:53 +0000 (10:53 +0200)]
Add support for --preload and --offline to osc build.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Martin Mohring [Sat, 10 Apr 2010 14:50:15 +0000 (16:50 +0200)]
changed: cross build emulation strings in build and osc are now same
Adrian Schröter [Wed, 14 Apr 2010 08:18:01 +0000 (10:18 +0200)]
consider "lxc" a secure enviroment
Adrian Schröter [Wed, 14 Apr 2010 08:15:22 +0000 (10:15 +0200)]
restore 0.125 behaviour again and do not verify packages,
if they are used in a secure VM.
Marcus Huewe [Sat, 10 Apr 2010 13:44:15 +0000 (15:44 +0200)]
- do_diff()/do_rdiff(): added "--missingok" parameter
- always use "missingok=1" when showing the diff for a sr
Marcus Huewe [Fri, 9 Apr 2010 13:57:12 +0000 (15:57 +0200)]
- arghs.. the last commit was not the right fix
Marcus Huewe [Fri, 9 Apr 2010 13:47:07 +0000 (15:47 +0200)]
- try to read the package name first in order to raise a more appropriate exception
- minor restructuring
Marcus Huewe [Fri, 9 Apr 2010 01:37:04 +0000 (03:37 +0200)]
- simplify
Marcus Huewe [Thu, 8 Apr 2010 23:22:26 +0000 (01:22 +0200)]
- handle linkerrors more gracefully
- show revision
Marcus Huewe [Thu, 8 Apr 2010 21:20:50 +0000 (23:20 +0200)]
- updated NEWS file
Marcus Huewe [Thu, 8 Apr 2010 21:15:55 +0000 (23:15 +0200)]
- fix for osc chroot
Michal Vyskocil [Thu, 8 Apr 2010 09:24:13 +0000 (11:24 +0200)]
attribute_branch_pkg: raise APIError instead of string
Marcus Huewe [Wed, 7 Apr 2010 01:06:03 +0000 (03:06 +0200)]
- 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...).
Michal Vyskocil [Tue, 6 Apr 2010 09:07:56 +0000 (11:07 +0200)]
print a real content of linkinfo->project and package, not the same filelist twice
Michal Vyskocil [Tue, 6 Apr 2010 09:04:48 +0000 (11:04 +0200)]
do not compare boolean with 0
Michal Vyskocil [Tue, 6 Apr 2010 08:57:49 +0000 (10:57 +0200)]
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
Ludwig Nussel [Tue, 30 Mar 2010 12:22:06 +0000 (14:22 +0200)]
remove build-vmdisk-autosetup and build-vmdisk-force