Dr. Peter Poeml
22b72ac695
improve key import instructions after suggestion by Michael Wolf
2007-05-02 19:17:10 +00:00
Dr. Peter Poeml
755004acf4
update NEWS file
2007-05-02 18:25:08 +00:00
Dr. Peter Poeml
877f8b5ad7
- build:
...
- implement --prefer-pacs option
- finished the help text that I started last time
- rename buildconf -> rpmlist for the sake of consistency
2007-05-02 13:49:57 +00:00
Dr. Peter Poeml
60bc70dc7a
applied patch from Michael Marek, fixing all places where error messages were
...
printed to stdout instead of stderr. [#239404 ]
2007-04-25 21:10:49 +00:00
Dr. Peter Poeml
280f2c9725
update NEWS file
2007-04-25 17:34:18 +00:00
Dr. Peter Poeml
e29b836bfa
update NEWS file
2007-04-25 17:31:15 +00:00
Dr. Peter Poeml
354c01be55
- build: fix passing of commandline options and arguments to build.main(),
...
which was still using sys.argv
- build: use own api server as upstream URL in urllist. So far,
api.opensuse.org was hardcoded in the download URL [#265211 ].
2007-04-25 11:22:40 +00:00
Dr. Peter Poeml
b58b6e5a3f
- fully implement accessing multiple API servers. "apisrv" in the config takes
...
a URL now, so the variable "scheme" which was needed in addition before
becomes obsolete. For backward compatibility, a hostname (and scheme
variable) are still accepted. Likewise, the auth sections in the config take
a URL now, and a hostname:port to keep old config working.
Furthermore, apisrv can be overridden by -A on the commandline. HTTP or HTTPS
scheme is determined from the URL. Credentials must be configured in .oscrc.
2007-04-25 10:24:51 +00:00
Dr. Peter Poeml
36e4cc3140
initialize the auth handler with all configured credentials, so it is now
...
possible to use osc with different api servers by overriding apisrv on the
command line
2007-04-25 08:56:31 +00:00
Dr. Peter Poeml
2f5b52e92c
Complete rewrite of the internal commandline handling, using cmdln.py.
...
Bump version to 0.95.
New features:
- implement "rebuild all failed packages", via --failed option in rebuildpac
subcommand (new api route)
- status -v shows all files, including unmodified ones
- suppress the legend in prjresults by default (show with -l)
- add global options to override config
- can use arbitrary api server via global -A option
- -H enables HTTP traffic debugging
- --version
Bugfixes:
- fix typo in delete_project() (the line building up the URL got lost)
- fix the commit subcommand's arguments. This works correctly now:
osc ci ../test/onlyinwc `pwd` fstab ../test/f2
- fix buildinfo subcommand, if no specfile is posted. Broke with the recent URL
handling rewrite, but didn't seem to bother because the build subcommand
always sends the specfile.
- try to fix buildhistory route, but it might be gone actually (need to pursue)
- add --clean/--noinit to osc build help output
2007-04-24 23:00:12 +00:00
Dr. Peter Poeml
637dec8e83
fix the download progress meter to be small enough to work with terminals 80 characters wide [ #266989 ]
2007-04-24 21:10:01 +00:00
Dr. Peter Poeml
56f9752b8c
save and reuse HTTP server cookies, speeding HTTP requests up about 5 times (in
...
our iChain setup anyway...)
2007-04-19 10:40:18 +00:00
Dr. Peter Poeml
8a3f251377
if data to be sent is large, mmap it instead of reading at once
2007-04-19 09:12:39 +00:00
Dr. Peter Poeml
c993a04c7c
Rewrite the HTTP handling
...
- adding http_GET/POST/PUT/DELETE() functions, which dispatch to
http_request(), and use them everywhere
- removing othermethods.py
- keeping urlopen(), in case it is used from externally, but have it print out
a "depracated" message
- finally, implementing a global HTTP debug mode
2007-04-19 08:47:22 +00:00
Dr. Peter Poeml
989b3c0194
other working copy, more to do.
2007-04-18 00:50:03 +00:00
Dr. Peter Poeml
113302957e
some things done, more to do
2007-04-18 00:45:10 +00:00
Dr. Peter Poeml
1ecbbf9f23
further the osc buildroot configuration example
2007-04-18 00:26:14 +00:00
Dr. Peter Poeml
36359996f0
remove debug print of tempfile name
2007-04-18 00:23:49 +00:00
Dr. Peter Poeml
043850aee3
complete last change (mention python-xml)
2007-04-18 00:22:07 +00:00
Dr. Peter Poeml
1a62738d4a
add info about dependencies of osc python module
2007-04-18 00:21:20 +00:00
Dr. Peter Poeml
162b52cc4d
update: when updating multiple packages, print each package name
2007-03-29 21:53:38 +00:00
Dr. Peter Poeml
0ba494298e
- build:
...
- use <bdep> preinstall attribute instead of obsolete <pdep> element
- use <bdep> runscripts attribute and hand it over to build in the buildinfo
2007-03-28 23:37:34 +00:00
Dr. Peter Poeml
12e1f1b45d
- results: quote parameter in the new URL
...
- prjresults: sort package names
2007-03-28 22:55:38 +00:00
Dr. Peter Poeml
7f4ed364f0
run build with --norootforbuild, thereby defaulting to build as abuild user
2007-03-21 00:29:10 +00:00
Dr. Peter Poeml
5f4640848e
- when updating, don't delete files with local modifications
...
- add testcase
2007-03-19 13:30:59 +00:00
Dr. Peter Poeml
354b33be1e
todo
2007-03-19 13:18:38 +00:00
Dr. Peter Poeml
92b3f041a8
update osc tests for small api changes
2007-03-19 11:53:31 +00:00
Dr. Peter Poeml
0204819a54
- use new api ['build', prj, '_result'] for prjresults subcommand
2007-03-13 00:17:28 +00:00
Dr. Peter Poeml
0b47b21719
- make 'results' subcommand many times faster, by making only a single request
...
on _result?view=status&package=%s (new api)
2007-03-12 23:21:34 +00:00
Dr. Peter Poeml
2e0927ddfd
- apply fix from Christoph Thiel to use cElementTree from Python 2.5
2007-03-12 23:17:34 +00:00
Dr. Peter Poeml
76632513cc
- apply fix from Christoph Thiel to use cElementTree from Python 2.5
2007-03-12 20:00:47 +00:00
Dr. Peter Poeml
03b1db05fb
- let the diff subcommand return 1 if differences were found
2007-03-12 15:46:15 +00:00
Dr. Peter Poeml
506e1fa97e
udpate NEWS file
2007-01-23 07:03:08 +00:00
Dr. Peter Poeml
3e82391e1f
- fix important bug, which could lead to overwriting local modifications when
...
upstream changes are merged
- if a merge fails, the store copy must be updated neverthelesss
2007-01-23 06:55:43 +00:00
Dr. Peter Poeml
3e1d1a1e78
rework testsuite, and add a testcase for successful merging
2007-01-23 06:52:08 +00:00
Dr. Peter Poeml
e6a65dab44
these two debug prints in osc/othermethods.py may be helpful sometimes (although the code is planned te be rewritten anyway)
2007-01-23 00:37:15 +00:00
Dr. Peter Poeml
9a944edfeb
- sort output of 'status' (unknown files first, filenames alphabetically)
...
- fix the unit tests for the above change, and for api changes
2007-01-23 00:32:45 +00:00
Dr. Peter Poeml
fb9d9495e9
update TODO and NEWS
2007-01-12 04:20:02 +00:00
Dr. Peter Poeml
a12c8e9b82
merge from Susannes branch (/branches/froh/reponator/)
...
* I extended the comments in the template with findings I had to dig
through (how to switch the protocol and how to specify the port)
2007-01-12 03:53:44 +00:00
Dr. Peter Poeml
6274cf512b
fix typo (Thanks Susanne)
2007-01-12 03:52:46 +00:00
Dr. Peter Poeml
da02db0c51
merge from branches/froh/reponator/:
...
* I moved edit_meta into an own class representing metadata. that
metadata is retrieved in the constructor, can be accessed as an
elementree and can be synced back to the filesystem.
I'm using that myself to update metadata and I changed the use of
edit_meta to use that class.
2007-01-12 03:52:13 +00:00
David Mayr
885464d7a5
added commandline shortcut 'stat' for 'status', like in svn
2007-01-07 00:59:34 +00:00
David Mayr
6af51a1652
corrected little typo
2007-01-06 05:13:05 +00:00
Dr. Peter Poeml
fb69bbc4b8
2006-12-14 21:32:21 +00:00
Lars Vogdt
813125a8f6
- added links to the wiki pages for more details
2006-12-12 02:01:39 +00:00
Lars Vogdt
c9f3df6a51
- fix missing xml argument in documentation
...
- switched to SUSE_SLE-10 as example
2006-12-12 01:59:44 +00:00
Dr. Peter Poeml
cf852ae5db
print usage info if 'co' is called without arguments
2006-10-18 22:30:53 +00:00
Dr. Peter Poeml
a94364d95b
correct last fix: set scheme in DEFAULTS not in the comment.
2006-10-13 09:19:28 +00:00
Dr. Peter Poeml
4f61fc4bb0
set scheme=https in the default conf; add missing import sys in othermethods.py
2006-10-13 06:37:16 +00:00
Dr. Peter Poeml
3b96e4dfdf
bump version (0.9); update NEWS
2006-10-12 13:30:33 +00:00