opensuse:osc.git
12 years agoadded new command 'osc distributions'
Danny Kukawka [Wed, 28 Jul 2010 14:04:27 +0000 (16:04 +0200)]
added new command 'osc distributions'

added new command 'osc distributions' to get info about active
and discontinued distributions.

12 years agoreuse apiurl instead reading it again and again from config
Danny Kukawka [Tue, 27 Jul 2010 14:06:49 +0000 (16:06 +0200)]
reuse apiurl instead reading it again and again from config

12 years agochanged print_repos() to print only repos on request
Danny Kukawka [Tue, 27 Jul 2010 12:31:12 +0000 (14:31 +0200)]
changed print_repos() to print only repos on request

Changed print_repos() to print only repos (and not repo and arch)
on request since 'osc buildinfo' needs only the repo as parameter.

Fixed do_repositories() apiurl handling and changed to get the
project from checked out project or package dir if available.

12 years agodon't raise error message after self.print_repos()
Danny Kukawka [Tue, 27 Jul 2010 12:03:26 +0000 (14:03 +0200)]
don't raise error message after self.print_repos()

Don't raise error message after self.print_repos(), since the
message will never be printed.

12 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Danny Kukawka [Tue, 27 Jul 2010 12:01:19 +0000 (14:01 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

12 years agofixed 'osc buildconfig'
Danny Kukawka [Tue, 27 Jul 2010 11:58:52 +0000 (13:58 +0200)]
fixed 'osc buildconfig'

Fixed 'osc buildconfig'. Don't ask for package and arch since the
API don't allow to filter for a package or a architecture.

Remove related and useless parameter from get_buildconfig() in
core.py

12 years ago - fixed references into en.opensuse.org to honor the new wiki structure
Juergen Weigert [Mon, 26 Jul 2010 17:45:42 +0000 (19:45 +0200)]
  - fixed references into en.opensuse.org to honor the new wiki structure
    (redirects added in the wiki for the three URLs on 'osc help' -
    all other URLs remain broken until this osc gets deployed)

12 years ago- do_buildlog: show appropriate error msg if too many args are specified
Marcus Huewe [Mon, 26 Jul 2010 17:02:48 +0000 (19:02 +0200)]
- do_buildlog: show appropriate error msg if too many args are specified

12 years agofixed serveral warnings from pychecker.py
Danny Kukawka [Mon, 26 Jul 2010 14:46:21 +0000 (16:46 +0200)]
fixed serveral warnings from pychecker.py

Fixed serveral warnings from pychecker.py like such:
- Parameter ($) not used
- Local variable ($) not used

Including fixes like:
- remove not needed imports
- don't read apiurl in core.py from config if already available via
  function parameter
- delPerson(): check for user as e.g. in addPerson()

12 years ago- do_buildinfo: support --prefer-pkgs
Marcus Huewe [Mon, 26 Jul 2010 13:41:02 +0000 (15:41 +0200)]
- do_buildinfo: support --prefer-pkgs

12 years agofix "osc up" on broken link (as instructed by Michael ;)
Adrian Schröter [Fri, 23 Jul 2010 14:17:39 +0000 (16:17 +0200)]
fix "osc up" on broken link (as instructed by Michael ;)

12 years agopoint the users to the "branch" command
Adrian Schröter [Wed, 21 Jul 2010 07:46:54 +0000 (09:46 +0200)]
point the users to the "branch" command

12 years agoimport "osc aggregate --nosources" feature, implemented by brook.hong@nokia.com
Adrian Schröter [Tue, 20 Jul 2010 12:48:27 +0000 (14:48 +0200)]
import "osc aggregate --nosources" feature, implemented by brook.hong@nokia.com

12 years agodo not source validate special packages which start with an underscore
Adrian Schröter [Mon, 19 Jul 2010 16:03:18 +0000 (18:03 +0200)]
do not source validate special packages which start with an underscore

12 years agoAnother case of dash escaping.
Michal Čihař [Mon, 19 Jul 2010 09:13:08 +0000 (11:13 +0200)]
Another case of dash escaping.

12 years agoFix typo.
Michal Čihař [Mon, 19 Jul 2010 09:10:15 +0000 (11:10 +0200)]
Fix typo.

12 years agoopen 0.129 development
Adrian Schröter [Sun, 18 Jul 2010 14:28:21 +0000 (16:28 +0200)]
open 0.129 development

12 years agoRevert "no need to warn about empty validator dir" 0.128
Adrian Schröter [Fri, 16 Jul 2010 13:57:28 +0000 (15:57 +0200)]
Revert "no need to warn about empty validator dir"
after discussion, we will provide an update with osc-source_validator instead

This reverts commit 828bb264ca7a121c15d48d586e498589e51d8461.

12 years agoupdate NEWS file and prepare for 0.128 release
Adrian Schröter [Fri, 16 Jul 2010 13:36:07 +0000 (15:36 +0200)]
update NEWS file and prepare for 0.128 release

12 years agofix python syntax error from last commit
Adrian Schröter [Wed, 14 Jul 2010 15:28:48 +0000 (17:28 +0200)]
fix python syntax error from last commit

12 years agoUse vi as the fallback editor on Fedora; vim not guaranteed to exist
Michel Alexandre Salim [Thu, 1 Jul 2010 12:48:15 +0000 (14:48 +0200)]
Use vi as the fallback editor on Fedora; vim not guaranteed to exist

12 years ago- fixed SyntaxError
Marcus Huewe [Tue, 13 Jul 2010 12:53:25 +0000 (14:53 +0200)]
- fixed SyntaxError

12 years agoadd signkey --extend command
Adrian Schröter [Tue, 13 Jul 2010 11:53:47 +0000 (13:53 +0200)]
add signkey --extend command

12 years ago- fixed import
Marcus Huewe [Tue, 13 Jul 2010 10:13:25 +0000 (12:13 +0200)]
- fixed import

12 years ago- removed useless continue
Marcus Huewe [Tue, 13 Jul 2010 09:37:01 +0000 (11:37 +0200)]
- removed useless continue

12 years agochanged do_repos() to filter out disabled repos of a package
Danny Kukawka [Mon, 12 Jul 2010 12:56:08 +0000 (14:56 +0200)]
changed do_repos() to filter out disabled repos of a package

Changed do_repos() to filter out disabled repos of a package. Read
package from checked out package dir. This changes also the output
of getbinaries if args are missing and the user is within a checked
out package dir. Show only enabled repos in this case.

Allow also osc repos [PROJECT] [PACKAGE].

12 years ago- more helpful error message if osc cannot run the pager/editor
Marcus Huewe [Thu, 8 Jul 2010 19:43:39 +0000 (21:43 +0200)]
- more helpful error message if osc cannot run the pager/editor

12 years agono need to warn about empty validator dir
Ludwig Nussel [Wed, 7 Jul 2010 14:31:57 +0000 (16:31 +0200)]
no need to warn about empty validator dir

also remove from config template. the default should be ok.

12 years agoallow to restrict 'my pkgs' to maintained ones
Ludwig Nussel [Wed, 7 Jul 2010 14:25:09 +0000 (16:25 +0200)]
allow to restrict 'my pkgs' to maintained ones

12 years agoNothing guarantees that HTTPError has read method.
Michal Čihař [Wed, 7 Jul 2010 14:29:59 +0000 (16:29 +0200)]
Nothing guarantees that HTTPError has read method.

12 years ago- more precise error message about missing source_validator
Marcus Huewe [Tue, 6 Jul 2010 15:57:10 +0000 (17:57 +0200)]
- more precise error message about missing source_validator

12 years agorespect -A for 'osc deleterequest'
Danny Kukawka [Tue, 6 Jul 2010 12:18:24 +0000 (14:18 +0200)]
respect -A for 'osc deleterequest'

12 years agochanged 'osc deleterequest' to get info from checked out pac/proj
Danny Kukawka [Tue, 6 Jul 2010 12:16:24 +0000 (14:16 +0200)]
changed 'osc deleterequest' to get info from checked out pac/proj

Changed 'osc deleterequest' to get info from checked out package or
project dirs. Added edit message about what the user requested.

12 years ago- read_meta_from_spec: don't exit if tag/section is missing
Marcus Huewe [Fri, 2 Jul 2010 20:28:53 +0000 (22:28 +0200)]
- read_meta_from_spec: don't exit if tag/section is missing

12 years agosupport $EDITOR with arguments (bnc#619215)
Ludwig Nussel [Fri, 2 Jul 2010 09:32:07 +0000 (11:32 +0200)]
support $EDITOR with arguments (bnc#619215)

12 years agomake getbinaries also work in project dirs
Danny Kukawka [Thu, 1 Jul 2010 13:32:21 +0000 (15:32 +0200)]
make getbinaries also work in project dirs

Maked getbinaries also work in project dirs. If osc getbinaries
get called in a checked out package directory, the binaries for
all packages of this project get checked out.

12 years agoless verbose results output by default
Ludwig Nussel [Thu, 6 May 2010 12:23:27 +0000 (14:23 +0200)]
less verbose results output by default

especially factoy results often fill the screen with lots of "blocked" errors. So don't display the details by default unless --verbose is given

12 years agoallow to override apiurl for 'build'
Ludwig Nussel [Wed, 30 Jun 2010 11:37:26 +0000 (13:37 +0200)]
allow to override apiurl for 'build'

12 years agoMake 'trust always' more verbose, so that a user learns how to undo its effect.
Juergen Weigert [Tue, 29 Jun 2010 13:32:53 +0000 (15:32 +0200)]
Make 'trust always' more verbose, so that a user learns how to undo its effect.
Removed a few tabs.

12 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Juergen Weigert [Tue, 29 Jun 2010 12:34:10 +0000 (14:34 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

12 years agorequest_interactive_review() should not die with stragen unicode chars.
Juergen Weigert [Tue, 29 Jun 2010 12:32:22 +0000 (14:32 +0200)]
request_interactive_review() should not die with stragen unicode chars.
simple workaround.

12 years agosupport re-open of requests
Adrian Schröter [Tue, 29 Jun 2010 10:12:34 +0000 (12:12 +0200)]
support re-open of requests

12 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Juergen Weigert [Tue, 29 Jun 2010 08:49:48 +0000 (10:49 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

12 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Danny Kukawka [Mon, 28 Jun 2010 11:57:21 +0000 (13:57 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

12 years agofixed tempfile leaking in osc diff function
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.

12 years agoimplicitly trust the project we are building for
Ludwig Nussel [Mon, 28 Jun 2010 08:55:03 +0000 (10:55 +0200)]
implicitly trust the project we are building for

12 years agoAdd can_also_build definitions for SPARC
Jan Engelhardt [Sat, 26 Jun 2010 10:32:58 +0000 (12:32 +0200)]
Add can_also_build definitions for SPARC

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
12 years agoosc/commandline: fix reoccurring typo
Jan Engelhardt [Sat, 26 Jun 2010 18:54:02 +0000 (20:54 +0200)]
osc/commandline: fix reoccurring typo

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
12 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Danny Kukawka [Sun, 27 Jun 2010 19:21:08 +0000 (21:21 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

12 years agoextended 'osc wipebinaries' to read package/project from dirs
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.

12 years agoadd support for --oldpackages
Ludwig Nussel [Thu, 24 Jun 2010 08:51:38 +0000 (10:51 +0200)]
add support for --oldpackages

12 years agoimplement trusted projects
Ludwig Nussel [Wed, 23 Jun 2010 12:40:55 +0000 (14:40 +0200)]
implement trusted projects

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 agoMerge branch 'master' of gitorious.org:opensuse/osc
Juergen Weigert [Wed, 26 May 2010 14:40:11 +0000 (16:40 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

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 ago-
Juergen Weigert [Wed, 26 May 2010 14:29:43 +0000 (16:29 +0200)]
-

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