Dr. Peter Poeml
0631e8fcb1
- let environment variables OSC_SU_WRAPPER OSC_BUILD_ROOT override config values
2006-09-15 14:27:40 +00:00
Dr. Peter Poeml
51247e7a7c
build: allow 'dynamical' build-root setting by using %(repo)s and %(arch)s
2006-09-15 14:26:09 +00:00
Dr. Peter Poeml
e877e12ffb
- 'meta': more debugging output in case or failure: if the server
...
sends code 500 (internal server error), print out the used URL
and the ruby stack trace
2006-09-15 13:24:41 +00:00
Dr. Peter Poeml
5947848c81
bump version (0.8); update NEWS file
2006-09-15 13:23:28 +00:00
Dr. Peter Poeml
aa248dde9f
- implement POSTing of local specfile to get real buildinfo
...
- extend urlopen() so it takes data for optional POST
- extend get_buildinfo() to take optional specfile argument
- osc.build.main: send specfile to server
- buildinfo(): accept specfile as third argument, and document it
2006-09-15 11:47:34 +00:00
Dr. Peter Poeml
7a8c7664da
add subcommands createpac/editpac and createprj/editprj, which wrap around editmeta but are more logical to find; fix help message of editmeta subcommand
2006-09-15 10:53:44 +00:00
Dr. Peter Poeml
7f592638be
fix error message in meta_get_filelist()
2006-09-15 09:48:49 +00:00
Dr. Peter Poeml
93c8689202
add to TODO
2006-09-15 09:47:44 +00:00
Dr. Peter Poeml
768dcb9b4a
implement 'deletepac' subcommand
2006-08-11 10:37:29 +00:00
Dr. Peter Poeml
b6dd183168
add to TODO
2006-08-10 16:55:25 +00:00
Dr. Peter Poeml
d5d642a169
add to TODO
2006-08-10 16:53:59 +00:00
Dr. Peter Poeml
36cc55b6fd
- rename subcommand 'history' (which was not implemented yet) to
...
'buildhistory', and make it work. It still gives out raw xml, which might be
changed
- add some help text to the linkpac documentation
- add '.git' to exclude_stuff
2006-08-10 16:39:13 +00:00
Dr. Peter Poeml
0a0d5c7976
update NEWS file
2006-08-07 10:36:50 +00:00
Dr. Peter Poeml
db81a4b07b
- new subcommand: linkpac, to create a linked package
...
- extend edit_meta() with two arguments: template=new_package_templ, change_is_required=True
- increase BLOCKSIZE in othermethods.putfile() (1024 seemed a little small)
- extend othermethods.putfile() to serve a string buffer instead of a real file
- for filelists, don't read _meta file any longer (depracated). Read directly
from /source/<project>/
2006-08-07 10:08:54 +00:00
Dr. Peter Poeml
12b0c4bb99
- fix creation of packages, which did no longer work since the latest changes
...
in error handling (since editmeta needs to see the 404 to know that a package
is to be created)
- insert a newline after 'missing argument' messages
2006-07-20 14:23:10 +00:00
Dr. Peter Poeml
5be1e292fc
fix issue with uploading files -- in PUT requests, there was an additional newline inserted, which could lead to wrong interpretation of the payload if e.g. an intercepting web proxy was in between osc and the api server
2006-07-19 15:15:57 +00:00
Dr. Peter Poeml
c52baf09f7
fix usage of personality wrappers
2006-07-17 13:53:17 +00:00
Dr. Peter Poeml
686eb637c8
build: when called without arguments, show only architectures that can be built on the local machine
2006-07-17 13:38:37 +00:00
Dr. Peter Poeml
b69ae796cc
add info about build subcommand to README
2006-07-17 13:15:42 +00:00
Dr. Peter Poeml
ea106f0b05
fix osc/__init__.py to contain new modules
2006-07-17 13:15:21 +00:00
Dr. Peter Poeml
545222f9b7
build: make it possible to override urllist (the list of urls where packages are downloaded in the config file
2006-07-17 13:14:17 +00:00
Dr. Peter Poeml
3003250628
todo
2006-07-17 12:10:11 +00:00
Dr. Peter Poeml
89a85f9b13
better copy&paste directions for import gpg keys
2006-07-17 12:07:19 +00:00
Dr. Peter Poeml
b1f8dfdf72
if osc is started for the first time, add a complete .oscrc, with build configuration, not just the api user acccount. So it isn't necessary to do it later again.
2006-07-17 12:00:59 +00:00
Dr. Peter Poeml
e6fedfcf8a
if configuration is overridden by envvars, print out a statement about it
2006-07-17 10:36:26 +00:00
Dr. Peter Poeml
b61c4aec0f
set svn:executable property on osc-wrapper.py
2006-07-15 07:23:04 +00:00
Dr. Peter Poeml
d6f6a80d09
hacky support to allow setting <platform> <arch> by the environment variable BUILD_DIST, where BUILD_DIST equals <platform>-<arch>
2006-07-14 18:39:44 +00:00
Dr. Peter Poeml
77d66c81a3
don't try to find built packages when the build wasn't complete
2006-07-14 18:31:35 +00:00
Dr. Peter Poeml
a08e80472b
handle error if packagecachedir is not writable by user
2006-07-14 18:23:20 +00:00
Dr. Peter Poeml
11845654ac
if only .netrc is found, automatically create a ready-to-go .oscrc
2006-07-14 18:21:35 +00:00
Dr. Peter Poeml
e19ded6f70
add build opts to usage info
2006-07-14 17:45:44 +00:00
Dr. Peter Poeml
20a13e7b3b
- bump version (0.7)
...
- initial support for local builds (subcommand 'build')
2006-07-14 17:39:46 +00:00
Dr. Peter Poeml
d6af7d2f85
- properly use tempfile.mkstemp, by using os.fdopen() on the passed file
...
descriptor, instead of opening it again
2006-07-14 16:38:54 +00:00
Dr. Peter Poeml
55857910d4
- properly use tempfile.mkstemp, by using os.fdopen() on the passed file
...
descriptor, instead of opening it again
2006-07-14 16:37:34 +00:00
Dr. Peter Poeml
f50176e4f2
in case of a parsing error of netrc, treat it as non-existant. (It turned out that python's netrc parser wouldn't cope with lines not containing a password)
2006-07-14 16:19:35 +00:00
Dr. Peter Poeml
9e10eb40c6
add a wrapper function for urllib2.urlopen which handles errors; give better usage info for buildconfig/buildinfo
2006-07-12 14:14:50 +00:00
Dr. Peter Poeml
8bc996f9d6
fix download URL in README
2006-07-10 16:11:07 +00:00
Dr. Peter Poeml
bac61c05ac
handle (properly report) HTTP errors in meta_get_filelist, get_slash_source show_project_meta, show_package_meta
2006-07-05 12:09:09 +00:00
Dr. Peter Poeml
5d86b595b9
add new subcommands buildconfig, buildinfo, repos
2006-07-05 10:25:31 +00:00
Dr. Peter Poeml
1145aa0d3e
- rewrite command and command alias handling so it is all defined in one place
2006-07-03 10:00:20 +00:00
Dr. Peter Poeml
d159226078
catch ctrl-c during log following
2006-06-29 23:41:10 +00:00
Dr. Peter Poeml
b54e25c46b
- 'ci'/'rm': properly quote the path component of URLs used in HTTP requests
...
(now also in DELETE requests, where no quoting was done before at all)
- 'id': properly quote the query part of the URL
- fix up tests.py
- add to TODO
2006-06-29 23:34:06 +00:00
Dr. Peter Poeml
e22f91c2ea
update NEWS file
2006-06-26 19:34:39 +00:00
Dr. Peter Poeml
3eec9cfefc
remove forgotten debugging code from last commit
2006-06-26 15:12:40 +00:00
Dr. Peter Poeml
6366ffb72f
- remove dead code
...
- remove requirement on pyxml package
- use list comprehensions in some places
- fix 'rebuildpac' command to not show raw xml
- fix updatepacmetafromspec to cope with subpackages during parsing
2006-06-26 15:11:22 +00:00
Dr. Peter Poeml
2b7970148e
- editmeta:
...
- add examples for <disable> tags to the package template
- add examples for build targets to the project template
2006-06-23 10:35:20 +00:00
Dr. Peter Poeml
de66393b60
update NEWS file
2006-06-22 13:25:48 +00:00
Dr. Peter Poeml
8ef7a87667
todo
2006-06-22 13:07:04 +00:00
Dr. Peter Poeml
b0d1a94762
- don't try to merge files if they have binary content
...
- set mtime on files that have been fetched during merge
2006-06-22 12:54:58 +00:00
Dr. Peter Poeml
0e4348e8fc
- fix typo in package meta template: DESCIPTION -> DESCRIPTION
...
- unify all help texts
2006-06-22 11:26:01 +00:00