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

1262 Commits

Author SHA1 Message Date
Marcus Huewe
fd3d0685a2 - fixed search 2010-03-18 17:57:25 +01:00
Marcus Huewe
c7c1f19445 - fix for commit 54513a23de 2010-03-17 17:32:59 +01:00
Marcus Huewe
23578e72fd - use sys.stdout.write() instead of print 2010-03-17 15:28:10 +01:00
Marcus Huewe
cf2b0c182f - if the commit is interrupted always delete the upload rev 2010-03-15 20:27:21 +01:00
Marcus Huewe
6a93a72635 Merge branch 'master' of git://gitorious.org/opensuse/osc 2010-03-15 16:09:32 +01:00
Marcus Huewe
0ee8d82378 - added slightly modified version of Michal Marek's <mmarek@suse.cz> patch to search binary packages 2010-03-15 16:08:00 +01:00
Stephan Kulow
54513a23de /search/package returns all meta data for the packages,
/search/package_id only returns the names - and that's all that
interests us for requests.
before: 11s
after: 5s
2010-03-15 13:37:49 +01:00
Marcus Huewe
47beb996ff - minor changes 2010-03-15 13:34:38 +01:00
Stephan Kulow
8c86d1fab3 put the states first for involved projects
before: 18s
after: 11s
(possibly it matters only if you have more than your home project
in the project list)
2010-03-15 13:18:18 +01:00
Marcus Huewe
88474d392d - do_request(): added "--involved-projects" option to show all requests for project/packages where USER is involved
- code restructuring:
  * added new get_user_projpkgs_request_list() method
  * added new get_user_projpkgs() method
2010-03-13 21:06:18 +01:00
Marcus Huewe
4dfaad4795 - rewrote do_my()
I hope we didn't lose a feature/functionality. If you notice some unexpected
behaviour please tell me.
2010-03-13 14:06:48 +01:00
Marcus Huewe
dcd5a852d6 - core.py: added filter_role() method + other minor changes 2010-03-13 13:55:53 +01:00
Marcus Huewe
aaf5d9dfaf - backward compatibility fix: old apis don't support role filtering 2010-03-12 15:22:11 +01:00
Marcus Huewe
52cac96f20 - get_request_list(): use new search interface 2010-03-11 00:24:38 +01:00
Marcus Huewe
2e011e70d3 - updated help text 2010-03-10 23:43:04 +01:00
Marcus Huewe
c6c9506640 - reworked do_search() and osc's search interface
- removed build_xpath_predicate()
- rewrote search()
- added xpath_join() to join two xpath expressions
- TODO: backward compatibility: currently do_search() requires a recent
  api version from git master in order to do some role filter stuff
2010-03-10 23:36:09 +01:00
Marcus Huewe
bc1322803d - check args/options 2010-03-09 12:22:04 +01:00
Juergen Weigert
8b3e24cd0e dependency counter fixed. done += 1 needs to be indented correctly. 2010-03-09 02:28:07 +01:00
Juergen Weigert
ec8bf4b60f Proofreading... it (the computer) shall not speak about itself in first person. 2010-03-09 01:40:32 +01:00
Juergen Weigert
38c0621a90 osc ls -u -- same logic here as mls suggests for osc cat. 2010-03-08 23:52:51 +01:00
Marcus Huewe
b4364bceff - ignore trailing slashes 2010-03-08 14:09:15 +01:00
Michael Schroeder
9df5940b97 - turn option upside down for consistency 2010-03-08 10:56:29 +01:00
Juergen Weigert
4bd3d515ee suggest git, svn, ... if indicated, after oscerr.NoWorkingCopy 2010-03-08 01:52:13 +01:00
Juergen Weigert
f9855a821b "osc cat" now auto-expands through link. New option -n to suppress this. 2010-03-08 01:31:36 +01:00
Juergen Weigert
5a97588b85 osc add now clears files from _to_be_deleted
This happens, if a file was previously deleted, and the user changes his
mind before a commit. Such an add is no longer an add, but a cancel for the
planned delete. This resulted in unexpected loss of the file, on the server, as
the message 'is already under version control' is quite misleading in this case.
2010-03-08 00:08:55 +01:00
Juergen Weigert
35bc256de0 Merge branch 'master' of gitorious.org:opensuse/osc 2010-03-07 23:10:13 +01:00
Juergen Weigert
a92a63ad4d helpful messages about non-existing remote packages never made it to the
user, as meta_exists() died with a shorter message earler.
2010-03-07 23:07:03 +01:00
Marcus Huewe
bc0cb438b8 - added "config" command to set/get/delete a config option
maybe we should move the whole config stuff into a new config object.
This would make things much easier.
2010-03-07 22:50:11 +01:00
Marcus Huewe
76cfc033a9 Merge branch 'master' of git://gitorious.org/opensuse/osc 2010-03-07 22:44:34 +01:00
Juergen Weigert
f25bfa6ad1 made URLError readable, instead of a bogus stack-trace.
added full_url, to even give a hint about the cause.
2010-03-07 21:56:29 +01:00
Marcus Huewe
96f382f171 - added 'verbose' option to DEFAULTS dict 2010-03-06 20:14:51 +01:00
Stephan Kulow
d6968933ee changing some strings in the name of mls 2010-03-05 12:54:12 +01:00
Stephan Kulow
eb9f016338 diff3 -E is much easier to read 2010-03-05 11:45:50 +01:00
Marcus Huewe
0dcf378060 - make store_write_* methods more safe 2010-03-04 00:31:46 +01:00
f9aa6c7271 support package search with project results needed for maintained search.
This is for sure not nice, but fixes #583570 for now. (we need really to re-think
the osc search implementation)
2010-03-02 09:52:18 +01:00
Marcus Huewe
8e7a171cf2 Merge branch 'master' of git://gitorious.org/opensuse/osc 2010-03-02 01:34:58 +01:00
Marcus Huewe
f0d07774f4 - added "--message" option to branch cmd 2010-03-02 01:34:17 +01:00
Ludwig Nussel
8cea18e26c handle missing details gracefully 2010-03-01 13:48:27 +01:00
Pavol Rusnak
9f6901b4ff missed two renames 2010-02-28 02:41:26 +01:00
Pavol Rusnak
8d551e0a69 fix whitespace 2010-02-28 02:30:13 +01:00
Klaas Freitag
22b684fa38 Merge branch 'master' of git@gitorious.org:opensuse/osc 2010-02-27 20:15:15 +01:00
Klaas Freitag
43d8fd0dbd fixed links to documentation in the wiki in osc help 2010-02-27 20:14:25 +01:00
Pavol Rusnak
90c4358da2 treat pylint warnings 2010-02-27 20:11:15 +01:00
Marcus Huewe
c6b74d6425 - added --exclude-target-project <prj> option to "osc rq list"
- reworked get_request_list()
2010-02-25 22:56:21 +01:00
Marcus Huewe
19d4d696ae - don't exit if the user made an invalid choice 2010-02-25 14:32:24 +01:00
Marcus Huewe
12d8824e93 Merge branch 'master' of git://gitorious.org/opensuse/osc 2010-02-25 14:13:23 +01:00
Marcus Huewe
74c73ee8a2 - keyring fix 2010-02-25 14:13:02 +01:00
Ludwig Nussel
47138ecf2b don't catch IOError to produce backtrace that points at cause 2010-02-25 13:37:24 +01:00
Ludwig Nussel
29779c34db fix indentation 2010-02-25 13:37:24 +01:00
Ludwig Nussel
32e99306b4 add vim mode lines to avoid evil tab characters :-) 2010-02-25 09:53:45 +01:00