Marcus Hüwe
5083dfd6d0
- it's lib/rpmvercmp.c instead of rpmio/rpmvercmp.c...
2009-09-21 16:51:38 +00:00
Marcus Hüwe
8c14808dd1
- util/rpmquery.py: implemented RPM's version comparison algorithm as described in rpmio/rpmvercmp.c
...
- util/packagequery.py: added vercmp(pkgq) method
- util/debquery.py: currently vercmp(degq) is only a dummy method. The real implementation will follow soon.
2009-09-21 16:47:54 +00:00
Marcus Hüwe
cc6d7413fb
- fix for older python versions
2009-09-20 17:19:33 +00:00
Marcus Hüwe
2123e136e0
- osc build: if the --jobs option is omitted use '--jobs #<available processors>' (patch by Cristian Rodriguez <crrodriguez@suse.de>)
2009-09-20 15:59:46 +00:00
Marcus Hüwe
0c5a9528e3
- check for pending requests after executing an action (e.g. checkout, update, commit). This check is disabled by default. (requested by darix)
2009-09-18 01:10:41 +00:00
Marcus Hüwe
b195202be5
- allow empty config values (e.g. "foo=")
2009-09-16 23:28:20 +00:00
Marcus Hüwe
6ca6a10955
- added support to checkout a request's source package (osc request co ID)
2009-09-16 21:39:45 +00:00
b51caeaa31
0.122 is in openSUSE:Tools, go for 0.123 ...
2009-09-15 13:54:28 +00:00
Marcus Hüwe
62be2245e7
- util/rpmquery.py, util/debquery.py: added "filename_suffix" attribute
...
- fetch.py: also rewrite the filename for debian packages (this is only useful for older obs instances)
2009-09-13 17:25:48 +00:00
Marcus Hüwe
eec733fda5
- ignore release if not present
2009-09-13 16:57:40 +00:00
Marcus Hüwe
fbd1fca228
- use correct apiurl when calling meta_exists()
2009-09-12 23:58:56 +00:00
Marcus Hüwe
6ff386b710
- added debian support for "osc build ... --prefer-pkgs /path/to/pkgs/"
2009-09-12 23:55:56 +00:00
Marcus Hüwe
4bb893a114
- added the following new modules:
...
* util/packagequery.py: it's used to query a RPM or DEB package. It also contains a
base class for all package types (PackageQuery())
* util/debquery.py: query a DEB package (name, version, release, provides, requires etc.)
- adapted util/rpmquery.py to use PackageQuery() as a base class
- minor changes in util/ar.py
2009-09-12 19:02:58 +00:00
Marcus Hüwe
572b790345
- updated NEWS
2009-09-10 12:46:13 +00:00
Marcus Hüwe
3b0d879753
- added support for the "inject local rpmdata" stuff:
...
* it's possible to use local packages for a build which don't exist in the obs
* currently only rpms are supported but debian support will follow soon
2009-09-10 12:18:07 +00:00
Marcus Hüwe
e95e8438e4
- backport fix from oauth branch: if we POST data the content-type should be "application/octet-stream" otherwise it will lead to strange errors when POSTing cpio archives
2009-09-10 12:04:41 +00:00
2d3be21964
adapt source update flags for new <option> block
2009-09-10 08:48:44 +00:00
Marcus Hüwe
d016b3d4f0
- class CpioWrite(): use a valid file mode (default: regular file with permissions 0644)
...
- removed debug output
2009-09-09 21:25:55 +00:00
Marcus Hüwe
2300afea7e
- merged cpio.py and util/cpio.py:
...
* renamed classes to CpioRead and CpioWrite
2009-09-09 16:02:02 +00:00
Marcus Hüwe
cb16432cd9
- get rid of rpm-python:
...
* so far it was only used for querying rpms which can be done with the rpmquery module
- core.py:
* removed data_from_rpm() and tag_to_rpmpy() methods
- util/rpmquery.py:
* added staticmethod "query()"
- commandline.py, fetch.py:
* use rpmquery module instead of rpm-python/data_from_rpm()
2009-09-09 15:28:21 +00:00
Marcus Hüwe
221fe84d1a
- added rpmquery module:
...
* this module can be used to retrieve data from the rpmheader
* Note: for now the signature header is completely ignored
2009-09-09 14:39:53 +00:00
56f1f9144b
bail out with error message when an incomplete package description is
...
part of buildinfo. Happens when "Preinstall"ing a non existing package
for example.
2009-09-09 08:17:13 +00:00
41d181dadf
prepare 0.122 release
2009-09-08 13:49:29 +00:00
Michal Marek
e312cc1916
Unbreak 'osc api'
...
Commit 7947 doesn't mention do_api at all in it's log message, yet it breaks
it.
2009-09-08 13:24:54 +00:00
ab73a24162
ups ...
2009-09-08 11:16:21 +00:00
48e96a96fb
+ - make buildhist command usable without checked out package
...
+ - rename old "platform/s" names to "repository/ies" (internal cleanup only)
2009-09-08 08:14:27 +00:00
Jürgen Weigert
7ea7ecee3d
-
2009-09-07 18:49:01 +00:00
eadf7999cb
add a hint "sr" in source revision log that the id comes from the submit request
2009-09-07 07:28:00 +00:00
Marcus Hüwe
99a75fa2e8
- fixed get_config()
2009-09-06 21:19:40 +00:00
e040ae85f5
- support modification flages on creation of submit request
...
(for auto update or clean up packages or to avoid it, when submit request got accepted)
- show request ids from package source logs
2009-09-05 13:46:55 +00:00
5f35c67b63
fix keyring usage for an additional OBS instance
2009-09-05 10:09:03 +00:00
fec7d58df2
cleanup done jobs and update documentation
2009-09-04 18:43:28 +00:00
6648377870
* add python-keyring support
...
* We may remove direct gnome keyring support later (there are currently
reports of users who can't access obs anymore when not using gnome)
* do not write passwords to .oscrc if keyring is available and used
2009-09-04 17:48:53 +00:00
d8160a957f
and rever again the osc req shortcut.
...
Juergen, this conflicts with the old api call and you get a error
message on each osc call.
2009-09-04 16:02:59 +00:00
8a28a45c6f
silence for kde users who have gnome-keyring installed
2009-09-04 12:24:35 +00:00
Marcus Hüwe
de9843405d
- minor cleanup
2009-09-04 01:11:41 +00:00
Marcus Hüwe
08cfb45142
- do_branch: interpolate 'getpac_default_project' config value in the help text
2009-09-03 21:32:36 +00:00
Jürgen Weigert
bcb16c3320
more tabs expanded
2009-09-03 19:00:09 +00:00
Jürgen Weigert
56d4f12dbd
- make osc getpac really get the package (instead of branch only)!
...
- expanded several tabs to spaces.
- added default project to new getpac and bco subcommand. .oscrc:getpac_default_project = OpenSUSE:Factory
(not added to branch subcommand, to not interfere with its syntax.)
2009-09-03 18:08:43 +00:00
Jürgen Weigert
6babfdf04d
- added missing code for 'osc sr -l [ID]'
...
- allow osc req as shortcut for osc request.
- allow osc cat with one parameter, if it is a url.
- core.py:makeurl() now prints the url for educational purposes if osc -v -v
2009-09-03 17:28:27 +00:00
c2cee79679
support source services better:
...
* offer updating version from server
* executing them locally on update or build
2009-09-03 14:56:48 +00:00
5f9127cd6c
fix "my request" call (haven't I did this before ?)
2009-09-03 11:25:12 +00:00
fec32ed9e4
rejected is no valid request state. Even though it got used in the past
...
:/ (but this will fail in future)
2009-09-01 15:44:57 +00:00
3bba7dc7c2
add 0.121.1 hotfix release
2009-09-01 12:59:41 +00:00
4b64daa13d
fix initial creation of .oscrc
2009-09-01 12:18:04 +00:00
816ed7bfb5
0.121 released, go for 0.122
2009-09-01 11:58:04 +00:00
cf8a20cc95
* drop client side filtering, fails in "all" case and should anyway
...
happen on server side
2009-08-31 20:34:01 +00:00
d46812b8f8
add sr --diff options from Ludwig to NEWS file
2009-08-28 07:36:11 +00:00
9e67dae8b7
bring back sr --diff option
2009-08-28 07:33:16 +00:00
06dc5b9aae
avoid warning about missing diff option during creating sr
2009-08-28 06:46:20 +00:00