Ludwig Nussel
1b8c4a3382
add alias for old option
2010-10-12 11:31:02 +02:00
Marcus Huewe
4229eb6197
- repairwc: repair a project wc (only missing '_apiurl' file so far)
2010-10-10 21:40:31 +02:00
Marcus Huewe
cc29db4551
- get rid of osc.core.init_project_dir
...
- moved cleaned up code to the Project class' "init_project" static method
2010-10-09 16:26:55 +02:00
Marcus Huewe
1b9825b8d8
- '_frozen' is no special storefile
2010-10-09 14:31:58 +02:00
Sascha Peilicke
0ec57a9e84
fixed do_rebuild: allow 'rebuild' in project paths
...
Previously, an 'osc rebuild' was only possible inside a package
directory contrary to the command help.
2010-10-08 12:25:32 +02:00
Marcus Huewe
c112331f25
do_buildinfo: accept the same arguments like do_build
...
- removed "with" statement again
2010-10-04 15:57:52 +02:00
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
Marcus Huewe
57a3832a8e
- rewrote "def commit"
...
- the upload revision isn't used anymore instead we commit via
cmd=commitfilelist
- extended and adjusted testcases
2010-09-03 17:46:01 +02:00
Marcus Huewe
5c8b258a6b
- fixed read_sizelimit: added missing strip
...
- fix for commit 89c9cb67f4
: self.size_limit should be an int
- added testcase for local _size_limit constraint
2010-09-03 16:09:56 +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
7dc2356c0e
- status: fixed state
...
if a file with state 'R' is removed from the wc its new state is '!'
2010-09-02 18:42:31 +02:00
feab43ed2f
hide depricated "expansion error" in legend
2010-09-02 16:44:02 +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
b718669685
- raise OscIOError instead of IOError (adjusted testcases)
2010-09-02 10:23:37 +02:00
Marcus Huewe
7145ecf0c9
- added is_known_apiurl method to check if a given url is a known apiurl
2010-09-01 15:53:37 +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
2f544dad9f
- disable sslcertck for http
2010-09-01 12:04:46 +02:00
Marcus Huewe
8bd4e4eddf
- fixed #514280 ("osc help text (0.119)")
2010-08-31 18:42:52 +02:00
Marcus Huewe
7802dfa9ad
- fixed patch header
2010-08-31 17:30:31 +02:00
Marcus Huewe
3ac330f7cd
- fixed _meta_mode + added testcase
2010-08-31 16:54:44 +02:00
Marcus Huewe
d8723ef94a
- get_source_file_diff returns a list instead of a str
2010-08-31 16:13:16 +02:00
Marcus Huewe
f5c5ee10d0
- update: take self.meta into consideration
2010-08-31 15:37:53 +02:00
Marcus Huewe
0a169fb7d7
- fix for commit a05a2a0a4f
2010-08-31 15:37:11 +02:00
Michal Vyskocil
a05a2a0a4f
read_filemeta: create the default _files if not exists
2010-08-31 14:52:46 +02:00
Michal Vyskocil
c30fc87c55
explicitly mark global variables
2010-08-31 14:43:43 +02:00
Marcus Huewe
1fb6c3c48c
- request_interactive_review: print request again (after displaying the diff)
2010-08-31 14:15:04 +02:00
Marcus Huewe
9c5c329a04
- get_diff: don't diff binary files
2010-08-31 13:30:37 +02:00
Marcus Huewe
3cf8a5bf88
- fixed commit (Package class)
...
- use "self.rev" when calling update_local_filesmeta (otherwise we might get a newer revision)
- write addlist after commit
2010-08-31 13:30:37 +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
9e8eeb8590
- removed old "make_diff", "comparePac" methods + old status code
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
d90228a7e3
- support a revert of a missing file which was added to the wc
2010-08-31 13:30:36 +02:00
Marcus Huewe
8050671870
- fixed logic errors
...
- fixed shutil.copyfile calls (use <filename>.copy+rename)
2010-08-31 13:30:36 +02:00
Marcus Huewe
7d8aeae6d8
- beautify
2010-08-31 13:30:36 +02:00
Marcus Huewe
9c0076d726
- added testcases for "def revert"
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
3fefbfbc5f
- added some comments for known bugs
2010-08-31 13:30:36 +02:00
Marcus Huewe
88a961cae4
- rewrote addfile() and delete_file() methods from the Package class (for the details see below)
...
- addfile():
* contains the complete logic for adding a file (=> simplified addFiles(...))
* semantic fixes
- delete_file():
* semantic fixes
- different handling of newly added/replaced files:
* added/replaced files are tracked in the .osc/_to_be_added file
- introduced new file state 'R': 'R' == "replaced"
* usecase: osc rm <file>; osc add <file> => new state is 'R'
* conceptually 'R' is equal to 'A'
- adapted revert() to support the new state (+ some other minor fixes)
- added testcases for addfile() and delete_file()
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
a17fbdcff1
- restore storefile in case it is lost (for whatever reason)
2010-08-31 13:30:35 +02:00
Marcus Huewe
7fc24f70a1
- bye bye old code
2010-08-31 13:30:35 +02:00
Marcus Huewe
bfb53cf67a
- raise an exception if a file is known by meta but no storefile exists
2010-08-31 13:30:35 +02:00
Marcus Huewe
b3d638774c
- do_revert: initial version
2010-08-31 13:30:35 +02:00
Marcus Huewe
7ca255cca0
- todo_send and todo_delete are no longer attributes (this also fixes commit ca45955ad60fc1dac9b013ba2d7cecbb9a132c6e)
2010-08-31 13:30:35 +02:00
Marcus Huewe
334fa82d39
- delete storefile if the commit was successful
2010-08-31 13:30:35 +02:00
Marcus Huewe
d8c59c8438
- update: support special handling for _service: files
2010-08-31 13:30:35 +02:00
Marcus Huewe
58ca66a417
- update: always use 'rev' query parameter when fetching files
2010-08-31 13:30:35 +02:00
Marcus Huewe
e91475508e
- support limit_size parameter during update
...
also added testcases
2010-08-31 13:30:35 +02:00
Marcus Huewe
5447dfbf12
- initial version of the new update mechanism
...
TODO: special handling for service files + respect limit_size parameter
2010-08-31 13:30:35 +02:00
Marcus Huewe
e74159754c
- bump version to 0.129git
2010-08-30 19:45:53 +02:00
Marcus Huewe
73f4adcba6
- bump version to 0.129
2010-08-30 19:36:52 +02:00
Marcus Huewe
0ae30e00e3
Merge branch 'master' of git@gitorious.org:opensuse/osc
2010-08-30 16:28:37 +02:00
Marcus Huewe
8307a7063f
- fixed "do_results"
2010-08-30 16:28:10 +02:00
Michal Čihař
48da9e2b71
Print http debugging to stderr.
2010-08-30 13:13:20 +02:00
Michal Čihař
c88d7fc4a3
Redirect debug output to stderr.
2010-08-30 13:06:17 +02:00
Marcus Huewe
9ac19b2c22
- request_interactive_review: don't abort if the diff fails due to status 404
2010-08-27 12:44: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
788342ea1b
- oops (forgot 'not')
2010-08-26 17:38:47 +02:00
Marcus Huewe
2a18eff50b
- _build_opener fail if the url is no apiurl
2010-08-26 14:14:23 +02:00
Marcus Huewe
2cb03b4efe
- fixed "logic" issue in init_basicauth
...
the old code didn't turn off the ssl checking if conf['apiurl']
was configured with "sslcertk = 1".
Example:
~/.oscrc:
[https://foo ]
sslcertk = 0
...
[https://main ]
sslcertk = 1
...
[general]
apiurl = https://main
if you send a request to https://foo (and conf['apiurl'] == https://main )
it'll fail because the ssl checking isn't disabled.
2010-08-26 13:06:00 +02:00
Marcus Huewe
2b3fdb4588
- fixed copy_pac
2010-08-26 12:51:45 +02:00
Marcus Huewe
af035f683e
- added new methods "__write_storelist()" and "store_readlist()"
...
this simplifies write_deletelist(), write_conflictlist(), read_tobedeleted(),
read_inconflict()
2010-08-24 10:23:11 +02:00
Marcus Huewe
25cbda4200
Merge branch 'master' of git@gitorious.org:opensuse/osc
2010-08-23 10:10:00 +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
Martin Mohring
367f72f731
fixed: mips and mipsel cross build, working with QEMU
2010-08-23 07:55:16 +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
286adfc927
- fixed "osc build --prefer-pkgs" for kiwi builds
2010-08-19 14:43:20 +02:00
Marcus Huewe
eeb05059ec
- fixed commit 2ae9a9453a
2010-08-19 13:43:48 +02:00
Marcus Huewe
4eacd5dfa7
- workaround for broken urllib2 (see http://bugs.python.org/issue9639 )
2010-08-19 13:00:10 +02:00
Marcus Huewe
4580a67e69
- request_interactive_review: display current action when opening the editor
2010-08-19 11:40:49 +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
Ludwig Nussel
3d610e6e0b
ignore gpg key import errors
...
Some projects use the same gpg key. To avoid osc from quitting when
building against two or more such projects at the same time ignore
gpg key import errors as long as at least one key could be imported.
2010-08-17 15:16:00 +02:00
Marcus Huewe
be425d3261
- use ExtRuntimeError instead of 'sys.exit'
2010-08-16 16:40:16 +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
Marcus Huewe
03ad610caf
- move 'builtin_signature_check' into conf module
2010-08-16 16:06:17 +02:00
Marcus Huewe
3ceef4d4f2
- use correct package
2010-08-16 16:04:27 +02:00
Marcus Huewe
322a385f7a
- strip at the correct place...
2010-08-16 13:53:52 +02:00
Marcus Huewe
77efad5eb8
- request_interactive_review: strip() user input
2010-08-16 13:51:19 +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
Juergen Weigert
ac3bbf9bc7
fixed and simplified result sorting expression in osc search
2010-08-13 00:07:59 +02:00
Marcus Huewe
cbebe3b239
- treat "no_verify" as a boolean
2010-08-12 23:13:51 +02:00
Juergen Weigert
5fe669b15b
allow no_verify also in .oscrc
2010-08-12 21:34:08 +02:00
Juergen Weigert
c23002c953
osc search now returns sorted by proj and pack,
...
not just by proj with random pack order.
2010-08-12 20:23:28 +02:00
Juergen Weigert
1b38b8c338
osc search now returns sorted by project, and sorted by package,
...
not just sorted projects and random package order.
2010-08-12 20:21:04 +02:00
Marcus Huewe
1a5023ff28
- simplify + always remove tmpfile
2010-08-11 22:50:10 +02:00
Marcus Huewe
598a458718
- fixed #613513 ("osc copypac to another OBS instance fails if source package uses links")
...
now links are always expanded if we copy across different buildservice instances
2010-08-11 22:42:16 +02:00
Marcus Huewe
8b89a7c225
- removed old cruft
2010-08-11 18:08:54 +02:00
Marcus Huewe
e29b227b5b
- do_status: added '--show-excluded' option to show all files (except the store dir)
...
Additionally "osc st" doesn't show dirs anymore if it's called from
a package wc because dirs cannot be added to a package
2010-08-11 18:05:12 +02:00
Marcus Huewe
ba4b0d3c20
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-08-11 12:52:48 +02:00
Marcus Huewe
2347e45a5c
- fixed init_package_dir (the whole init_*_dir concept needs to be rewritten)
2010-08-11 12:50:53 +02:00
e0172293df
check the right options for request and review command
2010-08-10 16:36:29 +02:00
Marcus Huewe
eada1234a9
- do_signkey: don't modify list during iteration
2010-08-08 23:45:04 +02:00
Marcus Huewe
b213b9695b
- a more generic version of ebd4b1d893
(the same logic applies to *.dsc, *.kiwi)
2010-08-08 23:15:25 +02:00
Marcus Huewe
85d3391bd4
- support signing state (patch by srinidhi@novell.com)
2010-08-08 21:09:18 +02:00
1244308d47
"osc sr" used for an entire project is now offering also to supersed requests
...
when they got cloned by checking the attribute.
It does not work from package dir atm, this entire behaviour is not a good design.
But I lack a good idea how to design it better atm.
2010-08-05 17:00:45 +02:00
ef2d0aa2e9
add "request clone" command for OBS 2.1
2010-08-05 15:54:48 +02:00
1e2bbf941c
fix comment message transfer for "review add" command
2010-08-05 10:24:20 +02:00
Ludwig Nussel
ebd4b1d893
prefer spec files that match the directory name only if there are no debian or kiwi files
...
partially reverts commit 1b6fbd7d05
.
2010-08-04 17:26:59 +02:00
e3828801db
Revert "set release number to zero if not specified via commandline or server otherwise"
...
doing it in build script
This reverts commit 336530b660
.
2010-08-04 17:24:06 +02:00
5bd78d44f8
another try for prjresutls, do not show "excluded" packages/repos by default,
...
but show the manual disabled ones.
2010-08-04 17:16:59 +02:00
336530b660
set release number to zero if not specified via commandline or server otherwise
2010-08-04 17:02:25 +02:00
Ludwig Nussel
a4a52b62ae
fix and rename osc pr --show-non-building
...
fix osc pr --show-non-building to actually do what it is supposed to
do. Change default to not do filtering by renaming the option to
--hide-disabled
2010-08-04 16:49:57 +02:00
Ludwig Nussel
40503680c1
tweak output about used keys
2010-08-04 15:14:37 +02:00
Ludwig Nussel
f0e1e1c7b1
fetch project keys always to catch changed ones
2010-08-04 15:00:08 +02:00
Ludwig Nussel
58ce76ef8c
use store_write_string for _packages file
...
avoids corrupted files if something goes wrong.
also pretty print the xml to make manual editing easier
2010-08-04 14:16:54 +02:00
Ludwig Nussel
118941047d
another attempt to fix the init_package_dir chdir mess
2010-08-04 14:16:54 +02:00
Ludwig Nussel
ed2b8e111c
fix init_package_dir (broken by commit b3c5204b59
)
2010-08-04 11:21:17 +02:00
Ludwig Nussel
d3a4119bc8
turn on built in signature check
2010-08-03 16:53:03 +02:00
Ludwig Nussel
def93eb9d9
fix rq show
2010-08-03 09:35:39 +02:00
Danny Kukawka
f2788628c6
fix output of 'osc buildinfo' if parameter are missing
...
Fixed output of 'osc buildinfo' if parameter are missing due to change
from commit cb18807622
. Show only the
available repos (and not the arch) if called from a checked out
package.
2010-07-31 13:30:26 +02:00
Danny Kukawka
57881f31a1
changed Request:list_view() to show add_role request info
...
Changed Request:list_view() to show add_role request info more verbose
including requested person/group and the requested role.
2010-07-31 13:30:26 +02:00
Marcus Huewe
1b6fbd7d05
- don't use spec by default if multiple build description files are found
...
otherwise it'll lead to unexpected behaviour if the repository is for instance
debian
2010-07-30 14:02:23 +02:00
cb3691426c
add "review add" command
2010-07-30 11:36:17 +02:00
Danny Kukawka
9a519b773d
added FIXME to show_package_disabled_repos
2010-07-29 17:45:13 +02:00
Danny Kukawka
db08e0b496
fixed several functions to respect 'osc -A'
2010-07-29 17:29:51 +02:00
cb18807622
do not crash via using not anymore supported /platform controller (unsupported since OBS 1.0)
...
Unify "repos" and "repositories" command. Make the command working at all as specified.
2010-07-29 17:04:39 +02:00
753893222a
support list of open reviews
2010-07-29 13:46:56 +02:00
cff8696818
do not hide open request by default.
2010-07-29 13:39:48 +02:00
b5bd00fc8f
make "osc api" syntax compatible with curl parameters
2010-07-29 11:43:56 +02:00
b4a1f83e01
* add the new "dist" command to NEWS file.
...
* disable the "DISCONTINUED" support for now, because this is just a hack
which only works with one instance. We need a server side supported approach
in case we need this.
* Show repository to be used and the suggested reponame for own project
2010-07-29 07:37:54 +02:00
Danny Kukawka
ead799632f
Merge branch 'master' of gitorious.org:opensuse/osc
2010-07-28 16:05:36 +02:00
Danny Kukawka
290a3f0f90
added new command 'osc distributions'
...
added new command 'osc distributions' to get info about active
and discontinued distributions.
2010-07-28 16:04:27 +02:00
4c6ffb7607
prjresult: Do not show package rows or repo columnss by default which are not building at all (in disabled or excluded)
...
A Rudi feature ;)
2010-07-28 15:38:01 +02:00
10f4a6240d
remove a file from conflict list in any case, when it gets removed
2010-07-28 12:13:46 +02:00
d128ff4601
generated service files are always to be skipped regarding status and commit
2010-07-28 12:08:40 +02:00
Henne Vogelsang
98aa12c9a3
fix links that point into the wiki
...
Signed-off-by: Henne Vogelsang <hvogel@opensuse.org>
2010-07-27 17:24:05 +02:00
Danny Kukawka
f338e36158
reuse apiurl instead reading it again and again from config
2010-07-27 16:06:49 +02:00
Danny Kukawka
33dc89d805
changed print_repos() to print only repos on request
...
Changed print_repos() to print only repos (and not repo and arch)
on request since 'osc buildinfo' needs only the repo as parameter.
Fixed do_repositories() apiurl handling and changed to get the
project from checked out project or package dir if available.
2010-07-27 14:31:12 +02:00
Danny Kukawka
eb0cb6dee9
don't raise error message after self.print_repos()
...
Don't raise error message after self.print_repos(), since the
message will never be printed.
2010-07-27 14:03:26 +02:00
Danny Kukawka
6712b44bee
Merge branch 'master' of gitorious.org:opensuse/osc
2010-07-27 14:01:19 +02:00
Danny Kukawka
35536475e7
fixed 'osc buildconfig'
...
Fixed 'osc buildconfig'. Don't ask for package and arch since the
API don't allow to filter for a package or a architecture.
Remove related and useless parameter from get_buildconfig() in
core.py
2010-07-27 13:58:52 +02:00
Juergen Weigert
8830d396cb
- fixed references into en.opensuse.org to honor the new wiki structure
...
(redirects added in the wiki for the three URLs on 'osc help' -
all other URLs remain broken until this osc gets deployed)
2010-07-26 19:45:42 +02:00
Marcus Huewe
de884b719c
- do_buildlog: show appropriate error msg if too many args are specified
2010-07-26 19:02:48 +02:00
Danny Kukawka
b3c5204b59
fixed serveral warnings from pychecker.py
...
Fixed serveral warnings from pychecker.py like such:
- Parameter ($) not used
- Local variable ($) not used
Including fixes like:
- remove not needed imports
- don't read apiurl in core.py from config if already available via
function parameter
- delPerson(): check for user as e.g. in addPerson()
2010-07-26 16:46:21 +02:00
Marcus Huewe
e2ab1a520e
- do_buildinfo: support --prefer-pkgs
2010-07-26 15:41:02 +02:00
14376dd2b6
fix "osc up" on broken link (as instructed by Michael ;)
2010-07-23 16:17:39 +02:00