1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00
Commit Graph

862 Commits

Author SHA1 Message Date
da52ea1331 - fix crash on removal of local _service file 2011-08-24 12:06:34 +02:00
cdc21c6011 - yet another fix for old OBS instances 2011-08-23 16:03:58 +02:00
c140a1d975 - make osc working with OBS 2.1 again 2011-08-19 15:18:55 +02:00
cf1bd2d5df - support source services using OBS project or package name 2011-08-18 11:32:19 +02:00
Michal Marek
c7e5819b7c Do not check for untracked files before commit
This duplicates the work of the source validator and is just annoying.

Suggested-by: Michal Vyskocil <mvyskocil@suse.cz>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-08-16 11:33:56 +02:00
Marcus Huewe
3be3b915bd - fixed request_interactive_review 2011-08-15 17:06:04 +02:00
Marcus Huewe
2307cfc0b7 - coding style... 2011-08-11 23:11:15 +02:00
Marcus Huewe
7927b83c1c - request_interactive_review: use request_diff
(old diff method is kept for backward compatibility)
2011-08-11 23:09:45 +02:00
Dirk Mueller
54c520da8e fix link to pattern description 2011-07-27 15:22:40 +02:00
Sascha Peilicke
f072cfed15 Make sure that the description is really empty for new projects/packages 2011-07-20 19:34:46 +02:00
82d9f9e695 It is not that easy, it would also need support server side and it must not depend on projects, since a branch must still produce the same result
Revert "Forward project directory to source services."

This reverts commit 9c016b8bf0.
2011-07-20 12:03:44 +02:00
37f88a23b1 - log less on source service error in the hope that the service did proper logging already 2011-07-20 12:00:57 +02:00
Johannes Obermayr
9c016b8bf0 Forward project directory to source services.
This helps to implement an efficient way to create source tarballs from Git repositories:
1. The cloned Git repository will be stored only once in a directory; all projects will use this repository (determined by the URL).
2. The bzip2 compressed tarball will be created via 'git archive $branch $filestoinclude --prefix=$name | bzip2 --best >$projdir/$name-$version'.
3. The version will be adapted automatically without the set_version service.
4. All branched/linked projects will be updated automatically (does not with current implementation).
5. Not to mention it saves space on source host(s).
2011-07-20 11:40:04 +02:00
ee977eb8fc - show also comment in request list 2011-07-13 15:47:38 +02:00
4ea084761e - do not print "Waiting" line on packages without defined services 2011-07-04 12:13:20 +02:00
caec4c2547 - detect also project wide only source services during commit 2011-07-04 12:05:47 +02:00
6344bcc616 - fix crash after commit when no serviceinfo element exists 2011-06-10 11:37:24 +02:00
eb6a42713d - fix broken update after commit with service run
- fix up -S on unexpanded checkouts
2011-06-09 17:22:49 +02:00
Marcus Huewe
b04550afc6 - getProjectGlobalServices: catch 400 instead of 404
otherwise it breaks older obs instances
2011-06-08 13:22:51 +02:00
a6716337f5 - add the --meta handling also to list, cat and less commands 2011-06-08 10:25:15 +02:00
8bc3f3a6d2 - open 0.133 developement 2011-06-07 16:46:26 +02:00
425fdec665 release 0.132 2011-06-07 16:39:46 +02:00
Ludwig Nussel
75e196875b fix lines = None 2011-06-01 09:12:28 +02:00
Ludwig Nussel
14d9877838 avoid first line empty for commit message 2011-05-31 11:48:26 +02:00
Ludwig Nussel
651d66afab add .changes diff to commit message again 2011-05-31 11:48:26 +02:00
d735377ad7 - do not fail on special packages with defined source services 2011-05-26 16:39:40 +02:00
8dd0d9f8e3 - rdelte and undelete operate with history comment now 2011-05-26 10:21:14 +02:00
48a8fa144f - support for local defined source services during commit. Move old validation and trylocal source service run into commit function 2011-05-25 13:34:32 +02:00
c00751f4d7 - handle errors of source service runs 2011-05-24 10:49:08 +02:00
0a7492cdf8 - fix description of rdelete commands and make a difference to enforce it on server side or to ignore the content. Famous rm -rf command exists now :) 2011-05-23 20:43:35 +02:00
4caf868548 - requests in history can be also delete or maintenance requests 2011-05-23 17:01:28 +02:00
22e4047005 - support the new source service file mode of OBS 2.3 Beta 2 2011-05-23 15:26:13 +02:00
Marcus Huewe
24cf2a607b - server_diff_noex: fixed logic error (body is no Element) 2011-05-18 17:54:33 +02:00
Marcus Huewe
3007c252a2 Revert "read_filemeta: create the default _files if not exists"
This reverts commit a05a2a0a4f.

Conflicts:

	osc/core.py

The commit doesn't make much sense because we can't recover from a missing .osc/_files file.
This has to be fixed.
2011-05-17 16:09:09 +02:00
Marcus Huewe
7c427aa505 - fixed os.path.join call 2011-05-16 14:27:55 +02:00
Marcus Huewe
7c59949f33 - add new config option include_request_from_project (default True)
This way it's possible to hide requests which have a given project
as a source project when running "osc rq list project".

Original patch by darix (just a bit beautified)
2011-05-12 23:27:19 +02:00
704199f279 - support to create hidden project on "branch" and "createincident" commands 2011-05-04 12:11:24 +02:00
e120cd6b39 - update local copy after checkin if source service is there 2011-05-03 16:44:20 +02:00
ab48f97add - open 0.132 version 2011-04-27 14:39:17 +02:00
85ab5e9804 switch to 0.131 release 2011-04-27 14:38:30 +02:00
a6ecdbaa1d - "review accept/decline" is trying to change all reviews of a requests, if a specific one is not specified by user.
- do not always implicit add by_user on reviews.
- remove default to set a user himself as reviewer (makes no sense)
2011-04-26 17:21:40 +02:00
Marcus Huewe
023a2426d9 - osc rq show <id> -d: store tmpfile with suffix ".diff" (for syntax highlighting)
- run_pager: added optional "tmp_suffix" parameter
2011-04-24 00:27:47 +02:00
Ludwig Nussel
1c9d99fa79 catch only urllib errors for expand handling 2011-04-18 11:03:42 +02:00
Ludwig Nussel
b33577b6a7 use more generic oscerr.PackageNotInstalled 2011-04-18 11:03:28 +02:00
Test User
9c2593b515 ci warning 'File "..." is listed in package meta but does not exist.'
was confusing, it is the wrong way around. fixed.

Also allowing 'd' as an alias to 'r', in case the user thinks of
'delete', rather than 'remove'. This is also consistent with Rudi's validator
scripts.
2011-04-08 14:25:56 +02:00
802925c216 - fix failure of aggregatepac when target package exists only via project link 2011-03-30 14:12:59 +02:00
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
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
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