opensuse:jfdings-osc.git
8 years agobug: should specify 'src_rev' when get details for newpkg
JF Ding [Tue, 25 May 2010 06:00:48 +0000 (14:00 +0800)]
bug: should specify 'src_rev' when get details for newpkg

use "revision=src_rev" params in calling of get_source_file_content
and meta_get_filelist

8 years agoshow mailing list addr when sending mail
JF Ding [Wed, 19 May 2010 12:19:17 +0000 (20:19 +0800)]
show mailing list addr when sending mail

8 years agonew conf keys for sending mail feature
JF Ding [Wed, 19 May 2010 12:02:28 +0000 (20:02 +0800)]
new conf keys for sending mail feature

Added two new conf key: 'commit_mailing_list' and 'smtp_server'
    'smtp_server' is a global [general] key, with default value ''
    'commit_mailing_list' can be either a global key, or a apiurl
        section key, and global value can be overrided by apiurl
        special one if specified.

If both the two keys specified with valid value, 'sendrequest'
command will send declaration mails to that mailing list.

8 years agonew feature for 'sr' to send mail to mailing list
JF Ding [Mon, 10 May 2010 10:58:56 +0000 (18:58 +0800)]
new feature for 'sr' to send mail to mailing list

With this commit, if user specifying both:
    'commit_mailing_list' (the mail address for mailing list)
and:
    'smtp_server' (hostname of smtp server),
'sendrequest' commmand will send declaration mails to this mailing list
for each new request.

a few helper functions were added to support sending mail and generating
detailed report for requests.

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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

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

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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

8 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

8 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

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

8 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

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

8 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

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

8 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

8 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

8 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

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

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

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

8 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

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

8 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

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

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

8 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

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

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

8 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

8 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

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

8 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

8 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

8 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

8 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

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

8 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

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

8 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

8 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

8 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

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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

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

8 years ago- update version to 0.126git
Marcus Huewe [Mon, 19 Apr 2010 15:10:32 +0000 (17:10 +0200)]
- update version to 0.126git

8 years ago- update version to 0.126
Marcus Huewe [Mon, 19 Apr 2010 15:00:31 +0000 (17:00 +0200)]
- update version to 0.126

8 years agounlink key file in case of failure
Ludwig Nussel [Mon, 19 Apr 2010 11:57:47 +0000 (13:57 +0200)]
unlink key file in case of failure

8 years ago- raise an appropriate exception if a package is missing and --no-init or --offline...
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

8 years agocleanup
Jan-Simon Möller [Sat, 17 Apr 2010 13:19:41 +0000 (15:19 +0200)]
cleanup

8 years agoAdd support for --preload and --offline to osc build.
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>
8 years agochanged: cross build emulation strings in build and osc are now same
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

8 years agoconsider "lxc" a secure enviroment
Adrian Schröter [Wed, 14 Apr 2010 08:18:01 +0000 (10:18 +0200)]
consider "lxc" a secure enviroment

8 years agorestore 0.125 behaviour again and do not verify packages,
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.

8 years ago- do_diff()/do_rdiff(): added "--missingok" parameter
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

8 years ago- arghs.. the last commit was not the right fix
Marcus Huewe [Fri, 9 Apr 2010 13:57:12 +0000 (15:57 +0200)]
- arghs.. the last commit was not the right fix

8 years ago- try to read the package name first in order to raise a more appropriate exception
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

8 years ago- simplify
Marcus Huewe [Fri, 9 Apr 2010 01:37:04 +0000 (03:37 +0200)]
- simplify

8 years ago- handle linkerrors more gracefully
Marcus Huewe [Thu, 8 Apr 2010 23:22:26 +0000 (01:22 +0200)]
- handle linkerrors more gracefully
- show revision

8 years ago- updated NEWS file
Marcus Huewe [Thu, 8 Apr 2010 21:20:50 +0000 (23:20 +0200)]
- updated NEWS file

8 years ago- fix for osc chroot
Marcus Huewe [Thu, 8 Apr 2010 21:15:55 +0000 (23:15 +0200)]
- fix for osc chroot

8 years agoattribute_branch_pkg: raise APIError instead of string
Michal Vyskocil [Thu, 8 Apr 2010 09:24:13 +0000 (11:24 +0200)]
attribute_branch_pkg: raise APIError instead of string

8 years ago- fixed #590606 ("osc/fetch.py does not support authenticated URLs")
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...).