1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-11 07:06:16 +01:00
Commit Graph

761 Commits

Author SHA1 Message Date
Marcus Huewe
f7dc7abebc - do_submitrequest: ignore skipped files 2010-09-21 11:20:05 +02:00
brook hong
02980dfdb0 git_pull service osc support 2010-09-20 17:09:43 +08:00
Marcus Huewe
af7ff0f2ad - request_interactive_review: added "(s)kip" option to skip the current request 2010-09-17 23:03:29 +02:00
Marcus Huewe
de8b33f29d - support --interactive-review option when running "osc rq list <project>"
iterates over all requests for the given project and calls "request_interactive_review"
2010-09-17 21:03:52 +02:00
Marcus Huewe
6d9c5cf228 - "osc request show <id>": added --source-buildstatus option to print the buildstatus of the src package
- "osc request show <id> --interactive": added shortcut "b" to print the buildstatus of the src package
2010-09-14 16:02:21 +02:00
Marcus Huewe
986e71d575 - do_repairwc: adjusted help text 2010-09-14 14:51:18 +02:00
Marcus Huewe
69c3161e93 - do_repairwc: print more details how to fix a broken wc 2010-09-14 14:48:10 +02:00
Marcus Huewe
56d3b9b479 - "do_repairwc": find all broken pkgs and repair them if it's called in a project dir 2010-09-14 14:40:18 +02:00
Vincent Untz
e78e4f3151 make "osc rdiff" run with a pager
We also do this for "osc request show -d" and similar friends.

Also, make run_pager() handle the case where the string is empty,
instead of having to make the caller handle it.
2010-09-12 23:22:18 +02:00
8e92cebaf2 don't crash on add_role to a project (untested) 2010-09-09 22:08:24 +02:00
Marcus Huewe
fdc43cd9a2 - added validator params to "commitExtPackage"
- use True/False instead of 1/None for the "verbose_validation" parameter
2010-09-09 12:49:53 +02:00
Marcus Huewe
4a19faadf3 - Package class: moved validation code into a new method "validate"
- do_commit: call validate before asking the user for a commit msg
- Project class: added new validate_pacs method
- minor fixes here and there
2010-09-09 12:30:49 +02:00
Marcus Huewe
9ad14a1d9c - added new "repairwc" command which tries to repair an inconsistent working copy 2010-09-08 18:56:15 +02:00
d69bd68ea3 add "review" and "superseded" as known request states. 2010-09-07 17:31:28 +02:00
Marcus Huewe
5b25135dea - enable cpio bulk download by default
- removed option --cpio-bulk-download
- added new option --disable-cpio-bulk-download (to disable the default cpio
  bulk download)
2010-09-07 16:08:05 +02:00
36c0245e80 fix usage of linkrev in show_xsrcmd5 function.
make usage of linkrev=base options in setlinkrev.
2010-09-07 15:03:01 +02:00
492edaa794 Go one step further with setlinkrev, use always xsrcmd5, even when given a normal revsion, except "-R" option is used. 2010-09-07 12:14:13 +02:00
Marcus Huewe
5e72fa1284 - fixed "osc addremove": use delete_file(), initialize pac.todo correctly
- added new testcase
2010-09-06 15:28:23 +02:00
Marcus Huewe
89c9cb67f4 - renamed limit_size to size_limit (only internal variable changes)
- added new method "get_files_meta" to the Package class (which handles
  the the "skip file and service stuff")
2010-09-03 14:51:20 +02:00
Marcus Huewe
94eb143d8c - small fixes for do_status and get_diff
- get_diff:
  * more helpful error message if a file was added and the local
    file was removed again
  * unify self.filenamelist and self.to_be_added if self.todo is empty
  * extended testcases
