Sascha Peilicke
7927a7ba04
Merge commit 'refs/merge-requests/6' of gitorious.org:opensuse/osc into integration
2010-10-04 15:06:32 +02:00
Sascha Peilicke
53813ff15a
Merge commit 'refs/merge-requests/7' of git://gitorious.org/opensuse/osc into integration
2010-10-04 15:04:04 +02:00
Marcus Huewe
b08802e9fe
- fixed do_my (was broken by commit 54513a23de
but nobody noticed it so far)
2010-09-29 19:57:00 +02:00
Marcus Huewe
64ac6aeb4f
- do_repairwc/wc_repair: repair missing "_apiurl" file
...
- store_read_apiurl: raise WorkingCopyInconsistent if dir is a wc, defaulturl is False
and ".osc/_apiurl" doesn't exist (otherwise NoWorkingCopy is raised)
- WorkingCopyInconsistent: add new attribute which contains the dirty files
2010-09-28 23:07:33 +02:00
Marcus Huewe
67c07e38c0
- minor indention fix
2010-09-28 16:20:55 +02:00
5feac3f242
do not download large debug packages by default with "getbinaries"
2010-09-27 17:43:44 +02:00
Juergen Weigert
e8859a6a74
oops, that was perl syntax ...
2010-09-21 19:59:15 +02:00
Juergen Weigert
eb295452ae
fixed 'osc rq list -a proj pack'; added 'osc my rq' to usage of osc rq
2010-09-21 19:44:34 +02:00
Jan-Simon Möller
68c7b57f66
[osc] add cb(pre)ignore capabilities to osc.
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-09-21 11:29:18 +02:00
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
530d67102f
- package/project wc's require the "_apiurl" storefile
...
- store_read_apiurl: added "defaulturl=True" parameter to return the
default apiurl if no '_apiurl' file exists (or if an exception is
raised while trying to read the '_apiurl' file)
2010-09-19 23:00:19 +02: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
cb7620fc54
- add '_frozenlink' to OPT_STOREFILES
2010-09-16 15:43:17 +02:00
Marcus Huewe
6b9621b5b9
- fix for python2.7/m2crypto: M2Crypto.httpslib.ProxyHTTPSConnection defines "endheaders" without parameters
...
Now "myProxyHTTPSConnection" inherits from "M2Crypto.httpslib.ProxyHTTPSConnection" _and_ "httplib.HTTPSConnection".
The latter class is only used to call "httplib.HTTPSConnection.endheaders". This multiple inheritance shouldn't have any side-effects
because "M2Crypto.httpslib.ProxyHTTPSConnection" already inherits from "httplib.HTTPSConnection" (and mro will pick the methods from
"M2Crypto.httpslib.ProxyHTTPSConnection" first).
2010-09-16 14:28:14 +02:00
Marcus Huewe
d1b07615ce
- only exclude vc tmpfiles (*.changes.in isn't excluded anymore) (as requested by coolo/others)
2010-09-16 11:45:59 +02:00
Marcus Huewe
aa2832f525
- workaround for broken urllib2 in python 2.6.5: wrong credentials lead to an infinite recursion
2010-09-14 23:10:23 +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
Marcus Huewe
f9f785ccd8
- add path to the broken wc to the error message
2010-09-14 13:12:32 +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
Sascha Peilicke
5d17235ea6
Now works, also fixed BUILD_DESCR parsing. Dangling file handle is now closed correctly.
2010-09-10 15:57:40 +02:00
Sascha Peilicke
9ceb3bfe94
initial changes.
2010-09-10 15:57:40 +02:00
Sascha Peilicke
4c25b73151
Streamlined 'bugowner' and 'maintainer' commands.
...
Both commands now check the current working-copy path if no arguments
are given and return the respective maintainer/bugowner.
Related to that, the help messages where updated and changed slightly
to look more similar.
2010-09-10 14:20:42 +02:00
8e92cebaf2
don't crash on add_role to a project (untested)
2010-09-09 22:08:24 +02:00
Marcus Huewe
7b5471e737
- fixed #634042 ("osc shows negative percentages of RPM installation completion")
2010-09-09 15:04:00 +02:00
Marcus Huewe
078400f6cc
- meter.py: reduced status bar (this one is used if there's no Content-Length header)
2010-09-09 14:58:33 +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
5cd8769f5a
- added '_commit_msg' to OPT_STOREFILES tuple
2010-09-09 09:52:59 +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
Marcus Huewe
565ca7890d
- make download() less error prone
2010-09-08 17:41:14 +02:00
Marcus Huewe
7fb1d22593
- adapt old difflib format to python2.7's format
2010-09-08 12:10:09 +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
Marcus Huewe
29a97d17f8
- fixed indention
2010-09-07 16:06:50 +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
10d999c479
setlinkrev is setting now the revision to xsrcmd5 by default to avoid later breakage on indirect links
2010-09-07 11:58:18 +02:00
Marcus Huewe
c85ee2c0cb
- removed "old" hack
2010-09-07 10:54:42 +02:00
Marcus Huewe
1043bc8145
- hrm newly created packages have no revision...
2010-09-06 17:57:30 +02:00
Marcus Huewe
eb17e3ffe1
- fixed "osc add /path/to/prj/pkg"
2010-09-06 17:50:56 +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
814a383ed0
- fetch.py: check if we got all packages (--cpio-bulk-download is used)
2010-09-06 14:28:39 +02:00
Marcus Huewe
b3e538be90
- now product builds should work with "--cpio-bulk-download"
...
- util/rpmquery:
* added new methods "is_src", "is_nosrc" to check if the package is
a src rpm or nosrc rpm
* fixed "canonname": this never worked for src- or nosrc rpms
- minor code restructuring
Note:
in order to fetch the cpio archives osc uses "getbinarylist". The
drawback is that "getbinarylist" doesn't generate an ".errors" file
if we're requesting a non-existent filename.
2010-09-06 14:13:35 +02:00
root
c13fd84169
parisc should always build hppa
2010-09-06 10:40:24 +02:00
Marcus Huewe
31f14c7abe
- print more information if a PackageInternalError exception is caught
2010-09-03 19:59:14 +02:00