opensuse:osc.git
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

13 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

13 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.

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

13 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

13 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

13 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

13 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"

13 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()

13 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..)

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

13 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.

13 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...

13 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

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

13 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

13 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

13 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"

13 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

13 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)

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

13 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

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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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)

13 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.

13 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 ?

13 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.

13 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

13 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

13 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

13 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

13 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

13 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

13 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.

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

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

13 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

13 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

13 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)

13 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

13 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()"

13 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

13 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.

13 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

13 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

13 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

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

13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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

13 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>
13 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>
13 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

13 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

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

13 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

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

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

13 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

13 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.

13 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.

13 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

13 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

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

13 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

13 years agouse common download code for sources and binaries
Ludwig Nussel [Thu, 25 Feb 2010 09:42:29 +0000 (10:42 +0100)]
use common download code for sources and binaries

13 years agoprint the error message on multiple description files
Michal Vyskocil [Tue, 27 Apr 2010 16:23:03 +0000 (18:23 +0200)]
print the error message on multiple description files

13 years agouse glob when searching the build description
Michal Vyskocil [Tue, 27 Apr 2010 16:18:34 +0000 (18:18 +0200)]
use glob when searching the build description

13 years agoosc branch reads project/package in package directory
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.

13 years ago- core.request_interactive_review(): backward compatibility fix
Marcus Huewe [Mon, 26 Apr 2010 15:57:57 +0000 (17:57 +0200)]
- core.request_interactive_review(): backward compatibility fix

13 years agosupport OBS 2.0 "unresolvable" state, former expansion error state is still supported.
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.

13 years agomake osc rebuild pick package from working directory
Ludwig Nussel [Fri, 23 Apr 2010 10:01:24 +0000 (12:01 +0200)]
make osc rebuild pick package from working directory

13 years agoauto --local-package if --alternative-project is used
Ludwig Nussel [Thu, 22 Apr 2010 07:35:58 +0000 (09:35 +0200)]
auto --local-package if --alternative-project is used

13 years ago- fixes for old python versions
Marcus Huewe [Thu, 22 Apr 2010 18:13:58 +0000 (20:13 +0200)]
- fixes for old python versions

13 years ago- fixed read_sizelimit()
Marcus Huewe [Thu, 22 Apr 2010 18:05:40 +0000 (20:05 +0200)]
- fixed read_sizelimit()

13 years agoadd a --size-limit option to checkout and update.
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.

13 years agoMerge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Wed, 21 Apr 2010 13:19:09 +0000 (15:19 +0200)]
Merge branch 'master' of git://gitorious.org/opensuse/osc

13 years ago- backward compatibility fix (only a recent api/backend supports the missingok parameter)
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)

13 years ago--csv/--format options for osc results
Michal Vyskocil [Tue, 20 Apr 2010 13:38:52 +0000 (15:38 +0200)]
--csv/--format options for osc results

13 years agoformat_results - apply format string on each dict in results list
Michal Vyskocil [Tue, 20 Apr 2010 12:38:14 +0000 (14:38 +0200)]
format_results - apply format string on each dict in results list

13 years agoaliases (pac, pkg, package) in result dict
Michal Vyskocil [Tue, 20 Apr 2010 12:37:28 +0000 (14:37 +0200)]
aliases (pac, pkg, package) in result dict

13 years agosplit the formating rules from get_results
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

13 years ago- only offer "d(i)ff" option for submitrequests
Marcus Huewe [Tue, 20 Apr 2010 13:29:18 +0000 (15:29 +0200)]
- only offer "d(i)ff" option for submitrequests

13 years ago- use oscerr.UserAbort()
Marcus Huewe [Tue, 20 Apr 2010 13:22:03 +0000 (15:22 +0200)]
- use oscerr.UserAbort()