opensuse:osc.git
12 years agonormalize apiurl
Ludwig Nussel [Wed, 23 Jun 2010 12:20:56 +0000 (14:20 +0200)]
normalize apiurl

12 years agocompact empty lines
Ludwig Nussel [Wed, 23 Jun 2010 11:58:53 +0000 (13:58 +0200)]
compact empty lines

12 years agoauto apiurl for osc meta
Ludwig Nussel [Fri, 18 Jun 2010 14:06:01 +0000 (16:06 +0200)]
auto apiurl for osc meta

12 years agofix getbinaries --sources
Ludwig Nussel [Wed, 23 Jun 2010 12:47:32 +0000 (14:47 +0200)]
fix getbinaries --sources

12 years agoanother fix for osc results -r/-a in project directories
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).

12 years agofixed osc results -r/-a, pass values to get_package_results()
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.

12 years ago_product packages have _meta files ...
Adrian Schröter [Fri, 18 Jun 2010 09:43:42 +0000 (11:43 +0200)]
_product packages have _meta files ...

12 years agofixed some warnings from pychecker
Danny Kukawka [Tue, 15 Jun 2010 15:07:14 +0000 (17:07 +0200)]
fixed some warnings from pychecker

12 years agofixed whitespaces in osc getbinaries help text
Danny Kukawka [Tue, 15 Jun 2010 14:38:48 +0000 (16:38 +0200)]
fixed whitespaces in osc getbinaries help text

12 years ago- ignore tmp files from "vc" (*.changes.*)
Marcus Huewe [Mon, 14 Jun 2010 13:39:05 +0000 (15:39 +0200)]
- ignore tmp files from "vc" (*.changes.*)

12 years agoRevert "package cache should be in /var/cache not in /var/tmp"
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 :-/

12 years agopackage cache should be in /var/cache not in /var/tmp
Pavol Rusnak [Wed, 9 Jun 2010 15:58:29 +0000 (17:58 +0200)]
package cache should be in /var/cache not in /var/tmp

12 years agoFix typo.
Michal Čihař [Wed, 9 Jun 2010 12:48:11 +0000 (14:48 +0200)]
Fix typo.

12 years agoWhitespace fixup.
Michal Čihař [Wed, 9 Jun 2010 12:34:04 +0000 (14:34 +0200)]
Whitespace fixup.

12 years agoUse standard method for running editor.
Michal Čihař [Wed, 9 Jun 2010 12:28:03 +0000 (14:28 +0200)]
Use standard method for running editor.

12 years agoUpdate news to mention editor selection.
Michal Čihař [Wed, 9 Jun 2010 12:25:14 +0000 (14:25 +0200)]
Update news to mention editor selection.

12 years agoUse new functions for getting default pager/editor.
Michal Čihař [Wed, 9 Jun 2010 12:22:46 +0000 (14:22 +0200)]
Use new functions for getting default pager/editor.

12 years agoImplement functions to get defaults for editor/pager.
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.

12 years agoand start with 0.128 development
Adrian Schröter [Wed, 9 Jun 2010 11:00:35 +0000 (13:00 +0200)]
and start with 0.128 development

12 years agotag it as 0.127 0.127
Adrian Schröter [Wed, 9 Jun 2010 10:59:36 +0000 (12:59 +0200)]
tag it as 0.127

12 years agomake it possible to run local source services on checkout/update
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

12 years agofix typo, wrong package name recommended.
Adrian Schröter [Mon, 7 Jun 2010 12:30:36 +0000 (14:30 +0200)]
fix typo, wrong package name recommended.

12 years agofix osc log without arguments
Ludwig Nussel [Mon, 7 Jun 2010 07:01:32 +0000 (09:01 +0200)]
fix osc log without arguments

12 years ago- print name of the missing key
Marcus Huewe [Thu, 27 May 2010 19:44:35 +0000 (21:44 +0200)]
- print name of the missing key

12 years ago- fix result query, build package list from all results
Michael Schroeder [Thu, 27 May 2010 15:05:40 +0000 (17:05 +0200)]
- fix result query, build package list from all results

12 years agoadd propper error handling in case running "osc log" outside of checked out project...
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

12 years agosupport history of projects via "osc log"
Adrian Schröter [Thu, 27 May 2010 05:17:27 +0000 (07:17 +0200)]
support history of projects via "osc log"

12 years ago- cleanups
Marcus Huewe [Thu, 27 May 2010 00:18:00 +0000 (02:18 +0200)]
- cleanups
- fixed do_log
- use "safe writes" in init_package_dir()

12 years ago- cleanup the new "meta mode" a bit
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..)

12 years agofix typo
Adrian Schröter [Wed, 26 May 2010 14:46:01 +0000 (16:46 +0200)]
fix typo

12 years agodo not run services on "osc update" by default.
Adrian Schröter [Wed, 26 May 2010 14:35:20 +0000 (16:35 +0200)]
do not run services on "osc update" by default.

