Dr. Peter Poeml
420b9cf25c
bump version to 0.99; update NEWS file
2007-10-30 11:47:06 +00:00
Marcus Hüwe
db692ce10e
- fixed bug #259711 (do not create dirs for non-existing packages during checkout)
2007-10-27 20:19:12 +00:00
Marcus Hüwe
42e128687d
- added --build-failed and --broken options to the do_wipebinaries()
...
method (this also fixes bug/enhancement #335498 )
2007-10-27 19:13:24 +00:00
Dr. Peter Poeml
0daff74b79
todo
2007-10-25 13:53:46 +00:00
Marcus Hüwe
d0b0b1bdb5
enabled deletion of packages as the backend now supports it.
2007-10-13 23:15:49 +00:00
Marcus Hüwe
69b7e3bfc7
added a bit more functionality to do_maintainers. It is possible to add and delete users from a project/package
2007-09-12 18:01:13 +00:00
Dr. Peter Poeml
bd9ae2fd05
print the list of URL to try, when in HTTP debug mode
2007-09-10 12:22:13 +00:00
Marcus Hüwe
40d2ce205e
- added verbose option to do_maintainers:
...
* it basically lists some more information about
each maintainer
- replaced get_user_email() with get_user_data()
2007-09-03 16:18:37 +00:00
Dr. Peter Poeml
9ce40d4bab
- build: allow to use lbuild, a compatible replacement for build
2007-09-03 14:52:45 +00:00
Dr. Peter Poeml
3e97442f4b
add link to draft on source code branching
2007-09-03 11:55:23 +00:00
Dr. Peter Poeml
8fdca234ca
update NEWS file
2007-09-03 10:50:02 +00:00
Dr. Peter Poeml
b4858dbee8
done
2007-09-03 10:49:44 +00:00
Dr. Peter Poeml
459651ed60
make osc call build with --changelog option, by default [ #298436 ]
2007-09-03 10:25:18 +00:00
Dr. Peter Poeml
27cee26d4a
new command 'maintainer'
2007-09-03 10:17:26 +00:00
Dr. Peter Poeml
1546410722
add get_user_email() function to osc/core
2007-09-03 10:17:04 +00:00
Dr. Peter Poeml
70524c88c7
fix typo in error message in do_importsrcpkg()
2007-08-27 18:02:53 +00:00
Dr. Peter Poeml
a3a2667742
- change conf.get_config() to take three optional override values:
...
get_config(override_conffile = None,
override_http_debug = None,
override_apisrv = None)
Thus, it should be possible to use the osc module with one simple
conf.get_config() call. It is no longer required to set up the api url in the
config dict, and call conf.init_basicauth().
2007-08-22 10:18:25 +00:00
Dr. Peter Poeml
106645a87b
allow to specify a different config file via the environmental variable OSC_CONFIG
2007-08-22 08:30:53 +00:00
Dr. Peter Poeml
0da80f0fd9
- core: add get_binary_file(), with contribution from James Oakley
...
- ls command: add -b option to list binaries
- req command: show error response also for 404 responses
2007-08-16 18:15:08 +00:00
Dr. Peter Poeml
409e46c3b0
- add get_binarylist_published()
...
- no need for StringIO'ifying the file object
- remove a comment
2007-08-16 17:12:46 +00:00
Dr. Peter Poeml
b2aa457ecc
to do
2007-08-16 17:04:13 +00:00
Dr. Peter Poeml
458eb4f514
add get_binarylist() function. Works per project and per package
2007-08-16 10:28:32 +00:00
Dr. Peter Poeml
cbaf5702e4
update TODO file
2007-08-16 07:41:56 +00:00
Marcus Hüwe
02d77c4bda
fixed "osc build" if $BUILD_DIST is set
2007-08-15 19:28:08 +00:00
Dr. Peter Poeml
6c84b42333
bump version to 0.98
2007-08-14 11:49:43 +00:00
Dr. Peter Poeml
da6f6c4a8a
build: add --changelog option to force update of the package changelog from a changes file
2007-08-14 11:26:13 +00:00
Dr. Peter Poeml
cdf91d7f39
commit: use the documented commit method by default now
2007-08-14 10:30:39 +00:00
Dr. Peter Poeml
5cd1ace719
don't hardcode 'package' query parameter into show_results_meta()
2007-08-11 12:29:38 +00:00
Dr. Peter Poeml
6298267101
meta: remove notion of non-implemented --create switch. give example for meta pkg usage
2007-08-09 16:15:13 +00:00
Dr. Peter Poeml
929fe9b12c
search: add --repos-baseurl option
2007-08-09 11:35:08 +00:00
Dr. Peter Poeml
2710cca3e0
fix testsuite for do_commits=0 (I had do_commits=1 in my .oscrc)
2007-08-09 11:30:08 +00:00
Dr. Peter Poeml
043db4c43f
add tests for commit messages and commit log
2007-08-09 07:38:29 +00:00
Marcus Hüwe
d75d98da50
fixed possible "UnboundLocalError". Thanks to judas_iscariote for spotting this issue!
2007-08-08 19:48:38 +00:00
Marcus Hüwe
003c3dad5b
fixed two small typos
2007-08-08 15:44:14 +00:00
Dr. Peter Poeml
a5b0a50d28
https_proxy is not supported by urllib2. It only leads to an error or, at best,
...
a warning. Thus, unset https_proxy and HTTPS_PROXY in the environment, so
urllib2 doesn't trip over it.
https://bugzilla.novell.com/show_bug.cgi?id=214983
https://bugzilla.novell.com/show_bug.cgi?id=298378
2007-08-08 13:24:52 +00:00
Marcus Hüwe
4c136424fb
fix for "osc prjconf <project> -e".
2007-08-04 21:11:31 +00:00
Marcus Hüwe
9921478c37
changed default behaviour of importsrcpkg(). The files will not be committed by default. To commit them use the --commit switch.
2007-07-30 18:11:52 +00:00
Marcus Hüwe
d6bdc3712f
- some more work on importsrcpkg():
...
* by default the new files will be comitted
(if it is a new package or if there are no
source files on the server)
* added --disable-commit option switch to
import the package only locally
* added --delete-old-files option switch to
delete old files from the server.
- some changes in the Package class:
* extended existing commit() method to do
all the commit work (before it was done
in the do_commit() method).
* moved stuff from the constructor into a
new method (update_datastructs()).
2007-07-30 11:12:42 +00:00
Marcus Hüwe
155d60cfa0
use rpm-python to detect the "Name:", "Summary:", "%description" of a (s)rpm.
...
This change speeds up some things
2007-07-29 15:27:27 +00:00
Dr. Peter Poeml
8316936fa5
allow to import source rpms by specifying an URL
2007-07-25 12:21:46 +00:00
Dr. Peter Poeml
633fd2c10f
simplify do_importsrcpkg()
2007-07-25 12:14:32 +00:00
Dr. Peter Poeml
8fe9ac2ed1
add req command to issue arbitrary requests to the API
2007-07-25 10:56:04 +00:00
Dr. Peter Poeml
30b82a050e
expand tilde to users home for packagecachedir in .oscrc [ #293675 ]
2007-07-24 10:46:03 +00:00
Dr. Peter Poeml
31953fbbe4
append missing newline if do_commits=False [ #293672 ]
2007-07-24 10:35:08 +00:00
Marcus Hüwe
63d6dede67
make delete_package() and delete_project() more userfriendly (added trivial exception handling..)
2007-07-23 16:31:02 +00:00
Marcus Hüwe
f36e3133c7
- added new importfromsrcpkg command:
...
* now a package can be imported from a
src.rpm
* thanks to Peter for his is_rpm() and is_srcrpm()
methods
- split out some methods into smaller ones (so they
can be reused for other tasks)
- added some new methods for unpacking a src.rpm
- changed read_meta_from_spec() method to be more
flexible (it is possible to specify the tags and
sections).
2007-07-23 16:03:30 +00:00
Dr. Peter Poeml
7bde6453fd
extend NEWS file
2007-07-23 09:28:15 +00:00
Dr. Peter Poeml
de9faebefe
- meta: add --delete switch to delete pattern files
...
- complete last fix (don't implicitely add .xml to pattern files) -- forgot to
commit the part in osc/core.py.
2007-07-19 12:23:42 +00:00
Dr. Peter Poeml
1945a7a683
- fix indentation (enforceming pattern file argument)
...
- don't implicitely add .xml to pattern files -- it will probably cause
confusion.
2007-07-19 11:54:13 +00:00
Dr. Peter Poeml
a9dbc4bb1d
fix error message which osc issues if build package is too old
2007-07-19 10:49:30 +00:00