1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 17:56:19 +02:00
Commit Graph

985 Commits

Author SHA1 Message Date
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
99732545b4 pass the --debug option to the build script which will take care of creating debuginfo packages 2008-09-24 13:13:33 +00:00
Dr. Peter Poeml
cd406dde98 add link to plugin API to osc help output 2008-09-24 12:23:56 +00:00
Dr. Peter Poeml
77a18bd1da - Don't try to catch rpm-python errors if rpm-python isn't installed.
Thus we can avoid a hard dependency on having rpm-python.
2008-09-24 12:16:25 +00:00
Tom Patzig
cc0ce146e2 -added command 'rlog', to show commit logs of remote packages 2008-09-23 13:39:54 +00:00
Marcus Hüwe
6ddace8c97 - fixed #426612
- other fixes for python26
2008-09-21 14:44:20 +00:00
Pavol Rusnak
35a5c21dab fuseosc: do not throw exception when no connectivity available 2008-09-20 16:06:06 +00:00
Dirk Mueller
c0ac2a9207 fix streaming of unfinished logfiles again 2008-09-19 22:25:06 +00:00
Marcus Hüwe
db7c4c4ad5 - fixed #427118 2008-09-18 15:04:42 +00:00
Dr. Peter Poeml
71c49cb369 the news of 0.108 2008-09-16 12:16:04 +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
Marcus Hüwe
a8181f7087 - fixed #419144
- fixed new_conf_template: commented out new 'http_headers' options
2008-08-21 18:17:40 +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
e1d9c67f1c Parse http_headers in api host sections. 2008-08-20 14:07:11 +00:00
Susanne Oberhauser
6ded17ebf0 Factor api_host_options from get_apiurl_usr to access all host
specific options, not just the user.
2008-08-20 10:41:10 +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
Susanne Oberhauser
f07da13359 - only reparse the config if it was actually modified. 2008-08-20 09:40:00 +00:00
Marcus Hüwe
b2aceda67a add new --project option to prjresults in order to show the results of a project without having a local wc (patch by Michael Wolf <maw@novell.com>) 2008-08-19 19:37:08 +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
7dd72fd089 don't add an empty string ('') to the extra-pkgs list 2008-08-19 14:36:52 +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
06c5316ba2 changed text for the revoke message (as suggested by darix) 2008-08-17 21:14:59 +00:00
Marcus Hüwe
5140deebff add the id of the new request to the revoke message 2008-08-17 20:12:19 +00:00
Marcus Hüwe
fc0d61bfce - fixes for the last commit (r4684), actually only the change in core.py was intended.
now 'osc submitrequest create' checks if you already submitted requests for this package, if so it'll ask you if the previous submissions should be revoked
2008-08-17 19:10:44 +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
Dr. Peter Poeml
f82ea05051 osc build: moved the architecture check more to the top. Now we first check
whether we can build for the target architecture, *before* we start downloading
packges.
2008-08-15 14:04:27 +00:00
Marcus Hüwe
d58fffc7b6 removed debugging and other superfluous stuff 2008-08-14 12:12:41 +00:00
Michal Marek
4df8ffd6ea Make 'metafromspec' and alias to 'updatepacmetafromspec', to make the command
easier to memorize
2008-08-08 15:23:03 +00:00
Michal Marek
d047b30aa8 unbreak osc init 2008-08-08 15:19:54 +00:00
Dr. Peter Poeml
93e916eb39 remove empty parens after class definition so Python 2.4.2 can parse it 2008-08-07 17:51:28 +00:00
Marcus Hüwe
3359646b02 - fix bug #412918
- added a file attribute to the ConfigError() class
- added new ConfigMissingApiurl() class
2008-08-07 17:14:26 +00:00
Marcus Hüwe
8d055f7990 - added OscConfigParser module:
OscConfigParser() behaves like a normal ConfigParser() object. The
  only differences is that it preserves the order+format of configuration entries
  and that it stores comments.
  In order to keep the order and the format it makes use of the ConfigLineOrder()
  class.
- removed .netrc cruft from the conf module
- other config cleanups
2008-08-07 16:40:55 +00:00
Dirk Mueller
1a3c80423a typo fix 2008-08-04 13:33:40 +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
Dirk Mueller
65e9011f00 - add support for listing submitrequests not in state New to
osc submitreq list
2008-08-04 13:20:29 +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
3c5847e054 - init: added support to initialize a project dir 2008-08-01 13:58:49 +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
Marcus Hüwe
0020074a8a - fix enhancement request #412157 (Add some guessing to "osc build")
- "osc build" can be called with the following arguments:
  * osc build [OPTS] PLATFORM ARCH BUILD_DESCR
  * osc build [OPTS] PLATFORM (ARCH = hostarch, BUILD_DESCR is detected automatically)
  * osc build [OPTS] ARCH (PLATFORM = build_platform (config option), BUILD_DESCR is detected automatically)
  * osc build [OPTS] BUILD_DESCR (PLATFORM = build_platform (config option), ARCH = hostarch)
  * osc build [OPTS] (PLATFORM = build_platform (config option), ARCH = hostarch, BUILD_DESCR is detected automatically)
2008-07-30 16:45:00 +00:00
Marcus Hüwe
5c062ea121 - fixed bug #412145 (typo) 2008-07-25 10:19:32 +00:00
Dirk Mueller
6792642166 - add "submitrequest" as an alias for "submitreq"
- add "submitrequest revoke" command to be able to
  delete submissions to projects one can't write to
2008-07-25 09:34:29 +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
Marcus Hüwe
12ff5ac124 - some cleanups/changes for the config handling:
* extra-pkgs and urllist settings can be separated by a comma and/or whitespace:
    'extra-pkgs: foo, bar xyz'
  * 'True', 'False' etc. are accepted values for boolean options
2008-07-18 12:08:03 +00:00