opensuse:osc.git
10 years agoupdatepacmetafromspec scans for spec files automatically.
Marcus Hüwe [Wed, 4 Jul 2007 13:48:24 +0000 (13:48 +0000)]
updatepacmetafromspec scans for spec files automatically.
requested/suggested (or whatever) by darix

10 years agoadd to TODO
Dr. Peter Poeml [Wed, 4 Jul 2007 13:31:39 +0000 (13:31 +0000)]
add to TODO

10 years agoupdate template file. Introduce the the new flags, which are support by
Adrian Schröter [Wed, 4 Jul 2007 12:59:18 +0000 (12:59 +0000)]
update template file. Introduce the the new flags, which are support by
build service in svn, but not yet deployed on api.opensuse.org

10 years agoadded initial revision handling:
Marcus Hüwe [Wed, 4 Jul 2007 12:55:26 +0000 (12:55 +0000)]
added initial revision handling:
    - extended "osc co prj pac" to checkout a specific revision of pac
    - extended "osc up" to update to a specific revision
    - extended "osc diff" to diff the working copy against a
      specific revision on the server. NOTE: comparing two
      server-side revisions (osc diff -r 11:12) is currently
      not supported!

10 years agoadded --specfile option to updatepacmetafromspec. Now the name of the spec can differ...
Marcus Hüwe [Sat, 30 Jun 2007 15:39:47 +0000 (15:39 +0000)]
added --specfile option to updatepacmetafromspec. Now the name of the spec can differ from the package name.

10 years ago- load subcommands from /var/lib/osc-plugins/ or ~/.osc-plugins/
Dr. Peter Poeml [Fri, 29 Jun 2007 18:26:30 +0000 (18:26 +0000)]
- load subcommands from /var/lib/osc-plugins/ or ~/.osc-plugins/

10 years agoextend TODO
Dr. Peter Poeml [Fri, 29 Jun 2007 15:19:36 +0000 (15:19 +0000)]
extend TODO

10 years agorm: don't allow to mark files as deleted which are not under version control
Dr. Peter Poeml [Fri, 29 Jun 2007 12:02:35 +0000 (12:02 +0000)]
rm: don't allow to mark files as deleted which are not under version control

10 years ago- linkpac: make this osc subcommand work again: sync metadata if edit_meta() is
Dr. Peter Poeml [Thu, 28 Jun 2007 14:17:13 +0000 (14:17 +0000)]
- linkpac: make this osc subcommand work again: sync metadata if edit_meta() is
  called with change_is_required=False.
- linkpac: correctly set the destination project in the template used for the
  new package, although the api didn't seem to notice the mistake so far.

10 years agoadd to TODO
Dr. Peter Poeml [Thu, 28 Jun 2007 10:05:01 +0000 (10:05 +0000)]
add to TODO

10 years agoclean up TODO
Dr. Peter Poeml [Tue, 26 Jun 2007 14:56:38 +0000 (14:56 +0000)]
clean up TODO

10 years agohandle empty prjresults (e.g. when no repositories are defined)
Dr. Peter Poeml [Tue, 26 Jun 2007 14:32:49 +0000 (14:32 +0000)]
handle empty prjresults (e.g. when no repositories are defined)

10 years agolog: fail gracefully if logfile can't be found
Dr. Peter Poeml [Tue, 26 Jun 2007 14:22:23 +0000 (14:22 +0000)]
log: fail gracefully if logfile can't be found

10 years agofix return value of read_meta_from_spec() if specfile is missing
Dr. Peter Poeml [Tue, 26 Jun 2007 13:56:02 +0000 (13:56 +0000)]
fix return value of read_meta_from_spec() if specfile is missing

10 years agoignore .swp files in working copies
Dr. Peter Poeml [Tue, 26 Jun 2007 13:49:47 +0000 (13:49 +0000)]
ignore .swp files in working copies

10 years agoupdate NEWS file
Dr. Peter Poeml [Tue, 26 Jun 2007 13:21:09 +0000 (13:21 +0000)]
update NEWS file

10 years ago- ls: add verbose option to print extra information for packages
Dr. Peter Poeml [Tue, 26 Jun 2007 13:17:38 +0000 (13:17 +0000)]
- ls: add verbose option to print extra information for packages
- for ls, co, meta, editmeta, linkpac, copypac, rebuildpac, and wipebinaries
  (basically all the server-side commands), allow arguments "foo/bar" instead
  of "foo bar"
