opensuse:osc.git
11 years ago- update: fixed os.path.join call
Marcus Huewe [Mon, 21 Feb 2011 23:22:55 +0000 (00:22 +0100)]
- update: fixed os.path.join call

11 years agoDon't submit crud workarounds for problems which should be fixed on the other side.
Adrian Schröter [Mon, 21 Feb 2011 12:41:02 +0000 (13:41 +0100)]
Don't submit crud workarounds for problems which should be fixed on the other side.

Revert "avoid 404 in osc se -V caused by looking up the _history of nonexistant"

This reverts commit d7a1428d69475ad6ce8fcbdccda6cfe7e6600e53.

11 years agoavoid 404 in osc se -V caused by looking up the _history of nonexistant
Juergen Weigert [Sun, 20 Feb 2011 23:26:54 +0000 (00:26 +0100)]
avoid 404 in osc se -V caused by looking up the _history of nonexistant
packages. Workaround for BNC#673654

11 years ago- (temporary) fix for 53ca3b9a14110f88c1d81a4b345b3cc17af6ac50
Marcus Huewe [Thu, 17 Feb 2011 23:34:49 +0000 (00:34 +0100)]
- (temporary) fix for 53ca3b9a14110f88c1d81a4b345b3cc17af6ac50

(python 2.4 doesn't support the syntax)

11 years agodefault to 1 processors on darwin, since we are not going to build anything here...
Anas Nashif [Thu, 17 Feb 2011 22:50:13 +0000 (22:50 +0000)]
default to 1 processors on darwin, since we are not going to build anything here anyways.

11 years ago- minor cleanup
Marcus Huewe [Thu, 17 Feb 2011 13:22:16 +0000 (14:22 +0100)]
- minor cleanup

11 years ago- fixed do_service
Marcus Huewe [Thu, 17 Feb 2011 00:57:53 +0000 (01:57 +0100)]
- fixed do_service

11 years ago- do_results: fixed --xml output
Marcus Huewe [Thu, 17 Feb 2011 00:30:19 +0000 (01:30 +0100)]
- do_results: fixed --xml output

11 years ago- use new api call to collect all project wide source services
Adrian Schröter [Tue, 15 Feb 2011 17:39:06 +0000 (18:39 +0100)]
- use new api call to collect all project wide source services

11 years ago- make it possible to run single source services, even when not specified in _service...
Adrian Schröter [Tue, 15 Feb 2011 08:41:03 +0000 (09:41 +0100)]
- make it possible to run single source services, even when not specified in _service file.
  (For example for doing a version update without creating a _service file: osc service lr update_source)

11 years ago- do not crash in setlinkrev, if link target is no link.
Adrian Schröter [Mon, 14 Feb 2011 14:57:42 +0000 (15:57 +0100)]
- do not crash in setlinkrev, if link target is no link.

11 years ago- avoid to create a _pull file when having a working copy (or the user runs in a...
Adrian Schröter [Mon, 14 Feb 2011 11:26:51 +0000 (12:26 +0100)]
- avoid to create a _pull file when having a working copy (or the user runs in a dead end,
  since we don't support pull on pulled sources, what is actually another bug)

11 years ago- don't crash when src server decides to expand in any case (when one package
Adrian Schröter [Mon, 14 Feb 2011 10:30:37 +0000 (11:30 +0100)]
- don't crash when src server decides to expand in any case (when one package
  is a link and the other not).

11 years ago- do_detachbranch: added --message option; added some more error handling
Marcus Huewe [Fri, 11 Feb 2011 16:38:59 +0000 (17:38 +0100)]
- do_detachbranch: added --message option; added some more error handling

11 years ago- added new "detachbranch" command to replace a link/branch with its expanded sources
Marcus Huewe [Fri, 11 Feb 2011 16:11:44 +0000 (17:11 +0100)]
- added new "detachbranch" command to replace a link/branch with its expanded sources

11 years ago- copy_pac: only edit meta if "source" and "target" differ
Marcus Huewe [Fri, 11 Feb 2011 16:11:00 +0000 (17:11 +0100)]
- copy_pac: only edit meta if "source" and "target" differ

11 years ago- add request and review "supersede" command, to supersede by an existsing request
Adrian Schröter [Fri, 11 Feb 2011 15:12:38 +0000 (16:12 +0100)]
- add request and review "supersede" command, to supersede by an existsing request

11 years agofixed se -V to not explode when a project match was found.
Juergen Weigert [Fri, 11 Feb 2011 14:11:50 +0000 (15:11 +0100)]
fixed se -V to not explode when a project match was found.

11 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Juergen Weigert [Fri, 11 Feb 2011 13:42:17 +0000 (14:42 +0100)]
Merge branch 'master' of gitorious.org:opensuse/osc

11 years ago- adjusted testcase oscrc's for recent config changes
Marcus Huewe [Fri, 11 Feb 2011 11:44:48 +0000 (12:44 +0100)]
- adjusted testcase oscrc's for recent config changes

11 years ago- use pass instead of passx (plaintext_passwd is the default)
Marcus Huewe [Fri, 11 Feb 2011 11:42:54 +0000 (12:42 +0100)]
- use pass instead of passx (plaintext_passwd is the default)

11 years ago- don't fail if terminal encoding doesn't support unicode (fixes #660445)
Marcus Huewe [Fri, 11 Feb 2011 01:43:10 +0000 (02:43 +0100)]
- don't fail if terminal encoding doesn't support unicode (fixes #660445)

- added util.safewriter.SafeWriter class

11 years ago- fix for 7d5893992d356a02e0cba0677a81d0d46bfc265f
Marcus Huewe [Wed, 9 Feb 2011 14:53:36 +0000 (15:53 +0100)]
- fix for 7d5893992d356a02e0cba0677a81d0d46bfc265f

11 years ago- use Request's __cmd__ method for sorting
Marcus Huewe [Wed, 9 Feb 2011 14:51:26 +0000 (15:51 +0100)]
- use Request's __cmd__ method for sorting

11 years agosort request lists by id
Ludwig Nussel [Wed, 9 Feb 2011 13:57:10 +0000 (14:57 +0100)]
sort request lists by id

11 years ago- fixed misleading note (#644550 ("osc don't branch particular project"))
Marcus Huewe [Tue, 8 Feb 2011 15:56:16 +0000 (16:56 +0100)]
- fixed misleading note (#644550 ("osc don't branch particular project"))

11 years agoadd force option to accept requests in review state.
Adrian Schröter [Tue, 8 Feb 2011 15:16:18 +0000 (16:16 +0100)]
add force option to accept requests in review state.

11 years agofix osc my with obs 2.2 api
Ludwig Nussel [Fri, 4 Feb 2011 09:29:13 +0000 (10:29 +0100)]
fix osc my with obs 2.2 api

11 years agoonly catch http error, other exceptions are bugs
Ludwig Nussel [Fri, 4 Feb 2011 09:14:30 +0000 (10:14 +0100)]
only catch http error, other exceptions are bugs

11 years agofix indent
Ludwig Nussel [Fri, 4 Feb 2011 09:14:04 +0000 (10:14 +0100)]
fix indent

11 years agoosc my: also show requests in review state
Ludwig Nussel [Fri, 4 Feb 2011 08:44:30 +0000 (09:44 +0100)]
osc my: also show requests in review state

11 years agoeither use plain text password or obfuscated ones
Ludwig Nussel [Tue, 25 Jan 2011 16:05:34 +0000 (17:05 +0100)]
either use plain text password or obfuscated ones

Don't you ever call this encrypted. It's just about obfuscation and
has no real security benefit.

11 years agoDon't request message when branching a package
Ludwig Nussel [Tue, 25 Jan 2011 15:58:39 +0000 (16:58 +0100)]
Don't request message when branching a package

11 years ago- fix for 0fd0ff26856d2385361702795415f80e4cca0663
Marcus Huewe [Wed, 2 Feb 2011 18:35:32 +0000 (19:35 +0100)]
- fix for 0fd0ff26856d2385361702795415f80e4cca0663

11 years agotypo
Juergen Weigert [Wed, 2 Feb 2011 16:16:43 +0000 (17:16 +0100)]
typo

11 years agoHelp text of co -s was indentical to co -S, fixed to say local instead of server.
Juergen Weigert [Wed, 2 Feb 2011 16:11:14 +0000 (17:11 +0100)]
Help text of co -s was indentical to co -S, fixed to say local instead of server.
Fixed -s to chdir into the project for the sake of /usr/lib/obs/service/verify_file

11 years ago- escape % in help text
Marcus Huewe [Tue, 1 Feb 2011 19:07:29 +0000 (20:07 +0100)]
- escape % in help text

11 years ago- fixed indention+small cleanup
Marcus Huewe [Tue, 1 Feb 2011 17:37:17 +0000 (18:37 +0100)]
- fixed indention+small cleanup

- added "XXX" comment due the openSUSE specific "osc co obs://" implementation

11 years ago- globally catch OSError ENOENT
Marcus Huewe [Tue, 1 Feb 2011 17:25:23 +0000 (18:25 +0100)]
- globally catch OSError ENOENT

11 years agoNo such file or directory should not trigger stack trace.
Juergen Weigert [Tue, 1 Feb 2011 14:55:43 +0000 (15:55 +0100)]
No such file or directory should not trigger stack trace.

11 years agoosc checkout '%{disturl}' is now supported.
Juergen Weigert [Mon, 31 Jan 2011 16:49:04 +0000 (17:49 +0100)]
osc checkout '%{disturl}' is now supported.

11 years ago- use xmlindent instead of minidom stuff
Marcus Huewe [Sun, 30 Jan 2011 20:56:21 +0000 (21:56 +0100)]
- use xmlindent instead of minidom stuff

11 years ago- do_search: '::' isn't a perl specific namespace/package/module separator
Marcus Huewe [Sun, 30 Jan 2011 20:37:45 +0000 (21:37 +0100)]
- do_search: '::' isn't a perl specific namespace/package/module separator

11 years agoRevert "[osc] add cb(pre)ignore capabilities to osc."
Marcus Huewe [Sun, 30 Jan 2011 20:31:58 +0000 (21:31 +0100)]
Revert "[osc] add cb(pre)ignore capabilities to osc."

This reverts commit 68c7b57f665d1e0f37caea47aef4a2a051dc0633.

It isn't needed because the corresponding backend part was also reverted

11 years ago- Request: format_review, format_action should be static methods
Marcus Huewe [Sun, 30 Jan 2011 20:23:40 +0000 (21:23 +0100)]
- Request: format_review, format_action should be static methods

- adjusted method docstring
- server_diff_noex: removed print statement

11 years ago- adapted NEWS for last commit
Martin Mohring [Sun, 30 Jan 2011 17:30:30 +0000 (18:30 +0100)]
- adapted NEWS for last commit

11 years agoAdd armv7hl (hardfloat ABI) support.
Jan-Simon Möller [Mon, 17 Jan 2011 13:53:47 +0000 (06:53 -0700)]
Add armv7hl (hardfloat ABI) support.

Tested-by: Martin Mohring <martin.mohring@5edatasoft.com>
Reviewed-by: Martin Mohring <martin.mohring@5edatasoft.com>
11 years ago- parse_repoarchdescr: use similar build descr "guessing" mechanism like bs_srcserver...
Marcus Huewe [Sun, 30 Jan 2011 15:38:11 +0000 (16:38 +0100)]
- parse_repoarchdescr: use similar build descr "guessing" mechanism like bs_srcserver (but it still differs)

11 years ago- do_request: added "--edit" option to edit a submit action ("osc rq show <id> -...
Marcus Huewe [Sun, 30 Jan 2011 13:24:21 +0000 (14:24 +0100)]
- do_request: added "--edit" option to edit a submit action ("osc rq show <id> --edit")

11 years ago- fixed #665784 ("osc build --offline doesn't work for key verification")
Marcus Huewe [Sat, 29 Jan 2011 23:01:48 +0000 (00:01 +0100)]
- fixed #665784 ("osc build --offline doesn't work for key verification")

11 years ago- request_interactive_review: added support to "edit" a submit action (as requested...
Marcus Huewe [Sat, 29 Jan 2011 22:30:54 +0000 (23:30 +0100)]
- request_interactive_review: added support to "edit" a submit action (as requested by darix)

how it works:
- "clone" request
- checkout a specific submit action (modify package; commit changes)
- create a new request (<"clone" project>/package -> <target project>/package)
- accept newly created request; optionally supersede original request

11 years ago- clone_request: return the "targetproject"
Marcus Huewe [Sat, 29 Jan 2011 22:14:19 +0000 (23:14 +0100)]
- clone_request: return the "targetproject"

11 years ago- handle requests with multiple (submit) actions
Marcus Huewe [Sat, 29 Jan 2011 17:47:26 +0000 (18:47 +0100)]
- handle requests with multiple (submit) actions

11 years ago- use get_actions method
Marcus Huewe [Sat, 29 Jan 2011 16:47:28 +0000 (17:47 +0100)]
- use get_actions method

11 years ago- Request: added get_actions method
Marcus Huewe [Sat, 29 Jan 2011 16:44:03 +0000 (17:44 +0100)]
- Request: added get_actions method

11 years ago- test_request: test get_actions method
Marcus Huewe [Sat, 29 Jan 2011 16:43:36 +0000 (17:43 +0100)]
- test_request: test get_actions method

11 years ago- refactored request diff code
Marcus Huewe [Sat, 29 Jan 2011 16:24:45 +0000 (17:24 +0100)]
- refactored request diff code

11 years ago- fix for db9e7c7974f6c79496d2b3aa2b7349ba18a16035
Marcus Huewe [Fri, 28 Jan 2011 14:52:10 +0000 (15:52 +0100)]
- fix for db9e7c7974f6c79496d2b3aa2b7349ba18a16035

11 years ago- minor change
Marcus Huewe [Wed, 26 Jan 2011 17:07:42 +0000 (18:07 +0100)]
- minor change

11 years agocheck if project wide _service file really exists
Adrian Schröter [Wed, 26 Jan 2011 16:42:17 +0000 (17:42 +0100)]
check if project wide _service file really exists

11 years agofix "osc add some_git_url", using now official source service instead of unknown...
Adrian Schröter [Wed, 26 Jan 2011 16:29:43 +0000 (17:29 +0100)]
fix "osc add some_git_url", using now official source service instead of unknown git_pull

11 years agosupport project wide source services
Adrian Schröter [Wed, 26 Jan 2011 16:22:03 +0000 (17:22 +0100)]
support project wide source services

11 years agonew source service commands "localrun" and "disabledrun" to generate files without...
Adrian Schröter [Wed, 26 Jan 2011 15:30:57 +0000 (16:30 +0100)]
new source service commands "localrun" and "disabledrun" to generate files without _service: prefix

11 years agosupport for new source service modes: disabled, trylocal and localonly
Adrian Schröter [Wed, 26 Jan 2011 15:16:27 +0000 (16:16 +0100)]
support for new source service modes: disabled, trylocal and localonly

11 years ago- reworked do_requestmaintainership()
Marcus Huewe [Tue, 25 Jan 2011 20:06:28 +0000 (21:06 +0100)]
- reworked do_requestmaintainership()

11 years ago- do_changedevelrequest, do_deleterequest: use Request object to create the request
Marcus Huewe [Tue, 25 Jan 2011 19:41:42 +0000 (20:41 +0100)]
- do_changedevelrequest, do_deleterequest: use Request object to create the request

- removed: core.create_delete_request(), core.create_change_devel_request()

11 years agoremove forgotten print
Ludwig Nussel [Tue, 25 Jan 2011 15:57:25 +0000 (16:57 +0100)]
remove forgotten print

11 years agoallow mkpac on existing directory
Ludwig Nussel [Tue, 25 Jan 2011 15:51:48 +0000 (16:51 +0100)]
allow mkpac on existing directory

11 years agorefactor diff command
Ludwig Nussel [Thu, 23 Dec 2010 09:33:31 +0000 (10:33 +0100)]
refactor diff command

11 years agodownload debugsource with --debug rather than --source
Ludwig Nussel [Thu, 23 Dec 2010 09:32:50 +0000 (10:32 +0100)]
download debugsource with --debug rather than --source

11 years ago- use EPIPE (as suggested by mls)
Marcus Huewe [Mon, 24 Jan 2011 11:05:36 +0000 (12:05 +0100)]
- use EPIPE (as suggested by mls)

11 years ago- test_request: adjusted testcase to the latest format changes
Marcus Huewe [Mon, 24 Jan 2011 08:34:37 +0000 (09:34 +0100)]
- test_request: adjusted testcase to the latest format changes

11 years agoupdate informations about test suite and remove old and not working one to avoid...
Adrian Schröter [Mon, 24 Jan 2011 07:30:23 +0000 (08:30 +0100)]
update informations about test suite and remove old and not working one to avoid confusion

11 years agoadd better support for reviews of requests. User api side request search if available.
Adrian Schröter [Sun, 23 Jan 2011 20:21:32 +0000 (21:21 +0100)]
add better support for reviews of requests. User api side request search if available.

11 years ago- globally ignore broken pipe
Marcus Huewe [Sat, 22 Jan 2011 15:41:06 +0000 (16:41 +0100)]
- globally ignore broken pipe

11 years agoDon't crash on broken pipe (fixes bnc#661963).
Sascha Peilicke [Fri, 21 Jan 2011 10:22:18 +0000 (11:22 +0100)]
Don't crash on broken pipe (fixes bnc#661963).

11 years agoDon't mix tabs with spaces.
Sascha Peilicke [Fri, 21 Jan 2011 10:04:47 +0000 (11:04 +0100)]
Don't mix tabs with spaces.

11 years agoUse './binaries' as default directory for getbinaries.
Sascha Peilicke [Fri, 21 Jan 2011 09:35:47 +0000 (10:35 +0100)]
Use './binaries' as default directory for getbinaries.

Previously, there was no directory set when fetching multiple arches and
distinct dirs for specific arches. Should be more consistent now.

11 years ago- fixed #646886 ('"osc build" when iChain is broken trashes local _buildinfo, _buildc...
Marcus Huewe [Thu, 20 Jan 2011 19:54:38 +0000 (20:54 +0100)]
- fixed #646886 ('"osc build" when iChain is broken trashes local _buildinfo, _buildconfig')

11 years ago- fixed #663270 ("osc importsrcpkg --commit fails")
Marcus Huewe [Thu, 20 Jan 2011 19:38:36 +0000 (20:38 +0100)]
- fixed #663270 ("osc importsrcpkg --commit fails")

11 years agosupport to view the commit history of deleted packages
Adrian Schröter [Wed, 19 Jan 2011 19:26:38 +0000 (20:26 +0100)]
support to view the commit history of deleted packages

11 years ago- do_delete: inform about non existent skipped file
Marcus Huewe [Tue, 18 Jan 2011 18:38:33 +0000 (19:38 +0100)]
- do_delete: inform about non existent skipped file

11 years ago- class Request: added create method in order to create a new request
Marcus Huewe [Tue, 18 Jan 2011 18:34:25 +0000 (19:34 +0100)]
- class Request: added create method in order to create a new request

- removed "self.readonly" attribute for now (maybe we need this in the future...)

11 years ago- fix for my last commit
Marcus Huewe [Mon, 17 Jan 2011 18:33:02 +0000 (19:33 +0100)]
- fix for my last commit

11 years ago- do_search: if --involved, --bugowner etc. is used default to <username> if no searc...
Marcus Huewe [Mon, 17 Jan 2011 18:28:50 +0000 (19:28 +0100)]
- do_search: if --involved, --bugowner etc. is used default to <username> if no search_term is specified

11 years ago- delete_file: added special handling for skipped files
Marcus Huewe [Mon, 17 Jan 2011 14:00:21 +0000 (15:00 +0100)]
- delete_file: added special handling for skipped files

if a local file exists and is marked as skipped, simply delete this file
otherwise do nothing

11 years ago- test_deletefiles.py: new testcases for skipped files
Marcus Huewe [Mon, 17 Jan 2011 13:59:46 +0000 (14:59 +0100)]
- test_deletefiles.py: new testcases for skipped files

11 years ago- Action: support for acceptinfo
Marcus Huewe [Wed, 12 Jan 2011 21:21:32 +0000 (22:21 +0100)]
- Action: support for acceptinfo

11 years ago- TestRequest: added testcase for action element with acceptinfo subelement
Marcus Huewe [Wed, 12 Jan 2011 21:20:47 +0000 (22:20 +0100)]
- TestRequest: added testcase for action element with acceptinfo subelement

11 years agofallback to unexpanded diff mode on "osc diff" on merge error. Same behaviour as...
Adrian Schröter [Wed, 12 Jan 2011 16:09:41 +0000 (17:09 +0100)]
fallback to unexpanded diff mode on "osc diff" on merge error. Same behaviour as rdiff is doing.

11 years agoadd "osc less", it is "osc cat" + pager
Adrian Schröter [Wed, 12 Jan 2011 16:04:22 +0000 (17:04 +0100)]
add "osc less", it is "osc cat" + pager

11 years agofix add_me request
Adrian Schröter [Wed, 12 Jan 2011 10:29:46 +0000 (11:29 +0100)]
fix add_me request

11 years agoadd option to request the additon of a group to a project or package and rename add_r...
Adrian Schröter [Tue, 11 Jan 2011 19:02:48 +0000 (20:02 +0100)]
add option to request the additon of a group to a project or package and rename add_role to add_user to make the difference obvious.

11 years agoExpand links when checking out a single file.
Rohan McGovern [Thu, 30 Dec 2010 01:31:28 +0000 (11:31 +1000)]
Expand links when checking out a single file.

Prior to this change, `osc co PROJECT' and `osc co PROJECT PACKAGE'
would both follow links, but `osc co PROJECT PACKAGE FILE' would not.

To make matters even more confusing, `osc ls PROJECT PACKAGE FILE'
does follow links - so, for linked files, an `ls' would tell you a file
exists, then `co' would give a 404 error.

This change fixes the inconsistency.

11 years agoadd createrequest "add_me" shortcut
Adrian Schröter [Mon, 10 Jan 2011 12:12:09 +0000 (13:12 +0100)]
add createrequest "add_me" shortcut

11 years agofix crash on missing initialisation
Adrian Schröter [Sat, 8 Jan 2011 14:06:36 +0000 (15:06 +0100)]
fix crash on missing initialisation

11 years ago - add blt and rblt commands, aka "buildlogtail" and "remotebuildlogtail" to show
Adrian Schröter [Fri, 7 Jan 2011 22:05:44 +0000 (23:05 +0100)]
 - add blt and rblt commands, aka "buildlogtail" and "remotebuildlogtail" to show
   just the end of a build log (for getting the fail reason faster).
   CHANGE: the --start parameter is now called --offset

11 years agodo not remove service files on commit, we only remove them on an update now
Adrian Schröter [Fri, 7 Jan 2011 20:30:41 +0000 (21:30 +0100)]
do not remove service files on commit, we only remove them on an update now

11 years agofix service execution when _service file got not yet commited (but already added)
Adrian Schröter [Fri, 7 Jan 2011 13:41:00 +0000 (14:41 +0100)]
fix service execution when _service file got not yet commited (but already added)

11 years agoDrop plain text password from generated config file.
Michal Čihař [Wed, 5 Jan 2011 15:51:02 +0000 (16:51 +0100)]
Drop plain text password from generated config file.

The passx is around for some time and it is not needed to put plaintext
into config file forever.