opensuse:osc.git
13 years ago- bump version to 0.129 0.129
Marcus Huewe [Mon, 30 Aug 2010 17:36:52 +0000 (19:36 +0200)]
- bump version to 0.129

13 years agoMerge branch 'master' of git@gitorious.org:opensuse/osc
Marcus Huewe [Mon, 30 Aug 2010 14:28:37 +0000 (16:28 +0200)]
Merge branch 'master' of git@gitorious.org:opensuse/osc

13 years ago- fixed "do_results"
Marcus Huewe [Mon, 30 Aug 2010 14:28:10 +0000 (16:28 +0200)]
- fixed "do_results"

13 years agoPrint http debugging to stderr.
Michal Čihař [Mon, 30 Aug 2010 11:13:20 +0000 (13:13 +0200)]
Print http debugging to stderr.

13 years agoRedirect debug output to stderr.
Michal Čihař [Mon, 30 Aug 2010 11:06:17 +0000 (13:06 +0200)]
Redirect debug output to stderr.

13 years agoupdated: mips / mipsel support documented in NEWS
Martin Mohring [Sat, 28 Aug 2010 09:28:36 +0000 (11:28 +0200)]
updated: mips / mipsel support documented in NEWS

13 years ago- updated NEWS file (listed only user visible changes)
Marcus Huewe [Fri, 27 Aug 2010 15:18:39 +0000 (17:18 +0200)]
- updated NEWS file (listed only user visible changes)

13 years ago- request_interactive_review: don't abort if the diff fails due to status 404
Marcus Huewe [Fri, 27 Aug 2010 10:44:10 +0000 (12:44 +0200)]
- request_interactive_review: don't abort if the diff fails due to status 404

13 years ago- "osc build --keep-pkgs dir": create dir if it does not exist
Marcus Huewe [Thu, 26 Aug 2010 16:50:20 +0000 (18:50 +0200)]
- "osc build --keep-pkgs dir": create dir if it does not exist

13 years ago- oops (forgot 'not')
Marcus Huewe [Thu, 26 Aug 2010 15:38:47 +0000 (17:38 +0200)]
- oops (forgot 'not')

13 years ago- removed bashism (patch by Guido Berhoerster <gber@opensuse.org>)
Marcus Huewe [Thu, 26 Aug 2010 12:39:36 +0000 (14:39 +0200)]
- removed bashism (patch by Guido Berhoerster <gber@opensuse.org>)

13 years ago- _build_opener fail if the url is no apiurl
Marcus Huewe [Thu, 26 Aug 2010 12:14:23 +0000 (14:14 +0200)]
- _build_opener fail if the url is no apiurl

13 years ago- fixed "logic" issue in init_basicauth
Marcus Huewe [Thu, 26 Aug 2010 11:06:00 +0000 (13:06 +0200)]
- fixed "logic" issue in init_basicauth

