Marcus Hüwe
1e1ec418cc
- fix deprecation warnings on factory (python26)
2008-10-11 20:26:45 +00:00
Dr. Peter Poeml
d6d5e441cf
bump version & update NEWS file
2008-09-30 15:07:44 +00:00
Dr. Peter Poeml
889ef86af5
- osc getbinaries: new command to download binaries directly from the api server
...
- core.get_binarylist(): add "verbose" switch that returns instances of class
File, instead of filenames
- improve core.get_binary_file():
* clean up tempfiles,
* set mtime,
* set file mask
Function signature is changed, because I'm not aware of any user than the example
script I once published on http://en.opensuse.org/Build_Service/osc_plugins
2008-09-30 14:54:08 +00:00
Marcus Hüwe
6ddace8c97
- fixed #426612
...
- other fixes for python26
2008-09-21 14:44:20 +00:00
Dirk Mueller
c0ac2a9207
fix streaming of unfinished logfiles again
2008-09-19 22:25:06 +00:00
Dr. Peter Poeml
b18238e1a8
bump version to 0.108
2008-09-16 11:12:02 +00:00
Michal Marek
7f457a1d31
mmap the file readonly, it is safer and fixes uploading of readonly files in
...
osc ftp
2008-08-28 09:41:42 +00:00
Michal Marek
b46c000b61
update_package_meta: correctly replace existing <url> element
2008-08-21 12:03:42 +00:00
Marcus Hüwe
854fe0d97a
- addFiles(): added optional prj_obj parameter
...
- do_addremove():
* if "do_package_tracking" is enabled scan the project dir for new/disappeared packages
* added --recursive option (If CWD is a project dir then scan all package dirs as well)
* minor pathname fix
- fixed argument handling in some methods: don't remove items from a list while looping over it
2008-08-20 19:24:55 +00:00
Susanne Oberhauser
572ed13aba
Actually use the new http_headers now available in the config.
2008-08-20 14:18:06 +00:00
Susanne Oberhauser
f7d2a690f5
- extend the 'auth_dict' to more generic per-host options 'api_host_options'
...
This allows in a next step to add per-host extra http-headers,
here for special authentication purposes.
2008-08-20 09:45:49 +00:00
Marcus Hüwe
1f2df92d12
submitrequest log: use the description of the submitrequest for the initial log entry otherwise its comment attribute would contain None
2008-08-19 19:15:29 +00:00
Marcus Hüwe
e93678d5a0
- added submitrequest log command to show the history of a given id
2008-08-19 14:18:05 +00:00
Marcus Hüwe
bb11aea3fc
submitrequest show: show the current state's comment
2008-08-19 12:29:26 +00:00
Marcus Hüwe
f4e4c91376
- minor fix in get_submit_request_list()
2008-08-17 18:53:54 +00:00
Lars Vogdt
5aaaa3572a
- enhanced the package template
2008-08-15 17:38:08 +00:00
Michal Marek
d047b30aa8
unbreak osc init
2008-08-08 15:19:54 +00:00
Dirk Mueller
45e944efbf
- --state , means "any state"
...
- fix streaming support in osc buildlog. do not download all of the
buildlog into memory before printing it (it could be very big), just
print as the log comes in
2008-08-04 13:21:49 +00:00
Marcus Hüwe
707b057891
- updatepacmetafromspec: also update the Url in the metadata (patch by Lenz Grimmer <lenz@grimmer.com>) (applied slightly modified version)
...
- read_meta_from_spec(): use the re module to find tags and sections to avoid problems with lowercase/uppercase letters (e.g. "Url" vs. "URL")
2008-08-03 19:36:07 +00:00
Marcus Hüwe
ae07c9a945
do_package_tracking: be a bit more verbose when updating a project
2008-08-01 11:31:12 +00:00
Michal Marek
36fb38afd0
update the new project template with current distributions
2008-07-31 08:15:28 +00:00
Dirk Mueller
494381866d
revert back to throwing the httplib2 error, to be
...
able to preserve http headers etc
2008-07-23 20:56:20 +00:00
Dirk Mueller
048414088f
- implement --no-checks for osc build
...
- make osc submitreq succeed for submitting new packages
(previously the develproject check caused it to abort prematurely)
2008-07-23 20:05:09 +00:00
Dr. Peter Poeml
f43a22c502
version 0.107
2008-07-16 15:15:42 +00:00
Dr. Peter Poeml
6ff961279c
osc update / checkout: don't check out a working copy, or update an existing
...
one, when a source link cannot be applied [bnc#409373]
- linkinfo elements can have an "error" attribute which indicates link
application failure, which means that updating the working copy is not
possible.
- Before this fix, osc could silently remove locally modified sources!
2008-07-16 15:14:57 +00:00
Dr. Peter Poeml
2618902347
remove an os.getcwd() call from function arguments, because that call fails when running the program from a directory which doesn't exist anymore, and thus osc would not run at all.
2008-07-16 15:04:37 +00:00
Dr. Peter Poeml
d3da0085a4
bump version (0.106); update NEWS file
2008-07-11 10:42:01 +00:00
Dr. Peter Poeml
c38fe33646
always expand sources for "pretty" diffs -- this affects 'osc rdiff' and 'osc
...
submitreq show'
2008-07-11 10:39:22 +00:00
Marcus Hüwe
572c58bc24
show author's name when listing submitrequests
2008-07-10 01:57:38 +00:00
Dr. Peter Poeml
e9fe10b11e
bump version (0.105)
2008-07-09 15:23:12 +00:00
Marcus Hüwe
acaef1d250
- disable signature check when getting data from a rpm file
...
- catch rpm.error exceptions
2008-07-08 15:51:37 +00:00
Marcus Hüwe
c8b41c643a
- copy_pac: use the correct userid when copying to another apiurl
2008-06-30 14:07:11 +00:00
Dirk Mueller
72d0d2fbbb
- add an optional parameter req_state to get_submitreq_list()
...
to be able to query also rejected submit requests
- make the list sortable
- make the list output more beautiful
2008-06-27 16:36:16 +00:00
Dirk Mueller
607ed31f97
- add news entry
...
- also list the http error code
2008-06-27 11:24:15 +00:00
Dirk Mueller
9eba706bd3
print the backend error code
2008-06-27 11:17:27 +00:00
Marcus Hüwe
5768e35047
- applied slightly modified version of Node's patch which added a --revision option to do_linkpac
2008-06-26 10:47:58 +00:00
Dirk Mueller
f16fb793e3
do not add _linkerror's to the project's working copy
2008-06-25 17:37:05 +00:00
Dr. Peter Poeml
2bd196d8e3
- osc buildhist: change the output into a format which better matches actual RPM filenames.
...
- give commit message tempfiles a ".diff" suffix, so syntax highlighting might work in some editors
2008-06-17 06:12:48 +00:00
Marcus Hüwe
7675c55242
fix and use comparePac()
2008-06-11 13:02:40 +00:00
Dr. Peter Poeml
7d8834a0a3
bump version to 0.104, adjust NEWS file
2008-06-11 08:34:39 +00:00
Marcus Hüwe
da101858ee
- fixed make_diff in order to avoid errors when committing a new package (created with mkpac)
2008-06-10 22:32:53 +00:00
Dr. Peter Poeml
bce87c182d
- handle error resulting from unexpected zero-length .osc/_files metadata
...
by raising oscerr.NoWorkingCopy()
2008-06-10 10:15:49 +00:00
Dr. Peter Poeml
06c2cbf882
bump version to 0.103, adjust NEWS file
2008-06-06 12:09:00 +00:00
Dr. Peter Poeml
8362728a8e
bump version to 0.102
2008-06-03 15:12:49 +00:00
Dr. Peter Poeml
5438e4023a
osc submitreq: look up the develproject of the target, and if there is one,
...
don't create the request, unless forced with --nodevelproject.
2008-06-03 15:01:01 +00:00
Dr. Peter Poeml
7641ed0c8c
osc branch: add --nodevelproject
2008-06-03 13:16:55 +00:00
Dr. Peter Poeml
98090f8b09
make 'osc branch' show the actually created branch project name, not a guess one.
2008-06-03 12:43:52 +00:00
Dr. Peter Poeml
f8daea6288
bump version (0.101) and update NEWS file
2008-05-27 11:03:21 +00:00
Dr. Peter Poeml
d8245f5f36
- add osc branch command, using the branch API call to branch a package to
...
home:poeml:branches:PRJ/PKG
2008-05-21 15:49:00 +00:00
Dr. Peter Poeml
7e524fd442
- osc commit: open $EDITOR for commit message
...
- osc status: implement -q/--quiet switch
- osc deletepac: allow deletion of multiple packages at once
- osc info: slightly more verbose
- core.edit_message() added
- core.getStatus() accepts new "quiet" argument
- oscerr.UserAbort added
2008-05-21 13:44:49 +00:00