12 years agosi.execute now uses shutil.move instead of os.rename,
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...

12 years ago- fixed import warning + small cleanup
Marcus Huewe [Tue, 25 May 2010 16:41:15 +0000 (18:41 +0200)]
- fixed import warning + small cleanup

12 years ago- fixed message str
Marcus Huewe [Tue, 25 May 2010 16:31:50 +0000 (18:31 +0200)]
- fixed message str

12 years agouse correct apiurl when triggering a rebuild of local package
Adrian Schröter [Tue, 25 May 2010 15:50:36 +0000 (17:50 +0200)]
use correct apiurl when triggering a rebuild of local package

12 years agosupport checkout of underscore packages
Adrian Schröter [Tue, 25 May 2010 12:53:20 +0000 (14:53 +0200)]
support checkout of underscore packages

12 years agoharmonized osc parameters, user always "-M" for "--meta"
Adrian Schröter [Tue, 25 May 2010 12:00:50 +0000 (14:00 +0200)]
harmonized osc parameters, user always "-M" for "--meta"

12 years agofix commit of files in meta mode
Adrian Schröter [Tue, 25 May 2010 11:59:46 +0000 (13:59 +0200)]
fix commit of files in meta mode

12 years agoadd creation of multiple action requests to NEW file (implmented by Brook Hong)
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)

12 years ago- fixed permissions
Marcus Huewe [Mon, 24 May 2010 20:40:31 +0000 (22:40 +0200)]
- fixed permissions

12 years agoimplement https://features.opensuse.org/309351
brook hong [Mon, 24 May 2010 11:28:44 +0000 (19:28 +0800)]
implement https://features.opensuse.org/309351

12 years ago- getbinaries: cleanup
Marcus Huewe [Sat, 22 May 2010 16:27:11 +0000 (18:27 +0200)]
- getbinaries: cleanup

12 years agoruntime fixes for last commit
Adrian Schröter [Sat, 22 May 2010 06:55:39 +0000 (08:55 +0200)]
runtime fixes for last commit

12 years agoadd validation verbose mode for easier debugging
Adrian Schröter [Sat, 22 May 2010 06:51:04 +0000 (08:51 +0200)]
add validation verbose mode for easier debugging

12 years agodon't try to execute temporary files in validator directory
Adrian Schröter [Sat, 22 May 2010 06:36:15 +0000 (08:36 +0200)]
don't try to execute temporary files in validator directory

12 years ago* offer access to deleted projects/packages
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

12 years agosupport undelete of project or package
Adrian Schröter [Fri, 21 May 2010 17:02:42 +0000 (19:02 +0200)]
support undelete of project or package

12 years agoImproved english message text.
Juergen Weigert [Fri, 21 May 2010 09:29:52 +0000 (11:29 +0200)]
Improved english message text.

12 years agodo not die on helper directories
Adrian Schröter [Thu, 20 May 2010 16:22:20 +0000 (18:22 +0200)]
do not die on helper directories

12 years agoMake source validator moduler, execute all scripts in directory
Adrian Schröter [Thu, 20 May 2010 10:02:53 +0000 (12:02 +0200)]
Make source validator moduler, execute all scripts in directory

12 years agosupport source validators as pre-checkin check
Adrian Schröter [Wed, 19 May 2010 16:36:38 +0000 (18:36 +0200)]
support source validators as pre-checkin check

12 years agofix osc add
Pavol Rusnak [Wed, 19 May 2010 13:34:59 +0000 (15:34 +0200)]
fix osc add

12 years agoallow to set a temporary comment for a review via "osc review new"
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)

12 years agowhen doing "osc up -e" or "osc up -u" the actual update did not happen,
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.

12 years agoapprovenew is a little bit less horrible then acceptallnew, isn't it ?
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 ?

12 years agoadd "osc rq acceptallnew $PROJECT" command to show and accept all request in new...
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.

12 years ago* support branching with --force, to override existing target.
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

12 years agouse "checksum" to be in sync with other places
Adrian Schröter [Tue, 18 May 2010 14:33:11 +0000 (16:33 +0200)]
use "checksum" to be in sync with other places

12 years agoallow --force branch, even when target already exists
Adrian Schröter [Mon, 17 May 2010 18:14:49 +0000 (20:14 +0200)]
allow --force branch, even when target already exists

12 years agoadd sha256 verification for downloaded files via source service
Adrian Schröter [Mon, 17 May 2010 17:24:00 +0000 (19:24 +0200)]
add sha256 verification for downloaded files via source service

12 years agoextent command description for add
Adrian Schröter [Fri, 14 May 2010 14:59:45 +0000 (16:59 +0200)]
extent command description for add

12 years agoregister "_service" file, in case it got created
Adrian Schröter [Fri, 14 May 2010 14:51:18 +0000 (16:51 +0200)]
register "_service" file, in case it got created

12 years agoadd support for obs download_url source service.
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.