- add show_project_conf()

10 years agobuild: don't stumble over an empty list of packages when trying to verify packages
Dr. Peter Poeml [Tue, 26 Jun 2007 11:19:41 +0000 (11:19 +0000)]
build: don't stumble over an empty list of packages when trying to verify packages

10 years agodone
Dr. Peter Poeml [Fri, 22 Jun 2007 14:04:47 +0000 (14:04 +0000)]
done

10 years agofix return values in metafile.sync() which I broke whey I applied Marcus Huewe's...
Dr. Peter Poeml [Fri, 22 Jun 2007 12:36:13 +0000 (12:36 +0000)]
fix return values in metafile.sync() which I broke whey I applied Marcus Huewe's patch...

10 years agoSet correct Content-Type header on PUT requests (application/octet-stream).
Dr. Peter Poeml [Thu, 21 Jun 2007 15:14:15 +0000 (15:14 +0000)]
Set correct Content-Type header on PUT requests (application/octet-stream).
Rails 1.2 seems to be more strict in this regard.

10 years agoinit: make usage (and usage info) info more precise
Dr. Peter Poeml [Thu, 21 Jun 2007 09:40:47 +0000 (09:40 +0000)]
init: make usage (and usage info) info more precise

10 years ago- with small changes, apply a patch from Marcus Huewe:
Dr. Peter Poeml [Thu, 14 Jun 2007 14:30:36 +0000 (14:30 +0000)]
- with small changes, apply a patch from Marcus Huewe:
  - added wipebinaries command
  - added abortbuild command
  - improve handling of metadata editing if the server doesn't accept it
- rebuildpac: rename internal command for consistency reasons
- update NEWS file

10 years agodiff: if file doesn't end with newline, append one together with diffutils-like
Dr. Peter Poeml [Thu, 14 Jun 2007 09:39:00 +0000 (09:39 +0000)]
diff: if file doesn't end with newline, append one together with diffutils-like
comment line. Bug reported by Dirk Stoecker.

10 years agoadjust for change in build.rpm, where /usr/lib/build/debsort was removed. Look
Dr. Peter Poeml [Thu, 14 Jun 2007 08:34:02 +0000 (08:34 +0000)]
adjust for change in build.rpm, where /usr/lib/build/debsort was removed.  Look
for debtransform program instead in order to determine if build.rpm is new
enough.

10 years agoadd info about nosetests usage
Dr. Peter Poeml [Wed, 16 May 2007 10:57:38 +0000 (10:57 +0000)]
add info about nosetests usage

10 years ago- update cmdln.py to planned 1.0 version. The main changes are
Dr. Peter Poeml [Wed, 16 May 2007 10:55:05 +0000 (10:55 +0000)]
- update cmdln.py to planned 1.0 version. The main changes are
  related to points that were raised during employment in osc:

  # v0.8.3
  - Fix a bug where errors with passing an incorrect number of args to
    functions in do_foo() implementations would be masked.

  # v1.0.0
  - [backward incompat] `Cmdln.main()` no longer takes an `optparser`
    argument. Top-level option parsing has been changed so that top-level
    options for a `Cmdln` subclass can more naturally be defined and
    handled on the class definition. Changes:
    - `Cmdln.main()` calls `self.get_optparser` to get an option handler.
      Subclasses should overload this method for custom top-level options.
    - After option parsing, but before sub-command handling, the
      `self.postoptparse()` hook is called.
  - Add a `version` attribute on `Cmdln` subclasses. If set, the default
    top-level option parser will have a `--version` attribute.
  - [backward incompat] Simplify the StopProcessing/opts.stop handling for
    option handling in subcommands. The "opts" argument to "do_*"
    sub-command functions will no longer have a "stop" value.
    StopProcessing is now called StopOptionProcessing. This shouldn't
    affect simple usage of cmdln.py.

- adjust osc.commandline for these changes.

10 years ago- make startdir a module global
Dr. Peter Poeml [Wed, 16 May 2007 09:53:10 +0000 (09:53 +0000)]
- make startdir a module global
- add tests for commandline options

10 years agoupdate NEWS file
Dr. Peter Poeml [Tue, 15 May 2007 21:13:55 +0000 (21:13 +0000)]
update NEWS file

