opensuse:osc.git
14 years agofuseosc: do not throw exception when no connectivity available
Pavol Rusnak [Sat, 20 Sep 2008 16:06:06 +0000 (16:06 +0000)]
fuseosc: do not throw exception when no connectivity available

14 years agofix streaming of unfinished logfiles again
Dirk Mueller [Fri, 19 Sep 2008 22:25:06 +0000 (22:25 +0000)]
fix streaming of unfinished logfiles again

14 years ago- fixed #427118
Marcus Hüwe [Thu, 18 Sep 2008 15:04:42 +0000 (15:04 +0000)]
- fixed #427118

14 years agothe news of 0.108
Dr. Peter Poeml [Tue, 16 Sep 2008 12:16:04 +0000 (12:16 +0000)]
the news of 0.108

14 years agobump version to 0.108
Dr. Peter Poeml [Tue, 16 Sep 2008 11:12:02 +0000 (11:12 +0000)]
bump version to 0.108

14 years agommap the file readonly, it is safer and fixes uploading of readonly files in
Michal Marek [Thu, 28 Aug 2008 09:41:42 +0000 (09:41 +0000)]
mmap the file readonly, it is safer and fixes uploading of readonly files in
osc ftp

14 years ago- fixed #419144
Marcus Hüwe [Thu, 21 Aug 2008 18:17:40 +0000 (18:17 +0000)]
- fixed #419144
- fixed new_conf_template: commented out new 'http_headers' options

14 years agoupdate_package_meta: correctly replace existing <url> element
Michal Marek [Thu, 21 Aug 2008 12:03:42 +0000 (12:03 +0000)]
update_package_meta: correctly replace existing <url> element

14 years ago- addFiles(): added optional prj_obj parameter
Marcus Hüwe [Wed, 20 Aug 2008 19:24:55 +0000 (19:24 +0000)]
- 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

14 years agoActually use the new http_headers now available in the config.
Susanne Oberhauser [Wed, 20 Aug 2008 14:18:06 +0000 (14:18 +0000)]
Actually use the new http_headers now available in the config.

14 years agoParse http_headers in api host sections.
Susanne Oberhauser [Wed, 20 Aug 2008 14:07:11 +0000 (14:07 +0000)]
Parse http_headers in api host sections.

14 years agoFactor api_host_options from get_apiurl_usr to access all host
Susanne Oberhauser [Wed, 20 Aug 2008 10:41:10 +0000 (10:41 +0000)]
Factor api_host_options from get_apiurl_usr to access all host
specific options, not just the user.

14 years ago- extend the 'auth_dict' to more generic per-host options 'api_host_options'
Susanne Oberhauser [Wed, 20 Aug 2008 09:45:49 +0000 (09:45 +0000)]
- 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.

14 years ago- only reparse the config if it was actually modified.
Susanne Oberhauser [Wed, 20 Aug 2008 09:40:00 +0000 (09:40 +0000)]
- only reparse the config if it was actually modified.

14 years agoadd new --project option to prjresults in order to show the results of a project...
Marcus Hüwe [Tue, 19 Aug 2008 19:37:08 +0000 (19:37 +0000)]
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>)

14 years agosubmitrequest log: use the description of the submitrequest for the initial log entry...
Marcus Hüwe [Tue, 19 Aug 2008 19:15:29 +0000 (19:15 +0000)]
submitrequest log: use the description of the submitrequest for the initial log entry otherwise its comment attribute would contain None

14 years agodon't add an empty string ('') to the extra-pkgs list
Marcus Hüwe [Tue, 19 Aug 2008 14:36:52 +0000 (14:36 +0000)]
don't add an empty string ('') to the extra-pkgs list

14 years ago- added submitrequest log command to show the history of a given id
Marcus Hüwe [Tue, 19 Aug 2008 14:18:05 +0000 (14:18 +0000)]
- added submitrequest log command to show the history of a given id

14 years agosubmitrequest show: show the current state's comment
Marcus Hüwe [Tue, 19 Aug 2008 12:29:26 +0000 (12:29 +0000)]
submitrequest show: show the current state's comment

14 years agochanged text for the revoke message (as suggested by darix)
Marcus Hüwe [Sun, 17 Aug 2008 21:14:59 +0000 (21:14 +0000)]
changed text for the revoke message (as suggested by darix)

14 years agoadd the id of the new request to the revoke message
Marcus Hüwe [Sun, 17 Aug 2008 20:12:19 +0000 (20:12 +0000)]
add the id of the new request to the revoke message

