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

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

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

12 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

12 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

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

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

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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

12 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

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

12 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

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

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

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

12 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

12 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

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

12 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

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

12 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

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

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

12 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

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

12 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

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

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

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

12 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

12 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

12 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

12 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

12 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

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

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

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

12 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

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

12 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

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

12 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

12 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

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

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

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

12 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

12 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

12 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

12 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

12 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

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

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

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

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

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

12 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

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

12 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

12 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

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

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

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

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

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

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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

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

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

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

12 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

12 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

12 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

12 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

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

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

12 years agoDrop pre_checking.sh (8ea5bc7) due security problems
Michal Vyskocil [Thu, 6 Jan 2011 13:10:59 +0000 (14:10 +0100)]
Drop pre_checking.sh (8ea5bc7) due security problems

12 years agofix file duplications, cleanup possible existing service generated files before creat...
Adrian Schröter [Thu, 6 Jan 2011 14:03:18 +0000 (15:03 +0100)]
fix file duplications, cleanup possible existing service generated files before create new ones

12 years ago- fix for 38921175587307b93677d6302b20ae0298de2337
Marcus Huewe [Wed, 5 Jan 2011 16:00:19 +0000 (17:00 +0100)]
- fix for 38921175587307b93677d6302b20ae0298de2337

12 years agoPrint warnings to stderr.
Michal Čihař [Wed, 5 Jan 2011 15:31:02 +0000 (16:31 +0100)]
Print warnings to stderr.

This way we can avoid confusion for programs which do parse osc output.