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

12 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

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

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

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

12 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

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

12 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

12 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

12 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

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

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

12 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

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

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

12 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

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

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

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

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

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

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

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

12 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'

12 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

12 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

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

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

12 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

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

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

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

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

12 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

12 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

12 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

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

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

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

12 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

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

12 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

12 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

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

12 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

12 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

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

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

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

12 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

12 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

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

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

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

12 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

12 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

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

12 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

12 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

12 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

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

12 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

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

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

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

12 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

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

12 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

12 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'

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

12 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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

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