14 years ago- fixes for the last commit (r4684), actually only the change in core.py was intended.
Marcus Hüwe [Sun, 17 Aug 2008 19:10:44 +0000 (19:10 +0000)]
- 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

14 years ago- minor fix in get_submit_request_list()
Marcus Hüwe [Sun, 17 Aug 2008 18:53:54 +0000 (18:53 +0000)]
- minor fix in get_submit_request_list()

14 years ago- enhanced the package template
Lars Vogdt [Fri, 15 Aug 2008 17:38:08 +0000 (17:38 +0000)]
- enhanced the package template

14 years agoosc build: moved the architecture check more to the top. Now we first check
Dr. Peter Poeml [Fri, 15 Aug 2008 14:04:27 +0000 (14:04 +0000)]
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.

14 years agoremoved debugging and other superfluous stuff
Marcus Hüwe [Thu, 14 Aug 2008 12:12:41 +0000 (12:12 +0000)]
removed debugging and other superfluous stuff

14 years agoMake 'metafromspec' and alias to 'updatepacmetafromspec', to make the command
Michal Marek [Fri, 8 Aug 2008 15:23:03 +0000 (15:23 +0000)]
Make 'metafromspec' and alias to 'updatepacmetafromspec', to make the command
easier to memorize

14 years agounbreak osc init
Michal Marek [Fri, 8 Aug 2008 15:19:54 +0000 (15:19 +0000)]
unbreak osc init

14 years agoremove empty parens after class definition so Python 2.4.2 can parse it
Dr. Peter Poeml [Thu, 7 Aug 2008 17:51:28 +0000 (17:51 +0000)]
remove empty parens after class definition so Python 2.4.2 can parse it

14 years ago- fix bug #412918
Marcus Hüwe [Thu, 7 Aug 2008 17:14:26 +0000 (17:14 +0000)]
- fix bug #412918
- added a file attribute to the ConfigError() class
- added new ConfigMissingApiurl() class

14 years ago- added OscConfigParser module:
Marcus Hüwe [Thu, 7 Aug 2008 16:40:55 +0000 (16:40 +0000)]
- 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

14 years agotypo fix
Dirk Mueller [Mon, 4 Aug 2008 13:33:40 +0000 (13:33 +0000)]
typo fix

14 years ago- --state , means "any state"
Dirk Mueller [Mon, 4 Aug 2008 13:21:49 +0000 (13:21 +0000)]
- --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

14 years ago- add support for listing submitrequests not in state New to
Dirk Mueller [Mon, 4 Aug 2008 13:20:29 +0000 (13:20 +0000)]
- add support for listing submitrequests not in state New to
  osc submitreq list

14 years ago- updatepacmetafromspec: also update the Url in the metadata (patch by Lenz Grimmer...
Marcus Hüwe [Sun, 3 Aug 2008 19:36:07 +0000 (19:36 +0000)]
- 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")

14 years ago- init: added support to initialize a project dir
Marcus Hüwe [Fri, 1 Aug 2008 13:58:49 +0000 (13:58 +0000)]
- init: added support to initialize a project dir

14 years agodo_package_tracking: be a bit more verbose when updating a project
Marcus Hüwe [Fri, 1 Aug 2008 11:31:12 +0000 (11:31 +0000)]
do_package_tracking: be a bit more verbose when updating a project

14 years agoupdate the new project template with current distributions
Michal Marek [Thu, 31 Jul 2008 08:15:28 +0000 (08:15 +0000)]
update the new project template with current distributions

14 years ago- fix enhancement request #412157 (Add some guessing to "osc build")
Marcus Hüwe [Wed, 30 Jul 2008 16:45:00 +0000 (16:45 +0000)]
- 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)

14 years ago- fixed bug #412145 (typo)
Marcus Hüwe [Fri, 25 Jul 2008 10:19:32 +0000 (10:19 +0000)]
- fixed bug #412145 (typo)

14 years ago- add "submitrequest" as an alias for "submitreq"
Dirk Mueller [Fri, 25 Jul 2008 09:34:29 +0000 (09:34 +0000)]
- add "submitrequest" as an alias for "submitreq"
- add "submitrequest revoke" command to be able to
  delete submissions to projects one can't write to

14 years agorevert back to throwing the httplib2 error, to be
Dirk Mueller [Wed, 23 Jul 2008 20:56:20 +0000 (20:56 +0000)]
revert back to throwing the httplib2 error, to be
able to preserve http headers etc

