Marcus Huewe
be4f1f350e
- renamed "PackageNotInstalled" exception to "ServiceNotInstalled"
...
- also catch this exception in babysitter.py
2011-03-30 01:10:48 +02:00
Sascha Peilicke
8ab7ab3caa
Inherit package roles from parent project.
2011-03-29 12:16:56 +02:00
Juergen Weigert
7203a8f9ab
fixed url of the plugin
2011-03-24 15:20:51 +01:00
Juergen Weigert
8e9cf75d7b
do_install now points to home:jnweiger osc-plugin-install
2011-03-24 13:56:37 +01:00
Marcus Huewe
94c006ba5f
- fixed set_link_rev: if expand is True always get the (expanded) revision from the server
2011-03-23 15:36:22 +01:00
38f665eef8
- handle missing or wrong service commands with a valid error
2011-03-22 10:21:48 +01:00
Juergen Weigert
feb731e3c0
Added 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'
...
Otherwise a failing plugin prevents us from seeing even a usage.
2011-03-21 18:53:05 +01:00
Marcus Huewe
02726a6a07
- set_link_rev: minor cleanup; baserev always implies expand=True
...
also renamed "xsrcmd5" keyword argument to "expand"
2011-03-21 16:57:22 +01:00
5f5ae8e22d
- fix crash on project only service files
2011-03-21 09:48:05 +01:00
13633ab0e7
- do not list "localrun" anymore, it can't work in all circumstances
2011-03-21 09:48:05 +01:00
Marcus Huewe
400e417a5f
- build.py: remove debug output
2011-03-19 10:47:00 +01:00
Juergen Weigert
25d6c66aa9
Better advertise getpac_default_project in the online help of 'osc branch'
2011-03-17 18:48:20 +01:00
ab0e5d43ce
- fix setlinkrev for current revision when link target is on remote OBS instance
2011-03-17 18:19:47 +01:00
4f8bedf998
- do not try to merge generated _service: files on pull
2011-03-17 15:35:22 +01:00
c859fc5430
- allow to force the storage of project meta data (to ignore depending repositories for example)
2011-03-16 10:20:50 +01:00
7fe43cb486
- missing source serivce on local workstation is not an API error
2011-03-16 10:20:50 +01:00
Marcus Huewe
35bf60bbf0
- support %(apihost)s in the "build-root" config option
...
apihost is the hostname extracted from currently used apiurl
2011-03-15 18:45:36 +01:00
Marcus Huewe
09c46bd7c3
- fixed delPackage (TODO: testcases for this method)
2011-03-11 14:44:44 +01:00
adbd54045c
- follow renamed attribute to OBS:MaintenanceProject
2011-03-11 11:07:35 +01:00
4c970f867b
- unbreak maintenance request creation
2011-03-11 11:07:15 +01:00
Juergen Weigert
b46d287570
added hint, what to do with a 'user is blank' error.
2011-03-10 20:14:09 +01:00
Marcus Huewe
c3d5516bf8
- find_default_project: fixed indention, only "catch" urllib2.HTTPError
2011-03-09 22:47:02 +01:00
Juergen Weigert
64f9dca08b
Allow conf.config['getpac_default_project'] to be a list.
...
Added find_default_project() to process this list.
2011-03-09 16:10:48 +01:00
Marcus Huewe
9396d9c34d
- do_develproject: small cleanup + fixes
2011-03-08 19:47:54 +01:00
Marcus Huewe
4bc6c34ae3
- show_develproject: added additional "xml_node=False" parameter (if true an Element instance is returned (if devel exists))
2011-03-08 19:44:29 +01:00
Juergen Weigert
cb534d09b6
- new command 'develproject' to print the devel project from the package meta.
2011-03-08 19:23:04 +01:00
Juergen Weigert
b5f234f59d
Merge branch 'master' of gitorious.org:opensuse/osc
2011-03-08 18:50:32 +01:00
Juergen Weigert
4a3a071c41
fixed osc co proj pack file, which took great effort in following a link
...
without applying a project.diff -- now it merges correctly.
2011-03-08 18:48:00 +01:00
281f6dd0ca
- add also simple maintenance release request command
2011-03-07 19:45:44 +01:00
Juergen Weigert
44e4eb9334
Reverting Sascha's unicode attempt. This made 'osc submit' always fail with
...
uncaught exception: Fatal error: Start tag expected, '<' not found at :1.
2011-03-07 18:16:10 +01:00
Marcus Huewe
45a7a84967
- do_maintenancerequest: cleanup
2011-03-07 13:08:44 +01:00
Marcus Huewe
65f817bfa8
- create_maintenance_request: use Request class to build the request
2011-03-07 13:03:34 +01:00
87b060e9a3
- add "maintenancerequests" command to request a maintenance incident from maintenance team
2011-03-07 11:46:51 +01:00
402ce3a626
- stay backward compatible with pathinfo command. This default will switch, when we switch to new
...
maintenance modell on api.opensuse.org
2011-03-07 09:51:16 +01:00
1db5eea95c
- do not show requests by default, where I am not responsible right now (waiting for review of other people)
2011-03-07 09:22:13 +01:00
Juergen Weigert
e8aa7df530
osc rdelete now warns, if requests are pending.
2011-03-05 20:08:47 +01:00
b2adcb7d94
- do not crash on maintenance release or incident requests
2011-03-04 15:50:06 +01:00
Sascha Peilicke
3bb9332376
[webui] Fix Jürgen's Unicode issue and stupid default value assignment.
2011-03-04 09:04:18 +01:00
Sascha Peilicke
95bc493b19
Revert "Catch non-utf8 and convert it to utf8 inside create_submit_request() to prevent"
...
This reverts commit 518229067c
.
Doesn't solve your issue:
>>> unicode("!§").encode("utf8")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)
Fix pending...
2011-03-04 08:59:05 +01:00
Juergen Weigert
518229067c
Catch non-utf8 and convert it to utf8 inside create_submit_request() to prevent
...
osc submit -m 'latin-1 chars' from exploding.
Not sure why 'osc commit' or 'osc vc' work with latin-1 chars in their messages.
2011-03-03 18:27:12 +01:00
Juergen Weigert
b618d16f62
Giving hint at 'osc my sr', if 'osc my rq' returns nothing.
...
These two are easy to confuse.
2011-03-03 16:31:33 +01:00
Ludwig Nussel
60d054317c
meta data diff
2011-03-03 10:07:58 +01:00
Marcus Huewe
70e224a007
- print_repos: added exc_class and exc_msg parameters to specify the exception class + exception msg
...
- do_getbinaries: print correct error message
2011-03-02 14:38:24 +01:00
Marcus Huewe
ba1fe8ab80
- do_getbinaries: fail if repo doesn't exist
2011-03-02 14:26:24 +01:00
e721bb5ab6
- service disabledrun must store files without prefix to be able to submit them
2011-02-28 10:05:06 +01:00
468106e19d
double the default for "buildlogtail", kiwi failures are usually not in the last line unfortunatly
2011-02-27 14:21:38 +01:00
Marcus Huewe
0a67840310
- get_user_projpkgs_request_list: fixed logic error
2011-02-24 14:11:37 +01:00
Marcus Huewe
0ee18d1d7e
- fixed #671790 ("osc my rq returns 400")
2011-02-24 14:11:37 +01:00
87d95409ec
- avoid unwanted entire project rebuilds
2011-02-22 22:44:46 +01:00
Juergen Weigert
83cadd7157
'osc rq list' now defaults to 'new,review' instead of only 'new'.
...
Usage now mentions 'review' too.
2011-02-22 19:13:59 +01:00
Marcus Huewe
f06b39fb40
- use get/set when working with an "Element" instance (instead of using the "attrib" dict)
2011-02-22 17:53:58 +01:00
Marcus Huewe
3f54237a7c
- rewrote set_link_rev
2011-02-22 17:53:58 +01:00
Ludwig Nussel
208230bc58
fix --no-init
2011-02-22 11:17:26 +01:00
Marcus Huewe
b489f95746
- update: fixed os.path.join call
2011-02-22 00:22:55 +01:00
70797b5593
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 d7a1428d69
.
2011-02-21 13:41:02 +01:00
Juergen Weigert
d7a1428d69
avoid 404 in osc se -V caused by looking up the _history of nonexistant
...
packages. Workaround for BNC#673654
2011-02-21 00:26:54 +01:00
Marcus Huewe
02f788f12e
- (temporary) fix for 53ca3b9a14
...
(python 2.4 doesn't support the syntax)
2011-02-18 00:34:49 +01:00
Anas Nashif
53ca3b9a14
default to 1 processors on darwin, since we are not going to build anything here anyways.
2011-02-17 22:50:13 +00:00
Marcus Huewe
a8fff94077
- minor cleanup
2011-02-17 14:22:16 +01:00
Marcus Huewe
da0e4bae30
- fixed do_service
2011-02-17 01:57:53 +01:00
Marcus Huewe
e493771454
- do_results: fixed --xml output
2011-02-17 01:31:04 +01:00
5d84695beb
- use new api call to collect all project wide source services
2011-02-15 18:39:06 +01:00
f0690d4e2f
- 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)
2011-02-15 09:41:03 +01:00
70e3cbbd33
- do not crash in setlinkrev, if link target is no link.
2011-02-14 15:57:42 +01:00
380f41b9a4
- 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)
2011-02-14 12:26:51 +01:00
a86c7b9311
- don't crash when src server decides to expand in any case (when one package
...
is a link and the other not).
2011-02-14 11:31:33 +01:00
Marcus Huewe
fa5e07f792
- do_detachbranch: added --message option; added some more error handling
2011-02-11 17:38:59 +01:00
Marcus Huewe
b318ec1698
- added new "detachbranch" command to replace a link/branch with its expanded sources
2011-02-11 17:12:35 +01:00
Marcus Huewe
8e11055418
- copy_pac: only edit meta if "source" and "target" differ
2011-02-11 17:12:35 +01:00
0bf76163ed
- add request and review "supersede" command, to supersede by an existsing request
2011-02-11 16:12:38 +01:00
Juergen Weigert
36007fb538
fixed se -V to not explode when a project match was found.
2011-02-11 15:11:50 +01:00
Marcus Huewe
1dcf5fb3d6
- use pass instead of passx (plaintext_passwd is the default)
2011-02-11 12:42:54 +01:00
Marcus Huewe
5cb8468f3b
- don't fail if terminal encoding doesn't support unicode ( fixes #660445 )
...
- added util.safewriter.SafeWriter class
2011-02-11 02:45:13 +01:00
Marcus Huewe
8fc0a4e94b
- fix for 7d5893992d
2011-02-09 15:53:36 +01:00
Marcus Huewe
7d5893992d
- use Request's __cmd__ method for sorting
2011-02-09 15:51:26 +01:00
Ludwig Nussel
69458ca8c4
sort request lists by id
2011-02-09 14:57:33 +01:00
Marcus Huewe
09cee2a9f0
- fixed misleading note ( #644550 ("osc don't branch particular project"))
2011-02-08 17:09:48 +01:00
55f580f988
add force option to accept requests in review state.
2011-02-08 16:16:18 +01:00
Ludwig Nussel
75b662534f
fix osc my with obs 2.2 api
2011-02-04 10:35:02 +01:00
Ludwig Nussel
ba3bed8ecc
only catch http error, other exceptions are bugs
2011-02-04 10:35:02 +01:00
Ludwig Nussel
99ce83352c
fix indent
2011-02-04 10:35:02 +01:00
Ludwig Nussel
8c275ea991
osc my: also show requests in review state
2011-02-04 09:44:59 +01:00
Ludwig Nussel
0527789db9
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.
2011-02-03 14:25:20 +01:00
Ludwig Nussel
dd8b3ee681
Don't request message when branching a package
2011-02-03 14:25:20 +01:00
Marcus Huewe
f18b4d6a36
- fix for 0fd0ff2685
2011-02-02 19:35:32 +01:00
Juergen Weigert
0fd0ff2685
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
2011-02-02 17:11:14 +01:00
Marcus Huewe
d174599b8d
- escape % in help text
2011-02-01 20:07:29 +01:00
Marcus Huewe
1a89821f36
- fixed indention+small cleanup
...
- added "XXX" comment due the openSUSE specific "osc co obs://" implementation
2011-02-01 18:37:17 +01:00
Marcus Huewe
bb02a34622
- globally catch OSError ENOENT
2011-02-01 18:25:23 +01:00
Juergen Weigert
40af804c17
No such file or directory should not trigger stack trace.
2011-02-01 15:55:43 +01:00
Juergen Weigert
9228cebdc5
osc checkout '%{disturl}' is now supported.
2011-01-31 17:49:04 +01:00
Marcus Huewe
818eb05126
- use xmlindent instead of minidom stuff
2011-01-30 21:56:21 +01:00
Marcus Huewe
f9b1bd5c18
- do_search: '::' isn't a perl specific namespace/package/module separator
2011-01-30 21:37:45 +01:00
Marcus Huewe
61dd1613a6
Revert "[osc] add cb(pre)ignore capabilities to osc."
...
This reverts commit 68c7b57f66
.
It isn't needed because the corresponding backend part was also reverted
2011-01-30 21:31:58 +01:00
Marcus Huewe
88376a2bed
- Request: format_review, format_action should be static methods
...
- adjusted method docstring
- server_diff_noex: removed print statement
2011-01-30 21:26:04 +01:00
Jan-Simon Möller
e2f440fe95
Add armv7hl (hardfloat ABI) support.
...
Tested-by: Martin Mohring <martin.mohring@5edatasoft.com>
Reviewed-by: Martin Mohring <martin.mohring@5edatasoft.com>
2011-01-30 18:28:00 +01:00
Marcus Huewe
d4b4182220
- parse_repoarchdescr: use similar build descr "guessing" mechanism like bs_srcserver (but it still differs)
2011-01-30 16:38:11 +01:00
Marcus Huewe
880e7d5cb2
- do_request: added "--edit" option to edit a submit action ("osc rq show <id> --edit")
2011-01-30 14:24:21 +01:00
Marcus Huewe
ef06aa26cf
- fixed #665784 ("osc build --offline doesn't work for key verification")
2011-01-30 00:01:48 +01:00
Marcus Huewe
876b31d60a
- 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
2011-01-29 23:30:54 +01:00