10 years agoresults: remove obsolete code handling commandline arguments
Dr. Peter Poeml [Tue, 15 May 2007 21:13:39 +0000 (21:13 +0000)]
results: remove obsolete code handling commandline arguments

10 years agorebuildpac: fix mistyped repository parameter
Dr. Peter Poeml [Mon, 14 May 2007 10:13:47 +0000 (10:13 +0000)]
rebuildpac: fix mistyped repository parameter

10 years agoosc build: add --userootforbuild option
Dr. Peter Poeml [Mon, 14 May 2007 08:29:50 +0000 (08:29 +0000)]
osc build: add --userootforbuild option

10 years agobuild: for buildinfo, post the specfile's content instead of its name... fixing intro...
Dr. Peter Poeml [Sat, 12 May 2007 20:18:23 +0000 (20:18 +0000)]
build: for buildinfo, post the specfile's content instead of its name... fixing introduced introduced with the last change

10 years agoupdate NEWS file
Dr. Peter Poeml [Thu, 10 May 2007 14:33:43 +0000 (14:33 +0000)]
update NEWS file

10 years ago- don't need config['pass'] anymore
Dr. Peter Poeml [Thu, 10 May 2007 14:29:04 +0000 (14:29 +0000)]
- don't need config['pass'] anymore
- but set config['user'], which was unset since the recent changes in auth handling

10 years agofix new_user_template, removing obsolete elements
Dr. Peter Poeml [Thu, 10 May 2007 13:52:13 +0000 (13:52 +0000)]
fix new_user_template, removing obsolete elements

10 years ago- build & buildinfo:
Dr. Peter Poeml [Wed, 9 May 2007 09:36:55 +0000 (09:36 +0000)]
- build & buildinfo:
  - implement --extra-pkgs option
  - pass the list of extra packages to the backend, as "add=pkg" query parameters
  - use osc.core.get_buildinfo(), instead of os.system('osc buildinfo ...')
- implement adding query parameters to constructed URLs in a more generic way

10 years agoupdate NEWS file
Dr. Peter Poeml [Tue, 8 May 2007 10:21:51 +0000 (10:21 +0000)]
update NEWS file

10 years agodon't try to delete projects, as long it is not implemented in the backend
Dr. Peter Poeml [Tue, 8 May 2007 08:59:10 +0000 (08:59 +0000)]
don't try to delete projects, as long it is not implemented in the backend

10 years agouse new API route for downloading binaries also in configured URLs
Dr. Peter Poeml [Mon, 7 May 2007 20:14:20 +0000 (20:14 +0000)]
use new API route for downloading binaries also in configured URLs

10 years agomake deletepac work again
Dr. Peter Poeml [Mon, 7 May 2007 18:32:51 +0000 (18:32 +0000)]
make deletepac work again

10 years agouse apiurl, not apisrv, in deleteprj and deletepac commands
Dr. Peter Poeml [Mon, 7 May 2007 17:52:04 +0000 (17:52 +0000)]
use apiurl, not apisrv, in deleteprj and deletepac commands

10 years agoupdate NEWS file
Dr. Peter Poeml [Fri, 4 May 2007 22:11:10 +0000 (22:11 +0000)]
update NEWS file

10 years ago- 0.96
Dr. Peter Poeml [Fri, 4 May 2007 21:51:54 +0000 (21:51 +0000)]
- 0.96
- save api server url to .osc/_apiurl. This requires changing makeurl() and all
  calls to it.
- implement 'info' subcommand, essential for debugging these changes.
- use new api routes in all places
- buildhistory works again
- copypac: implement package copy from one buildservice instance to another
  (--to-apiurl option)
- the results subcommand handles <working copy> arguments now

10 years agoadd debugging hint to cmdln.py
Dr. Peter Poeml [Fri, 4 May 2007 21:51:15 +0000 (21:51 +0000)]
add debugging hint to cmdln.py

10 years agobuild: call rpm command for preferred rpms with --nosignature --nodigest
Dr. Peter Poeml [Fri, 4 May 2007 21:40:35 +0000 (21:40 +0000)]
build: call rpm command for preferred rpms with --nosignature --nodigest

10 years agoadjust the unit tests
Dr. Peter Poeml [Thu, 3 May 2007 16:57:55 +0000 (16:57 +0000)]
adjust the unit tests