12 years ago- catch PackageError()
Marcus Huewe [Thu, 13 May 2010 16:21:30 +0000 (18:21 +0200)]
- catch PackageError()

12 years agorestore mtime handling for getbinaries
Ludwig Nussel [Wed, 12 May 2010 13:55:36 +0000 (15:55 +0200)]
restore mtime handling for getbinaries

12 years agoguess spec file name from current directory
Ludwig Nussel [Wed, 12 May 2010 09:41:43 +0000 (11:41 +0200)]
guess spec file name from current directory

12 years ago- "run_pager()": cleanup + fixed isatty() call
Marcus Huewe [Sun, 9 May 2010 19:47:21 +0000 (21:47 +0200)]
- "run_pager()": cleanup + fixed isatty() call

12 years ago- cut *.changes message after 30 lines (as request by darix)
Marcus Huewe [Sun, 9 May 2010 19:36:51 +0000 (21:36 +0200)]
- cut *.changes message after 30 lines (as request by darix)

12 years agoMerge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Sun, 9 May 2010 19:29:42 +0000 (21:29 +0200)]
Merge branch 'master' of git://gitorious.org/opensuse/osc

12 years ago- simplify "get_commit_message_template()"
Marcus Huewe [Sun, 9 May 2010 19:06:00 +0000 (21:06 +0200)]
- simplify "get_commit_message_template()"

12 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Adrian Schröter [Sat, 8 May 2010 06:04:55 +0000 (08:04 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

12 years agofix copypac with same source and destination:
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.

12 years agodon't die if saving repo list fails
Ludwig Nussel [Fri, 7 May 2010 09:56:42 +0000 (11:56 +0200)]
don't die if saving repo list fails

12 years ago- osc build: don't fail if a server isn't reachable
Marcus Huewe [Thu, 6 May 2010 20:40:35 +0000 (22:40 +0200)]
- osc build: don't fail if a server isn't reachable

12 years agocatch cpio errors
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

12 years agowhitespace fixes
Ludwig Nussel [Wed, 5 May 2010 07:03:51 +0000 (09:03 +0200)]
whitespace fixes

12 years agocheck if stdout is a tty before call pager
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>
12 years agoadd run_pager() and make osc log/diff work like git log/diff
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>
12 years agomake sure global option -A works too in a checked out package
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>
12 years agoget apiurl for 'osc my' from checked out package
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>
12 years agoadded 'osc getbinaries REPOSITORY' to checkout all binaries
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>
12 years agofix some more close() statements
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>
12 years agofix close() statement in download()
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>
12 years agofixed warning from pychecker
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>
12 years agobuild result may have no status
Ludwig Nussel [Mon, 3 May 2010 08:53:12 +0000 (10:53 +0200)]
build result may have no status

12 years agoUpdate NEWS.
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>
12 years agoAdd CB(pre)install hooks to osc
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>
12 years agosave log file of vm builds
Ludwig Nussel [Thu, 29 Apr 2010 12:27:42 +0000 (14:27 +0200)]
save log file of vm builds

12 years agoallow to override vm type on command line
Ludwig Nussel [Thu, 29 Apr 2010 12:27:29 +0000 (14:27 +0200)]
allow to override vm type on command line

12 years agouse new build --vm-* options
Ludwig Nussel [Thu, 29 Apr 2010 12:27:07 +0000 (14:27 +0200)]
use new build --vm-* options

12 years agostore list of repos for offline use
Ludwig Nussel [Thu, 29 Apr 2010 12:25:38 +0000 (14:25 +0200)]
store list of repos for offline use

12 years ago- minor cleanup
Marcus Huewe [Fri, 30 Apr 2010 13:25:24 +0000 (15:25 +0200)]
- minor cleanup

12 years ago- simplify comment:)
Marcus Huewe [Fri, 30 Apr 2010 13:19:35 +0000 (15:19 +0200)]
- simplify comment:)

12 years ago- store tmpfiles in the default tmpdir
Marcus Huewe [Fri, 30 Apr 2010 13:14:00 +0000 (15:14 +0200)]
- store tmpfiles in the default tmpdir
- minor cleanup

12 years agopoint users to xen/kvm build enviroments instead of just warning to use osc.
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.

12 years agofix creation of package link, when target project has the package via linked project.
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.

12 years agouse common function for launching an editor
Ludwig Nussel [Wed, 28 Apr 2010 09:49:31 +0000 (11:49 +0200)]
use common function for launching an editor

12 years agoproject and package auto detection for osc meta
Ludwig Nussel [Wed, 28 Apr 2010 08:52:32 +0000 (10:52 +0200)]
project and package auto detection for osc meta

12 years agodisplay cpio download message immediately
Ludwig Nussel [Wed, 17 Mar 2010 15:47:52 +0000 (16:47 +0100)]
display cpio download message immediately

12 years agooption to hide download meter when finished
Ludwig Nussel [Thu, 25 Feb 2010 09:43:05 +0000 (10:43 +0100)]
option to hide download meter when finished