- do_status: be able to run "osc st <nonexistentfile>"
2010-09-02 13:47:42 +02:00
e5016d0f64 support OBS 2.1 request diff 2010-09-02 10:30:13 +02:00
Marcus Huewe
109e199445 - filter Cookie, Authentication and Set-Cookie headers when using "osc -H..."
to enable full debug use "osc --http-full-debug". The current implementation
is _really_ ugly but httplib doesn't use a logger object or such...
2010-09-01 15:38:08 +02:00
11d81fe776 initial service command for running source services remote or locally 2010-09-01 12:44:47 +02:00
Marcus Huewe
8bd4e4eddf - fixed #514280 ("osc help text (0.119)") 2010-08-31 18:42:52 +02:00
Marcus Huewe
c4ceb7f700 - adjusted store_write_string calls so that the storefile ends with a newline
- adjusted testcase fixtures for this change
2010-08-31 13:30:37 +02:00
Marcus Huewe
c8e849b391 - fixed importsrcpkg 2010-08-31 13:30:37 +02:00
Marcus Huewe
2ffd46a9c2 - get rid of the init_package_dir mess
moved code into the staticmethod "init_package" of the Package class.
Cleaned up "checkout_package"
2010-08-31 13:30:37 +02:00
Marcus Huewe
ca61d08bf3 - added new "get_diff" method to the Package class
- restructured "get_source_file_diff"
- commandline.py: adapted commands so that they use the new "get_diff" method
2010-08-31 13:30:36 +02:00
Marcus Huewe
80bf280d8b - removed hack for #399247 - there's nothing special when expanding/unexpanding links 2010-08-31 13:30:36 +02:00
Marcus Huewe
d5e4a81e8f - addremove: don't remove storefile 2010-08-31 13:30:36 +02:00
Marcus Huewe
b3d638774c - do_revert: initial version 2010-08-31 13:30:35 +02:00
Marcus Huewe
8307a7063f - fixed "do_results" 2010-08-30 16:28:10 +02:00
Marcus Huewe
d5c91babc1 - "osc build --keep-pkgs dir": create dir if it does not exist 2010-08-26 18:50:20 +02:00
Marcus Huewe
46c4f1e1d5 - simplify 2010-08-23 10:08:09 +02:00
JF Ding
c61e4a514e vc: to support meego changelog style if detected
need "vc" command shipped with meego-packaging-tools
2010-08-23 09:58:13 +02:00
Danny Kukawka
5a49daa69a fix warnings from pychecker
Fixed several warnings from pychecker as e.g.:
- (XY): shadows builtin
- Local variable (XY) not used
2010-08-20 14:34:41 +02:00
Danny Kukawka
abce7cd8fc use correct the user (depending on the apiurl)
Use correct the user (depending on the apiurl) as done in commit
c93baf1f58.
2010-08-20 13:25:32 +02:00
Danny Kukawka
72eae319b8 removed whitespace in help text 2010-08-20 13:23:23 +02:00
Marcus Huewe
eeb05059ec - fixed commit 2ae9a9453a 2010-08-19 13:43:48 +02:00
Danny Kukawka
50f6ba67ea 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.
2010-08-18 17:58:42 +02:00
Danny Kukawka
d2b9015d8f small typo fix 2010-08-18 16:20:24 +02:00
Danny Kukawka
2aede1039f 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.
2010-08-18 16:17:34 +02:00
Marcus Huewe
c93baf1f58 - use correct the user (depending on the apiurl) 2010-08-18 12:40:43 +02:00
Danny Kukawka
6380c91d0f removed left over debug messages 2010-08-18 11:46:57 +02:00
Danny Kukawka
1477193694 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.
2010-08-18 11:42:50 +02:00
Marcus Huewe
e209766084 - renamed "RuntimeError" to "ExtRuntimeError" to avoid confusion with python's "RuntimeError" class
just a "cosmetic" changes
2010-08-16 16:27:00 +02:00
Ludwig Nussel
08f12721fe another rq fix 2010-08-13 09:51:32 +02:00
Ludwig Nussel
ef7a82fe97 fix osc rq 2010-08-13 09:43:32 +02:00
Ludwig Nussel
fb7911ea86 fix sr -d again 2010-08-13 08:58:27 +02:00
Juergen Weigert
b3fb8b51fb tabs to spaces. Damit kein Unglueck nicht geschicht. Hello Danny. 2010-08-13 00:30:05 +02:00