10 years ago- build:
Dr. Peter Poeml [Thu, 3 May 2007 15:54:40 +0000 (15:54 +0000)]
- build:
  - rename --prefer-pacs option to --prefer-pkgs
  - implement --keep-pkgs option

10 years agoimprove key import instructions after suggestion by Michael Wolf
Dr. Peter Poeml [Wed, 2 May 2007 19:17:10 +0000 (19:17 +0000)]
improve key import instructions after suggestion by Michael Wolf

10 years agoupdate NEWS file
Dr. Peter Poeml [Wed, 2 May 2007 18:25:08 +0000 (18:25 +0000)]
update NEWS file

10 years ago- build:
Dr. Peter Poeml [Wed, 2 May 2007 13:49:57 +0000 (13:49 +0000)]
- build:
  - implement --prefer-pacs option
  - finished the help text that I started last time
  - rename buildconf -> rpmlist for the sake of consistency

10 years agoapplied patch from Michael Marek, fixing all places where error messages were
Dr. Peter Poeml [Wed, 25 Apr 2007 21:10:49 +0000 (21:10 +0000)]
applied patch from Michael Marek, fixing all places where error messages were
printed to stdout instead of stderr. [#239404]

10 years agoupdate NEWS file
Dr. Peter Poeml [Wed, 25 Apr 2007 17:34:18 +0000 (17:34 +0000)]
update NEWS file

10 years agoupdate NEWS file
Dr. Peter Poeml [Wed, 25 Apr 2007 17:31:15 +0000 (17:31 +0000)]
update NEWS file

10 years ago- build: fix passing of commandline options and arguments to build.main(),
Dr. Peter Poeml [Wed, 25 Apr 2007 11:22:40 +0000 (11:22 +0000)]
- 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].

10 years ago- fully implement accessing multiple API servers. "apisrv" in the config takes
Dr. Peter Poeml [Wed, 25 Apr 2007 10:24:51 +0000 (10:24 +0000)]
- 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.

10 years agoinitialize the auth handler with all configured credentials, so it is now
Dr. Peter Poeml [Wed, 25 Apr 2007 08:56:31 +0000 (08:56 +0000)]
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

10 years agoComplete rewrite of the internal commandline handling, using cmdln.py.
Dr. Peter Poeml [Tue, 24 Apr 2007 23:00:12 +0000 (23:00 +0000)]
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