14 years ago- implement --no-checks for osc build
Dirk Mueller [Wed, 23 Jul 2008 20:05:09 +0000 (20:05 +0000)]
- implement --no-checks for osc build
- make osc submitreq succeed for submitting new packages
  (previously the develproject check caused it to abort prematurely)

14 years ago- some cleanups/changes for the config handling:
Marcus Hüwe [Fri, 18 Jul 2008 12:08:03 +0000 (12:08 +0000)]
- 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

14 years agoadd more information about aggregation of packages, and a link to the wiki page about it.
Dr. Peter Poeml [Thu, 17 Jul 2008 17:46:21 +0000 (17:46 +0000)]
add more information about aggregation of packages, and a link to the wiki page about it.

14 years agoversion 0.107
Dr. Peter Poeml [Wed, 16 Jul 2008 15:15:42 +0000 (15:15 +0000)]
version 0.107

14 years agoosc update / checkout: don't check out a working copy, or update an existing
Dr. Peter Poeml [Wed, 16 Jul 2008 15:14:57 +0000 (15:14 +0000)]
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!

14 years agoremove an os.getcwd() call from function arguments, because that call fails when...
Dr. Peter Poeml [Wed, 16 Jul 2008 15:04:37 +0000 (15:04 +0000)]
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.

14 years ago- osc build: make the --extra-pkgs option configurable via .oscrc.
Dr. Peter Poeml [Sat, 12 Jul 2008 12:06:23 +0000 (12:06 +0000)]
- osc build: make the --extra-pkgs option configurable via .oscrc.
  Default is "extra-pkgs = vim gdb strace" -- and it can be overridden with -x ''
  on the commandline, or set to empty in the config.  [bnc#345142]
- make tilde expansion work on the packagecachedir setting

14 years agobump version (0.106); update NEWS file
Dr. Peter Poeml [Fri, 11 Jul 2008 10:42:01 +0000 (10:42 +0000)]
bump version (0.106); update NEWS file

14 years agoalways expand sources for "pretty" diffs -- this affects 'osc rdiff' and 'osc
Dr. Peter Poeml [Fri, 11 Jul 2008 10:39:22 +0000 (10:39 +0000)]
always expand sources for "pretty" diffs -- this affects 'osc rdiff' and 'osc
submitreq show'

14 years agomore submit request features.
Dr. Peter Poeml [Fri, 11 Jul 2008 10:24:00 +0000 (10:24 +0000)]
more submit request features.

14 years agotake note of some wanted submit request features.
Dr. Peter Poeml [Fri, 11 Jul 2008 09:49:47 +0000 (09:49 +0000)]
take note of some wanted submit request features.

14 years agoshow author's name when listing submitrequests
Marcus Hüwe [Thu, 10 Jul 2008 01:57:38 +0000 (01:57 +0000)]
show author's name when listing submitrequests

14 years agosubmitreq: add shortcut 'sr' for Darix
Dr. Peter Poeml [Wed, 9 Jul 2008 20:38:49 +0000 (20:38 +0000)]
submitreq: add shortcut 'sr' for Darix

14 years agofix typo
Dr. Peter Poeml [Wed, 9 Jul 2008 15:26:24 +0000 (15:26 +0000)]
fix typo

14 years agoupdate NEWS and TODO file
Dr. Peter Poeml [Wed, 9 Jul 2008 15:25:16 +0000 (15:25 +0000)]
update NEWS and TODO file

14 years agobump version (0.105)
Dr. Peter Poeml [Wed, 9 Jul 2008 15:23:12 +0000 (15:23 +0000)]
bump version (0.105)

14 years agoadd submitreq delete action (thanks to Dirk for the patch)
Dr. Peter Poeml [Wed, 9 Jul 2008 15:22:18 +0000 (15:22 +0000)]
add submitreq delete action (thanks to Dirk for the patch)

14 years ago- disable signature check when getting data from a rpm file
Marcus Hüwe [Tue, 8 Jul 2008 15:51:37 +0000 (15:51 +0000)]
- disable signature check when getting data from a rpm file
- catch rpm.error exceptions

14 years agofuseosc: reworked file cache
Pavol Rusnak [Mon, 7 Jul 2008 07:35:41 +0000 (07:35 +0000)]
fuseosc: reworked file cache

14 years agofixed typo
Marcus Hüwe [Fri, 4 Jul 2008 12:56:32 +0000 (12:56 +0000)]
fixed typo

14 years agodon't expand/unexpand if the working copy has local modifications - this is an ugly...
Marcus Hüwe [Fri, 4 Jul 2008 12:54:02 +0000 (12:54 +0000)]
don't expand/unexpand if the working copy has local modifications - this is an ugly workaround for #399247 but this way the working copy isn't screwed up

14 years agoinitial commit of fuseosc
Pavol Rusnak [Mon, 30 Jun 2008 14:20:06 +0000 (14:20 +0000)]
initial commit of fuseosc

14 years ago- copy_pac: use the correct userid when copying to another apiurl
Marcus Hüwe [Mon, 30 Jun 2008 14:07:11 +0000 (14:07 +0000)]
- copy_pac: use the correct userid when copying to another apiurl

14 years ago- use apiurl from the storedir when running 'osc submitreq list/create'
Marcus Hüwe [Fri, 27 Jun 2008 17:54:59 +0000 (17:54 +0000)]
- use apiurl from the storedir when running 'osc submitreq list/create'

14 years ago- support "submitreq list" also in a project
Dirk Mueller [Fri, 27 Jun 2008 17:14:15 +0000 (17:14 +0000)]
- support "submitreq list" also in a project
  directory

14 years agoadd news
Dirk Mueller [Fri, 27 Jun 2008 16:37:02 +0000 (16:37 +0000)]
add news

14 years agolist submitrequests in a sorted order.. newest first
Dirk Mueller [Fri, 27 Jun 2008 16:36:36 +0000 (16:36 +0000)]
list submitrequests in a sorted order.. newest first

14 years ago- add an optional parameter req_state to get_submitreq_list()
Dirk Mueller [Fri, 27 Jun 2008 16:36:16 +0000 (16:36 +0000)]
- 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

14 years ago- add news entry
Dirk Mueller [Fri, 27 Jun 2008 11:24:15 +0000 (11:24 +0000)]
- add news entry
- also list the http error code

14 years agoprint the backend error code
Dirk Mueller [Fri, 27 Jun 2008 11:17:27 +0000 (11:17 +0000)]
print the backend error code

14 years ago- applied slightly modified version of Node's patch which added a --revision option...
Marcus Hüwe [Thu, 26 Jun 2008 10:47:58 +0000 (10:47 +0000)]
- applied slightly modified version of Node's patch which added a --revision option to do_linkpac

14 years agodo not add _linkerror's to the project's working copy
Dirk Mueller [Wed, 25 Jun 2008 17:37:05 +0000 (17:37 +0000)]
do not add _linkerror's to the project's working copy

14 years ago- added initial support for involved projects/packages (the xpath predicate is stolen...
Marcus Hüwe [Tue, 24 Jun 2008 15:07:44 +0000 (15:07 +0000)]
- added initial support for involved projects/packages (the xpath predicate is stolen from the webclient;) )

14 years agolist news
Dirk Mueller [Tue, 24 Jun 2008 09:41:30 +0000 (09:41 +0000)]
list news

14 years agoupdate usage info
Dirk Mueller [Tue, 24 Jun 2008 09:39:39 +0000 (09:39 +0000)]
update usage info

14 years agoguess the parameters of list if inside a working dir
Dirk Mueller [Tue, 24 Jun 2008 09:37:49 +0000 (09:37 +0000)]
guess the parameters of list if inside a working dir

14 years agorelease is optional (doesn't exist on debian)
Dirk Mueller [Mon, 23 Jun 2008 08:38:05 +0000 (08:38 +0000)]
release is optional (doesn't exist on debian)

14 years agodouble check the correctness of the build info for local build,
Dirk Mueller [Fri, 20 Jun 2008 13:37:49 +0000 (13:37 +0000)]
double check the correctness of the build info for local build,
otherwise packages are stored incorrectly in the package cache
and that might cause problems later. Also refuse to build an
architecture locally that is not supported by the host architecture

14 years agoadd an API error type of class to throw
Dirk Mueller [Fri, 20 Jun 2008 13:36:45 +0000 (13:36 +0000)]
add an API error type of class to throw

14 years ago- fix bug #400431
Marcus Hüwe [Wed, 18 Jun 2008 14:34:30 +0000 (14:34 +0000)]
- fix bug #400431

14 years ago- osc buildhist: change the output into a format which better matches actual RPM...
Dr. Peter Poeml [Tue, 17 Jun 2008 06:12:48 +0000 (06:12 +0000)]
- 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

14 years agoshow error messages from the API also for type 500 errors
Dr. Peter Poeml [Mon, 16 Jun 2008 19:12:24 +0000 (19:12 +0000)]
show error messages from the API also for type 500 errors

14 years agoosc build: handle exception when getting buildinfo fails, for cases != 404
Dr. Peter Poeml [Thu, 12 Jun 2008 12:12:29 +0000 (12:12 +0000)]
osc build: handle exception when getting buildinfo fails, for cases != 404

14 years agofix and use comparePac()
Marcus Hüwe [Wed, 11 Jun 2008 13:02:40 +0000 (13:02 +0000)]
fix and use comparePac()

14 years agobump version to 0.104, adjust NEWS file
Dr. Peter Poeml [Wed, 11 Jun 2008 08:34:39 +0000 (08:34 +0000)]
bump version to 0.104, adjust NEWS file

14 years agoosc update: after update, reset the revision when updating multiple package.
Dr. Peter Poeml [Wed, 11 Jun 2008 08:29:27 +0000 (08:29 +0000)]
osc update: after update, reset the revision when updating multiple package.
Fixes "404: Not Found" type errors when updating an entire project. [bnc#399177]

14 years agobabysitter: The api returns error messages meanwhile. Thus, we don't need to
Dr. Peter Poeml [Wed, 11 Jun 2008 08:17:55 +0000 (08:17 +0000)]
babysitter: The api returns error messages meanwhile. Thus, we don't need to
look up the reason of errors anymore.

14 years agoosc wipebinaries: add missing check for commandline arguments, which could
Dr. Peter Poeml [Wed, 11 Jun 2008 08:01:10 +0000 (08:01 +0000)]
osc wipebinaries: add missing check for commandline arguments, which could
cause a PACKAGE argument to be ignored

14 years ago- fixed make_diff in order to avoid errors when committing a new package (created...
Marcus Hüwe [Tue, 10 Jun 2008 22:32:53 +0000 (22:32 +0000)]
- fixed make_diff in order to avoid errors when committing a new package (created with mkpac)

14 years ago- handle error resulting from unexpected zero-length .osc/_files metadata
Dr. Peter Poeml [Tue, 10 Jun 2008 10:15:49 +0000 (10:15 +0000)]
- handle error resulting from unexpected zero-length .osc/_files metadata
  by raising oscerr.NoWorkingCopy()

14 years agobump version to 0.103, adjust NEWS file
Dr. Peter Poeml [Fri, 6 Jun 2008 12:09:00 +0000 (12:09 +0000)]
bump version to 0.103, adjust NEWS file

14 years ago- make submit request possible without giving commandline arguments, under some
Dr. Peter Poeml [Fri, 6 Jun 2008 12:04:34 +0000 (12:04 +0000)]
- make submit request possible without giving commandline arguments, under some
  circumstances -- when there is a working copy, and the package is a source
  link, osc will figure out what's needed.
- don't stop submitrequests on packages that have a devel project defined, if
  the submit comes from that project.
- osc checkout: checkout of source links is now done in expanded form per
  default. --unexpand-link can be used to get the raw link file (and patches).

14 years agoShow the <summary> from the server reply's body also for 403 errors.
Dr. Peter Poeml [Fri, 6 Jun 2008 10:55:17 +0000 (10:55 +0000)]
Show the <summary> from the server reply's body also for 403 errors.

14 years agoupdate NEWS
Dr. Peter Poeml [Tue, 3 Jun 2008 15:16:10 +0000 (15:16 +0000)]
update NEWS

14 years agobump version to 0.102
Dr. Peter Poeml [Tue, 3 Jun 2008 15:12:49 +0000 (15:12 +0000)]
bump version to 0.102

14 years agoosc submitreq: look up the develproject of the target, and if there is one,
Dr. Peter Poeml [Tue, 3 Jun 2008 15:01:01 +0000 (15:01 +0000)]
osc submitreq: look up the develproject of the target, and if there is one,
don't create the request, unless forced with --nodevelproject.

14 years agoosc branch: add --nodevelproject
Dr. Peter Poeml [Tue, 3 Jun 2008 13:16:55 +0000 (13:16 +0000)]
osc branch: add --nodevelproject

14 years agomake 'osc branch' show the actually created branch project name, not a guess one.
Dr. Peter Poeml [Tue, 3 Jun 2008 12:43:52 +0000 (12:43 +0000)]
make 'osc branch' show the actually created branch project name, not a guess one.