Danny Kukawka [Mon, 28 Jun 2010 11:00:34 +0000 (13:00 +0200)]
fixed tempfile leaking in osc diff function
The osc diff function leaves tempfiles in /tmp after finished.
Call os.unlink() to remove the file if no longer needed.
Danny Kukawka [Sun, 27 Jun 2010 19:21:08 +0000 (21:21 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc
Danny Kukawka [Sun, 27 Jun 2010 17:07:46 +0000 (19:07 +0200)]
extended 'osc wipebinaries' to read package/project from dirs
Extended 'osc wipebinaries' to read package/project from checked out
directories if possible.
Ludwig Nussel [Thu, 24 Jun 2010 08:51:38 +0000 (10:51 +0200)]
add support for --oldpackages
Ludwig Nussel [Wed, 23 Jun 2010 12:40:55 +0000 (14:40 +0200)]
implement trusted projects
Ludwig Nussel [Wed, 23 Jun 2010 12:20:56 +0000 (14:20 +0200)]
normalize apiurl
Ludwig Nussel [Wed, 23 Jun 2010 11:58:53 +0000 (13:58 +0200)]
compact empty lines
Ludwig Nussel [Fri, 18 Jun 2010 14:06:01 +0000 (16:06 +0200)]
auto apiurl for osc meta
Ludwig Nussel [Wed, 23 Jun 2010 12:47:32 +0000 (14:47 +0200)]
fix getbinaries --sources
Danny Kukawka [Mon, 21 Jun 2010 15:10:25 +0000 (17:10 +0200)]
another fix for osc results -r/-a in project directories
Fixed osc results -r/-a in project directories by fixing filtering
of architecture and repository (they are arrays and not strings).
Danny Kukawka [Fri, 18 Jun 2010 15:55:06 +0000 (17:55 +0200)]
fixed osc results -r/-a, pass values to get_package_results()
Fixes osc results -r/-a. Don't use in get_results() default
values to call get_package_results(), this makes no sense since
get_results() already defines defaults.
Adrian Schröter [Fri, 18 Jun 2010 09:43:42 +0000 (11:43 +0200)]
_product packages have _meta files ...
Danny Kukawka [Tue, 15 Jun 2010 15:07:14 +0000 (17:07 +0200)]
fixed some warnings from pychecker
Danny Kukawka [Tue, 15 Jun 2010 14:38:48 +0000 (16:38 +0200)]
fixed whitespaces in osc getbinaries help text
Marcus Huewe [Mon, 14 Jun 2010 13:39:05 +0000 (15:39 +0200)]
- ignore tmp files from "vc" (*.changes.*)
Pavol Rusnak [Wed, 9 Jun 2010 16:00:16 +0000 (18:00 +0200)]
Revert "package cache should be in /var/cache not in /var/tmp"
This reverts commit
8d3458196095c89b61de5ab948699974e279d3a1.
/var/cache is not writable for everyone :-/
Pavol Rusnak [Wed, 9 Jun 2010 15:58:29 +0000 (17:58 +0200)]
package cache should be in /var/cache not in /var/tmp
Michal Čihař [Wed, 9 Jun 2010 12:48:11 +0000 (14:48 +0200)]
Fix typo.
Michal Čihař [Wed, 9 Jun 2010 12:34:04 +0000 (14:34 +0200)]
Whitespace fixup.
Michal Čihař [Wed, 9 Jun 2010 12:28:03 +0000 (14:28 +0200)]
Use standard method for running editor.
Michal Čihař [Wed, 9 Jun 2010 12:25:14 +0000 (14:25 +0200)]
Update news to mention editor selection.
Michal Čihař [Wed, 9 Jun 2010 12:22:46 +0000 (14:22 +0200)]
Use new functions for getting default pager/editor.
Michal Čihař [Wed, 9 Jun 2010 12:20:48 +0000 (14:20 +0200)]
Implement functions to get defaults for editor/pager.
These are platform specific, for example on Debian we want to use
the ones provided by sensible-utils.
Adrian Schröter [Wed, 9 Jun 2010 11:00:35 +0000 (13:00 +0200)]
and start with 0.128 development
Adrian Schröter [Wed, 9 Jun 2010 10:59:36 +0000 (12:59 +0200)]
tag it as 0.127
Adrian Schröter [Tue, 8 Jun 2010 09:24:10 +0000 (11:24 +0200)]
make it possible to run local source services on checkout/update
Adrian Schröter [Mon, 7 Jun 2010 12:30:36 +0000 (14:30 +0200)]
fix typo, wrong package name recommended.
Ludwig Nussel [Mon, 7 Jun 2010 07:01:32 +0000 (09:01 +0200)]
fix osc log without arguments
Marcus Huewe [Thu, 27 May 2010 19:44:35 +0000 (21:44 +0200)]
- print name of the missing key
Michael Schroeder [Thu, 27 May 2010 15:05:40 +0000 (17:05 +0200)]
- fix result query, build package list from all results
Adrian Schröter [Thu, 27 May 2010 05:21:33 +0000 (07:21 +0200)]
add propper error handling in case running "osc log" outside of checked out project/package
Adrian Schröter [Thu, 27 May 2010 05:17:27 +0000 (07:17 +0200)]
support history of projects via "osc log"
Marcus Huewe [Thu, 27 May 2010 00:18:00 +0000 (02:18 +0200)]
- cleanups
- fixed do_log
- use "safe writes" in init_package_dir()
Marcus Huewe [Wed, 26 May 2010 23:54:04 +0000 (01:54 +0200)]
- cleanup the new "meta mode" a bit
currently it isn't possible to change from "meta mode" to "normal" mode
(except with some dirty hacks..)
Adrian Schröter [Wed, 26 May 2010 14:46:01 +0000 (16:46 +0200)]
fix typo
Adrian Schröter [Wed, 26 May 2010 14:35:20 +0000 (16:35 +0200)]
do not run services on "osc update" by default.
Juergen Weigert [Wed, 26 May 2010 14:25:20 +0000 (16:25 +0200)]
si.execute now uses shutil.move instead of os.rename,
in case /tmp/ is on its own filesystem...
Marcus Huewe [Tue, 25 May 2010 16:41:15 +0000 (18:41 +0200)]
- fixed import warning + small cleanup
Marcus Huewe [Tue, 25 May 2010 16:31:50 +0000 (18:31 +0200)]
- fixed message str
Adrian Schröter [Tue, 25 May 2010 15:50:36 +0000 (17:50 +0200)]
use correct apiurl when triggering a rebuild of local package
Adrian Schröter [Tue, 25 May 2010 12:53:20 +0000 (14:53 +0200)]
support checkout of underscore packages
Adrian Schröter [Tue, 25 May 2010 12:00:50 +0000 (14:00 +0200)]
harmonized osc parameters, user always "-M" for "--meta"
Adrian Schröter [Tue, 25 May 2010 11:59:46 +0000 (13:59 +0200)]
fix commit of files in meta mode
Adrian Schröter [Tue, 25 May 2010 10:07:41 +0000 (12:07 +0200)]
add creation of multiple action requests to NEW file (implmented by Brook Hong)
Marcus Huewe [Mon, 24 May 2010 20:40:31 +0000 (22:40 +0200)]
- fixed permissions
brook hong [Mon, 24 May 2010 11:28:44 +0000 (19:28 +0800)]
implement https://features.opensuse.org/309351
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.