10 years agofix the download progress meter to be small enough to work with terminals 80 characte...
Dr. Peter Poeml [Tue, 24 Apr 2007 21:10:01 +0000 (21:10 +0000)]
fix the download progress meter to be small enough to work with terminals 80 characters wide [#266989]

10 years agosave and reuse HTTP server cookies, speeding HTTP requests up about 5 times (in
Dr. Peter Poeml [Thu, 19 Apr 2007 10:40:18 +0000 (10:40 +0000)]
save and reuse HTTP server cookies, speeding HTTP requests up about 5 times (in
our iChain setup anyway...)

10 years agoif data to be sent is large, mmap it instead of reading at once
Dr. Peter Poeml [Thu, 19 Apr 2007 09:12:39 +0000 (09:12 +0000)]
if data to be sent is large, mmap it instead of reading at once

10 years agoRewrite the HTTP handling
Dr. Peter Poeml [Thu, 19 Apr 2007 08:47:22 +0000 (08:47 +0000)]
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

10 years agoother working copy, more to do.
Dr. Peter Poeml [Wed, 18 Apr 2007 00:50:03 +0000 (00:50 +0000)]
other working copy, more to do.

10 years agosome things done, more to do
Dr. Peter Poeml [Wed, 18 Apr 2007 00:45:10 +0000 (00:45 +0000)]
some things done, more to do

10 years agofurther the osc buildroot configuration example
Dr. Peter Poeml [Wed, 18 Apr 2007 00:26:14 +0000 (00:26 +0000)]
further the osc buildroot configuration example

10 years agoremove debug print of tempfile name
Dr. Peter Poeml [Wed, 18 Apr 2007 00:23:49 +0000 (00:23 +0000)]
remove debug print of tempfile name

10 years agocomplete last change (mention python-xml)
Dr. Peter Poeml [Wed, 18 Apr 2007 00:22:07 +0000 (00:22 +0000)]
complete last change (mention python-xml)

10 years agoadd info about dependencies of osc python module
Dr. Peter Poeml [Wed, 18 Apr 2007 00:21:20 +0000 (00:21 +0000)]
add info about dependencies of osc python module

10 years agoupdate: when updating multiple packages, print each package name
Dr. Peter Poeml [Thu, 29 Mar 2007 21:53:38 +0000 (21:53 +0000)]
update: when updating multiple packages, print each package name

10 years ago- build:
Dr. Peter Poeml [Wed, 28 Mar 2007 23:37:34 +0000 (23:37 +0000)]
- build:
  - use <bdep> preinstall attribute instead of obsolete <pdep> element
  - use <bdep> runscripts attribute and hand it over to build in the buildinfo

10 years ago- results: quote parameter in the new URL
Dr. Peter Poeml [Wed, 28 Mar 2007 22:55:38 +0000 (22:55 +0000)]
- results: quote parameter in the new URL
- prjresults: sort package names

10 years agorun build with --norootforbuild, thereby defaulting to build as abuild user
Dr. Peter Poeml [Wed, 21 Mar 2007 00:29:10 +0000 (00:29 +0000)]
run build with --norootforbuild, thereby defaulting to build as abuild user

10 years ago- when updating, don't delete files with local modifications
Dr. Peter Poeml [Mon, 19 Mar 2007 13:30:59 +0000 (13:30 +0000)]
- when updating, don't delete files with local modifications
- add testcase

10 years agotodo
Dr. Peter Poeml [Mon, 19 Mar 2007 13:18:38 +0000 (13:18 +0000)]
todo

10 years agoupdate osc tests for small api changes
Dr. Peter Poeml [Mon, 19 Mar 2007 11:53:31 +0000 (11:53 +0000)]
update osc tests for small api changes

10 years ago- use new api ['build', prj, '_result'] for prjresults subcommand
Dr. Peter Poeml [Tue, 13 Mar 2007 00:17:28 +0000 (00:17 +0000)]
- use new api ['build', prj, '_result'] for prjresults subcommand

10 years ago- make 'results' subcommand many times faster, by making only a single request
Dr. Peter Poeml [Mon, 12 Mar 2007 23:21:34 +0000 (23:21 +0000)]
- make 'results' subcommand many times faster, by making only a single request
  on _result?view=status&package=%s (new api)

10 years ago- apply fix from Christoph Thiel to use cElementTree from Python 2.5
Dr. Peter Poeml [Mon, 12 Mar 2007 23:17:34 +0000 (23:17 +0000)]
- apply fix from Christoph Thiel to use cElementTree from Python 2.5

10 years ago- apply fix from Christoph Thiel to use cElementTree from Python 2.5
Dr. Peter Poeml [Mon, 12 Mar 2007 20:00:47 +0000 (20:00 +0000)]
- apply fix from Christoph Thiel to use cElementTree from Python 2.5

10 years ago- let the diff subcommand return 1 if differences were found
Dr. Peter Poeml [Mon, 12 Mar 2007 15:46:15 +0000 (15:46 +0000)]
- let the diff subcommand return 1 if differences were found

10 years agoudpate NEWS file
Dr. Peter Poeml [Tue, 23 Jan 2007 07:03:08 +0000 (07:03 +0000)]
udpate NEWS file

10 years ago- fix important bug, which could lead to overwriting local modifications when
Dr. Peter Poeml [Tue, 23 Jan 2007 06:55:43 +0000 (06:55 +0000)]
- 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

10 years agorework testsuite, and add a testcase for successful merging
Dr. Peter Poeml [Tue, 23 Jan 2007 06:52:08 +0000 (06:52 +0000)]
rework testsuite, and add a testcase for successful merging

10 years agothese two debug prints in osc/othermethods.py may be helpful sometimes (although...
Dr. Peter Poeml [Tue, 23 Jan 2007 00:37:15 +0000 (00:37 +0000)]
these two debug prints in osc/othermethods.py may be helpful sometimes (although the code is planned te be rewritten anyway)

10 years ago- sort output of 'status' (unknown files first, filenames alphabetically)
Dr. Peter Poeml [Tue, 23 Jan 2007 00:32:45 +0000 (00:32 +0000)]
- sort output of 'status' (unknown files first, filenames alphabetically)
- fix the unit tests for the above change, and for api changes

10 years agoupdate TODO and NEWS
Dr. Peter Poeml [Fri, 12 Jan 2007 04:20:02 +0000 (04:20 +0000)]
update TODO and NEWS

10 years agomerge from Susannes branch (/branches/froh/reponator/)
Dr. Peter Poeml [Fri, 12 Jan 2007 03:53:44 +0000 (03:53 +0000)]
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)

10 years agofix typo (Thanks Susanne)
Dr. Peter Poeml [Fri, 12 Jan 2007 03:52:46 +0000 (03:52 +0000)]
fix typo (Thanks Susanne)

10 years agomerge from branches/froh/reponator/:
Dr. Peter Poeml [Fri, 12 Jan 2007 03:52:13 +0000 (03:52 +0000)]
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.

10 years agoadded commandline shortcut 'stat' for 'status', like in svn
David Mayr [Sun, 7 Jan 2007 00:59:34 +0000 (00:59 +0000)]
added commandline shortcut 'stat' for 'status', like in svn

10 years agocorrected little typo
David Mayr [Sat, 6 Jan 2007 05:13:05 +0000 (05:13 +0000)]
corrected little typo

10 years ago(no commit message)
Dr. Peter Poeml [Thu, 14 Dec 2006 21:32:21 +0000 (21:32 +0000)]

10 years ago- added links to the wiki pages for more details
Lars Vogdt [Tue, 12 Dec 2006 02:01:39 +0000 (02:01 +0000)]
- added links to the wiki pages for more details

10 years ago- fix missing xml argument in documentation
Lars Vogdt [Tue, 12 Dec 2006 01:59:44 +0000 (01:59 +0000)]
- fix missing xml argument in documentation
- switched to SUSE_SLE-10 as example

10 years agoprint usage info if 'co' is called without arguments
Dr. Peter Poeml [Wed, 18 Oct 2006 22:30:53 +0000 (22:30 +0000)]
print usage info if 'co' is called without arguments

10 years agocorrect last fix: set scheme in DEFAULTS not in the comment.
Dr. Peter Poeml [Fri, 13 Oct 2006 09:19:28 +0000 (09:19 +0000)]
correct last fix: set scheme in DEFAULTS not in the comment.

10 years agoset scheme=https in the default conf; add missing import sys in othermethods.py
Dr. Peter Poeml [Fri, 13 Oct 2006 06:37:16 +0000 (06:37 +0000)]
set scheme=https in the default conf; add missing import sys in othermethods.py

10 years agobump version (0.9); update NEWS
Dr. Peter Poeml [Thu, 12 Oct 2006 13:30:33 +0000 (13:30 +0000)]
bump version (0.9); update NEWS

10 years ago- add 'edituser' command for editing the metadata of a user account. It tries
Dr. Peter Poeml [Thu, 12 Oct 2006 13:22:56 +0000 (13:22 +0000)]
- add 'edituser' command for editing the metadata of a user account. It tries
  to create a user if it doesn't exist yet. A new command 'usermeta' replaces
  'id' respectively 'userid'.
- add preliminary support for doing uploads with a subsequent "commit" request
  (not switched on now, since I want to do more testing on this, and there is
  no way to pass on a commit message yet anyway.)
- add runtime check for build.rpm version, so the rpm package dependencies is
  no longer required
- fix typo introduced last time in the editmeta, deletepac, deleteprj commands
- rewrite the PUT and DELETE request methods to
  - transparently handle HTTPS
  - handle path parameters (for commits)
  - send user agent
- rename get_user_id() function to get_user_meta()
- change copyright notice from Peter Poeml to Peter Poeml / Novell Inc.
- fix testsuite
- add CREDITS file

10 years ago- rewrite configuration handling
Dr. Peter Poeml [Tue, 10 Oct 2006 14:04:34 +0000 (14:04 +0000)]
- rewrite configuration handling
  - move all configuration code into module osc/conf.py
  - now, the API server can be configured in .oscrc with
    apisrv = ...
  - also, 'scheme' (http/https) is no longer a module variable but can be
    configured
  - all config is in DEFAULT
- ignore vim swap files
- use urllib() convenience wrapper in some functions that used
  urllib2.urlopen() and had their own error handling. Instead, it seems to make
  sense -- in the future-- to create our own errors and propagate them up, in
  cases where the error handling of urlopen() is too generic
- rename get_slash_source() to meta_get_project_list() for consistency
- show local time in get_buildhistory(), not UTC
- rewrite help text of 'rebuildpac' command
- allow to run commandline.py from the commandline (without the wrapper)
- don't send a space when doing a POST request without body