the old code didn't turn off the ssl checking if conf['apiurl']
was configured with "sslcertk = 1".
Example:
~/.oscrc:
[https://foo]
sslcertk = 0
...
[https://main]
sslcertk = 1
...
[general]
apiurl = https://main

if you send a request to https://foo (and conf['apiurl'] == https://main)
it'll fail because the ssl checking isn't disabled.

13 years ago- fixed copy_pac
Marcus Huewe [Thu, 26 Aug 2010 10:51:45 +0000 (12:51 +0200)]
- fixed copy_pac

13 years ago- added new methods "__write_storelist()" and "store_readlist()"
Marcus Huewe [Tue, 24 Aug 2010 08:23:11 +0000 (10:23 +0200)]
- added new methods "__write_storelist()" and "store_readlist()"

this simplifies write_deletelist(), write_conflictlist(), read_tobedeleted(),
read_inconflict()

13 years agoMerge branch 'master' of git@gitorious.org:opensuse/osc
Marcus Huewe [Mon, 23 Aug 2010 08:10:00 +0000 (10:10 +0200)]
Merge branch 'master' of git@gitorious.org:opensuse/osc

13 years ago- simplify
Marcus Huewe [Mon, 23 Aug 2010 08:08:09 +0000 (10:08 +0200)]
- simplify

13 years agovc: to support meego changelog style if detected
JF Ding [Fri, 20 Aug 2010 11:00:57 +0000 (19:00 +0800)]
vc: to support meego changelog style if detected

need "vc" command shipped with meego-packaging-tools

13 years agofixed: mips and mipsel cross build, working with QEMU
Martin Mohring [Mon, 23 Aug 2010 05:55:16 +0000 (07:55 +0200)]
fixed: mips and mipsel cross build, working with QEMU

13 years agofix warnings from pychecker
Danny Kukawka [Fri, 20 Aug 2010 12:34:41 +0000 (14:34 +0200)]
fix warnings from pychecker

Fixed several warnings from pychecker as e.g.:
- (XY): shadows builtin
- Local variable (XY) not used

13 years agouse correct the user (depending on the apiurl)
Danny Kukawka [Fri, 20 Aug 2010 11:25:32 +0000 (13:25 +0200)]
use correct the user (depending on the apiurl)

Use correct the user (depending on the apiurl) as done in commit
c93baf1f58c505dab410febe2ed8e5f4bd891f80.

13 years agoremoved whitespace in help text
Danny Kukawka [Fri, 20 Aug 2010 11:23:23 +0000 (13:23 +0200)]
removed whitespace in help text

13 years ago- fixed "osc build --prefer-pkgs" for kiwi builds
Marcus Huewe [Thu, 19 Aug 2010 12:43:20 +0000 (14:43 +0200)]
- fixed "osc build --prefer-pkgs" for kiwi builds

13 years ago- fixed commit 2ae9a9453a9c19f5f074ad1e7b7cba9f63b3e43e
Marcus Huewe [Thu, 19 Aug 2010 11:43:48 +0000 (13:43 +0200)]
- fixed commit 2ae9a9453a9c19f5f074ad1e7b7cba9f63b3e43e

13 years ago- workaround for broken urllib2 (see http://bugs.python.org/issue9639)
Marcus Huewe [Thu, 19 Aug 2010 11:00:10 +0000 (13:00 +0200)]
- workaround for broken urllib2 (see bugs.python.org/issue9639)

13 years ago- request_interactive_review: display current action when opening the editor
Marcus Huewe [Thu, 19 Aug 2010 09:40:49 +0000 (11:40 +0200)]
- request_interactive_review: display current action when opening the editor

13 years agochanged 'osc request revoke' to prevent set same state twice
Danny Kukawka [Wed, 18 Aug 2010 15:58:42 +0000 (17:58 +0200)]
changed 'osc request revoke' to prevent set same state twice

Changed 'osc request {reopen,accept,decline,wipe,revoke}' to check
the current state and ask the user if the requested state is the
same as the current state of the request. This should prevent e.g.
useless state changes (set to revoke multiple times in a row) by
accident.

13 years agosmall typo fix
Danny Kukawka [Wed, 18 Aug 2010 14:20:24 +0000 (16:20 +0200)]
small typo fix

13 years agochanged change_request_state() to return only the status code
Danny Kukawka [Wed, 18 Aug 2010 14:17:34 +0000 (16:17 +0200)]
changed change_request_state() to return only the status code

Changed change_request_state() to return only the status code,
print out some more usable message for result of change_request_state()
where needed.

13 years ago- use correct the user (depending on the apiurl)
Marcus Huewe [Wed, 18 Aug 2010 10:40:43 +0000 (12:40 +0200)]
- use correct the user (depending on the apiurl)

13 years agoremoved left over debug messages
Danny Kukawka [Wed, 18 Aug 2010 09:46:57 +0000 (11:46 +0200)]
removed left over debug messages

13 years agoadded 'osc reqmaintainership'
Danny Kukawka [Wed, 18 Aug 2010 09:42:50 +0000 (11:42 +0200)]
added 'osc reqmaintainership'

Added 'osc reqmaintainership' as shortcut for
'osc creq -a add_role USER maintainer PROJECT PACKAGE' since this
command is hard to find for (new) users.

Works also from checked out packages. If no user is specified,
the command takes the current osc user from the config.

13 years agoignore gpg key import errors
Ludwig Nussel [Tue, 17 Aug 2010 13:13:36 +0000 (15:13 +0200)]
ignore gpg key import errors

Some projects use the same gpg key. To avoid osc from quitting when
building against two or more such projects at the same time ignore
gpg key import errors as long as at least one key could be imported.

13 years ago- use ExtRuntimeError instead of 'sys.exit'
Marcus Huewe [Mon, 16 Aug 2010 14:40:16 +0000 (16:40 +0200)]
- use ExtRuntimeError instead of 'sys.exit'

13 years ago- renamed "RuntimeError" to "ExtRuntimeError" to avoid confusion with python's "Runti...
Marcus Huewe [Mon, 16 Aug 2010 14:27:00 +0000 (16:27 +0200)]
- renamed "RuntimeError" to "ExtRuntimeError" to avoid confusion with python's "RuntimeError" class

just a "cosmetic" changes

13 years ago- move 'builtin_signature_check' into conf module
Marcus Huewe [Mon, 16 Aug 2010 14:06:17 +0000 (16:06 +0200)]
- move 'builtin_signature_check' into conf module

13 years ago- use correct package
Marcus Huewe [Mon, 16 Aug 2010 14:04:27 +0000 (16:04 +0200)]
- use correct package

13 years ago- strip at the correct place...
Marcus Huewe [Mon, 16 Aug 2010 11:53:52 +0000 (13:53 +0200)]
- strip at the correct place...

13 years ago- request_interactive_review: strip() user input
Marcus Huewe [Mon, 16 Aug 2010 11:51:19 +0000 (13:51 +0200)]
- request_interactive_review: strip() user input

13 years agoanother rq fix
Ludwig Nussel [Fri, 13 Aug 2010 07:51:20 +0000 (09:51 +0200)]
another rq fix

13 years agofix osc rq
Ludwig Nussel [Fri, 13 Aug 2010 07:42:47 +0000 (09:42 +0200)]
fix osc rq

13 years agofix sr -d again
Ludwig Nussel [Fri, 13 Aug 2010 06:55:18 +0000 (08:55 +0200)]
fix sr -d again

13 years agotabs to spaces. Damit kein Unglueck nicht geschicht. Hello Danny.
Juergen Weigert [Thu, 12 Aug 2010 22:30:05 +0000 (00:30 +0200)]
tabs to spaces. Damit kein Unglueck nicht geschicht. Hello Danny.

13 years agofixed and simplified result sorting expression in osc search
Juergen Weigert [Thu, 12 Aug 2010 22:07:59 +0000 (00:07 +0200)]
fixed and simplified result sorting expression in osc search

13 years ago- treat "no_verify" as a boolean
Marcus Huewe [Thu, 12 Aug 2010 21:13:51 +0000 (23:13 +0200)]
- treat "no_verify" as a boolean

13 years agoallow no_verify also in .oscrc
Juergen Weigert [Thu, 12 Aug 2010 19:34:08 +0000 (21:34 +0200)]
allow no_verify also in .oscrc

13 years agoosc search now returns sorted by proj and pack,
Juergen Weigert [Thu, 12 Aug 2010 18:23:28 +0000 (20:23 +0200)]
osc search now returns sorted by proj and pack,
not just by proj with random pack order.

13 years agoosc search now returns sorted by project, and sorted by package,
Juergen Weigert [Thu, 12 Aug 2010 18:21:04 +0000 (20:21 +0200)]
osc search now returns sorted by project, and sorted by package,
not just sorted projects and random package order.

13 years ago- simplify + always remove tmpfile
Marcus Huewe [Wed, 11 Aug 2010 20:50:10 +0000 (22:50 +0200)]
- simplify + always remove tmpfile

13 years ago- fixed #613513 ("osc copypac to another OBS instance fails if source package uses...
Marcus Huewe [Wed, 11 Aug 2010 20:42:16 +0000 (22:42 +0200)]
- fixed #613513 ("osc copypac to another OBS instance fails if source package uses links")

now links are always expanded if we copy across different buildservice instances

13 years ago- removed old cruft
Marcus Huewe [Wed, 11 Aug 2010 16:08:54 +0000 (18:08 +0200)]
- removed old cruft

13 years ago- do_status: added '--show-excluded' option to show all files (except the store dir)
Marcus Huewe [Wed, 11 Aug 2010 16:05:12 +0000 (18:05 +0200)]
- do_status: added '--show-excluded' option to show all files (except the store dir)

Additionally "osc st" doesn't show dirs anymore if it's called from
a package wc because dirs cannot be added to a package

13 years agoMerge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Wed, 11 Aug 2010 10:52:48 +0000 (12:52 +0200)]
Merge branch 'master' of git://gitorious.org/opensuse/osc

13 years ago- fixed init_package_dir (the whole init_*_dir concept needs to be rewritten)
Marcus Huewe [Wed, 11 Aug 2010 10:50:53 +0000 (12:50 +0200)]
- fixed init_package_dir (the whole init_*_dir concept needs to be rewritten)

13 years agocheck the right options for request and review command
Adrian Schröter [Tue, 10 Aug 2010 14:36:29 +0000 (16:36 +0200)]
check the right options for request and review command

13 years ago- do_signkey: don't modify list during iteration
Marcus Huewe [Sun, 8 Aug 2010 21:45:04 +0000 (23:45 +0200)]
- do_signkey: don't modify list during iteration

13 years ago- a more generic version of ebd4b1d893435a6f24049663487bdd89b6b24e2b (the same logic...
Marcus Huewe [Sun, 8 Aug 2010 21:15:25 +0000 (23:15 +0200)]
- a more generic version of ebd4b1d893435a6f24049663487bdd89b6b24e2b (the same logic applies to *.dsc, *.kiwi)

13 years ago- support signing state (patch by srinidhi@novell.com)
Marcus Huewe [Sun, 8 Aug 2010 19:09:18 +0000 (21:09 +0200)]
- support signing state (patch by srinidhi@novell.com)

13 years ago"osc sr" used for an entire project is now offering also to supersed requests
Adrian Schröter [Thu, 5 Aug 2010 15:00:45 +0000 (17:00 +0200)]
"osc sr" used for an entire project is now offering also to supersed requests
when they got cloned by checking the attribute.

It does not work from package dir atm, this entire behaviour is not a good design.
But I lack a good idea how to design it better atm.

13 years agoadd "request clone" command for OBS 2.1
Adrian Schröter [Thu, 5 Aug 2010 13:54:48 +0000 (15:54 +0200)]
add "request clone" command for OBS 2.1

13 years agofix comment message transfer for "review add" command
Adrian Schröter [Thu, 5 Aug 2010 08:24:00 +0000 (10:24 +0200)]
fix comment message transfer for "review add" command

13 years agoprefer spec files that match the directory name only if there are no debian or kiwi...
Ludwig Nussel [Wed, 4 Aug 2010 15:17:28 +0000 (17:17 +0200)]
prefer spec files that match the directory name only if there are no debian or kiwi files

partially reverts commit 1b6fbd7d050c9165779f79346c5e657ff6570f43.

13 years agoRevert "set release number to zero if not specified via commandline or server otherwise"
Adrian Schröter [Wed, 4 Aug 2010 15:24:06 +0000 (17:24 +0200)]
Revert "set release number to zero if not specified via commandline or server otherwise"

doing it in build script

This reverts commit 336530b66015bf26e3beab7d4c8ac868e48726e6.

13 years agoanother try for prjresutls, do not show "excluded" packages/repos by default,
Adrian Schröter [Wed, 4 Aug 2010 15:16:59 +0000 (17:16 +0200)]
another try for prjresutls, do not show "excluded" packages/repos by default,
but show the manual disabled ones.

13 years agoset release number to zero if not specified via commandline or server otherwise
Adrian Schröter [Wed, 4 Aug 2010 15:01:56 +0000 (17:01 +0200)]
set release number to zero if not specified via commandline or server otherwise

13 years agofix and rename osc pr --show-non-building
Ludwig Nussel [Wed, 4 Aug 2010 14:44:51 +0000 (16:44 +0200)]
fix and rename osc pr --show-non-building

fix osc pr --show-non-building to actually do what it is supposed to
do. Change default to not do filtering by renaming the option to
--hide-disabled

13 years agotweak output about used keys
Ludwig Nussel [Wed, 4 Aug 2010 13:14:37 +0000 (15:14 +0200)]
tweak output about used keys

13 years agofetch project keys always to catch changed ones
Ludwig Nussel [Wed, 4 Aug 2010 13:00:08 +0000 (15:00 +0200)]
fetch project keys always to catch changed ones

13 years agouse store_write_string for _packages file
Ludwig Nussel [Wed, 4 Aug 2010 09:46:30 +0000 (11:46 +0200)]
use store_write_string for _packages file

avoids corrupted files if something goes wrong.
also pretty print the xml to make manual editing easier

13 years agoanother attempt to fix the init_package_dir chdir mess
Ludwig Nussel [Wed, 4 Aug 2010 12:16:05 +0000 (14:16 +0200)]
another attempt to fix the init_package_dir chdir mess

13 years agofix init_package_dir (broken by commit b3c5204b59d34541e37c0a412e6c42d897389e89)
Ludwig Nussel [Wed, 4 Aug 2010 09:20:01 +0000 (11:20 +0200)]
fix init_package_dir (broken by commit b3c5204b59d34541e37c0a412e6c42d897389e89)

13 years agoturn on built in signature check
Ludwig Nussel [Tue, 3 Aug 2010 14:52:46 +0000 (16:52 +0200)]
turn on built in signature check

13 years agofix rq show
Ludwig Nussel [Tue, 3 Aug 2010 07:34:33 +0000 (09:34 +0200)]
fix rq show

13 years agofix output of 'osc buildinfo' if parameter are missing
Danny Kukawka [Fri, 30 Jul 2010 14:17:41 +0000 (16:17 +0200)]
fix output of 'osc buildinfo' if parameter are missing

Fixed output of 'osc buildinfo' if parameter are missing due to change
from commit cb1880762279fdc920d7e04a17bda7a389c766e3. Show only the
available repos (and not the arch) if called from a checked out
package.

13 years agochanged Request:list_view() to show add_role request info
Danny Kukawka [Fri, 30 Jul 2010 14:00:06 +0000 (16:00 +0200)]
changed Request:list_view() to show add_role request info

Changed Request:list_view() to show add_role request info more verbose
including requested person/group and the requested role.

13 years ago- don't use spec by default if multiple build description files are found
Marcus Huewe [Fri, 30 Jul 2010 12:02:23 +0000 (14:02 +0200)]
- don't use spec by default if multiple build description files are found

otherwise it'll lead to unexpected behaviour if the repository is for instance
debian

13 years agoadd "review add" command
Adrian Schröter [Fri, 30 Jul 2010 09:36:17 +0000 (11:36 +0200)]
add "review add" command

13 years agoadded FIXME to show_package_disabled_repos
Danny Kukawka [Thu, 29 Jul 2010 15:45:13 +0000 (17:45 +0200)]
added FIXME to show_package_disabled_repos

13 years agofixed several functions to respect 'osc -A'
Danny Kukawka [Thu, 29 Jul 2010 15:29:07 +0000 (17:29 +0200)]
fixed several functions to respect 'osc -A'

13 years agodo not crash via using not anymore supported /platform controller (unsupported since...
Adrian Schröter [Thu, 29 Jul 2010 14:59:54 +0000 (16:59 +0200)]
do not crash via using not anymore supported /platform controller (unsupported since OBS 1.0)
Unify "repos" and "repositories" command. Make the command working at all as specified.

13 years agosupport list of open reviews
Adrian Schröter [Thu, 29 Jul 2010 11:45:44 +0000 (13:45 +0200)]
support list of open reviews

13 years agodo not hide open request by default.
Adrian Schröter [Thu, 29 Jul 2010 11:39:48 +0000 (13:39 +0200)]
do not hide open request by default.

13 years agomake "osc api" syntax compatible with curl parameters
Adrian Schröter [Thu, 29 Jul 2010 09:43:56 +0000 (11:43 +0200)]
make "osc api" syntax compatible with curl parameters

13 years ago* add the new "dist" command to NEWS file.
Adrian Schröter [Thu, 29 Jul 2010 05:37:54 +0000 (07:37 +0200)]
* add the new "dist" command to NEWS file.
* disable the "DISCONTINUED" support for now, because this is just a hack
  which only works with one instance. We need a server side supported approach
  in case we need this.
* Show repository to be used and the suggested reponame for own project

13 years agoupdated osc.complete, added all existing commands to list
Danny Kukawka [Wed, 28 Jul 2010 14:53:24 +0000 (16:53 +0200)]
updated osc.complete, added all existing commands to list

13 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Danny Kukawka [Wed, 28 Jul 2010 14:05:36 +0000 (16:05 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

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

13 years agoprjresult: Do not show package rows or repo columnss by default which are not buildin...
Adrian Schröter [Wed, 28 Jul 2010 13:38:01 +0000 (15:38 +0200)]
prjresult: Do not show package rows or repo columnss by default which are not building at all (in disabled or excluded)
A Rudi feature ;)

13 years agoremove a file from conflict list in any case, when it gets removed
Adrian Schröter [Wed, 28 Jul 2010 10:13:46 +0000 (12:13 +0200)]
remove a file from conflict list in any case, when it gets removed

13 years agogenerated service files are always to be skipped regarding status and commit
Adrian Schröter [Wed, 28 Jul 2010 10:08:40 +0000 (12:08 +0200)]
generated service files are always to be skipped regarding status and commit

13 years agofix links that point into the wiki
Henne Vogelsang [Tue, 27 Jul 2010 13:20:35 +0000 (15:20 +0200)]
fix links that point into the wiki

Signed-off-by: Henne Vogelsang <hvogel@opensuse.org>
13 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

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

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

13 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

13 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

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

13 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

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

13 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