1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00
Commit Graph

1894 Commits

Author SHA1 Message Date
Michal Čihař
a285c83794 Implement retries on http
There is a bug either in buildservice or in iChain which sometimes
truncates data and sends empty Content-Length header (see bnc#656281).
This patch makes osc retry request to workaround this problem.

The number of retries are configurable in config file as http_retries.
2010-12-06 16:05:10 +01:00
Marcus Huewe
ebe2f6390c - bump version to 0.130 2010-12-06 15:36:13 +01:00
Marcus Huewe
8edf986c6b - added information about the "working copy inconsistent" error 2010-12-06 15:35:07 +01:00
Marcus Huewe
619ebdae8d - util/debquery.py: workaround for python2.4's tarfile module 2010-12-04 12:11:34 +01:00
Juergen Weigert
42f8c595f9 fixed URL in aggregatepac help text. 2010-12-03 12:39:18 +01:00
Juergen Weigert
200807fb37 suggesting 'osc ls /' for listing all projects. 2010-12-02 23:52:38 +01:00
Juergen Weigert
2fd0f1cb95 allow 'osc results PROJECT', as an alternative to 'osc prjresults PROJECT'.
Flagged 'ls' without arguments as deprecated. This should really list
relative to the working directory rather than all projects.
It's now consistent with running 'osc r' in PRJ/PKG working directory.
2010-12-02 23:36:40 +01:00
Michal Čihař
fbfb098a7d Move urlparse import where it belongs. 2010-12-01 10:17:12 +01:00
Marcus Huewe
1a0cea8a4d - fixed testsuite 2010-11-30 19:11:05 +01:00
Marcus Huewe
54a0d80abe - don't fail if no "Content-Length" header exists 2010-11-30 19:10:06 +01:00
d3188831b9 validate received file length based on given Content-Length. for Bug #656281 2010-11-30 16:39:14 +01:00
Marcus Huewe
94836bcbf7 - do_submitrequest: --cleanup and --no-cleanup are mutually exclusive 2010-11-26 14:53:30 +01:00
Marcus Huewe
f77ab86010 - beautify 2010-11-26 14:51:07 +01:00
Juergen Weigert
955522f8e1 let 'osc submitpac' default to do cleanup.
In my understanding a submit is often considered a move and not a copy.
2010-11-26 12:39:09 +01:00
Marcus Huewe
044ffdd62e - minor cosmetic change for the last commit 2010-11-25 22:45:51 +01:00
Dirk Müller
596570cebb optimize _link files
On Thursday 04 November 2010, Sascha Peilicke wrote:

> Could you please send a patch file?

attached.

Greetings,
Dirk

From ac737b9ff8205fe3c320ee0b41b093c7ad92c348 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.de>
Date: Thu, 4 Nov 2010 11:01:08 +0100
Subject: [PATCH] linkpac: Only include src_project if it differs

osc copypac copies _link files verbatim, so if they refer
to the same project, copying them should make them also
refer to the new project. This can be done by leaving
out the project part if it is the same like the destination
project
2010-11-25 22:43:42 +01:00
Marcus Huewe
668a38e978 Revert "rename requestmaintainership to requestrole (much nicer and makes more sense)"
This reverts commit cc9d3e07eb.
(see discussion on the ml)
2010-11-25 22:23:12 +01:00
Pavol Rusnak
cc9d3e07eb rename requestmaintainership to requestrole (much nicer and makes more sense) 2010-11-24 18:20:49 +01:00
Marcus Huewe
6d89fee500 - do_requestmaintainership: added --role option to allow different roles ('bugowner' or 'maintainer') (slightly modified version of Anas Nashif's <nashif@linux.intel.com> patch) 2010-11-24 16:41:02 +01:00
115de1e5c1 fix "osc update -s" help text 2010-11-24 15:35:16 +01:00
Ludwig Nussel
3631df59d4 make rdelete more fool proof
The previous convention of allowing multiple packages has caused
accidental deletion of packages while deleting files was intended (which
doesn't work that way). e.g. osc rdelete foo/bar/baz.spec would delete
foo/bar and then fail trying to delete foo/baz.spec

Also calling osc rdelete with accidental slash, e.g. osc rdelete
/foo/bar actually deleted project foo including all it's packages
without asking questions.

Both traps are eliminated now.
2010-11-24 14:24:59 +01:00
0bb0fb80f1 fix reopen or a review of a request 2010-11-24 14:18:45 +01:00
Brandon Philips
0a65b9870e commandline: improve ENOTDIR error message for validators
WARNING: source_validator_directory configured but it does not exist:
	 /usr/lib/osc/source_validators
	 Install osc-source_validator to fix.

Signed-off-by: Brandon Philips <bphilips@suse.de>
2010-11-19 08:24:20 +01:00
Marcus Huewe
775677d878 - prepared NEWS file for 0.130 release 2010-11-18 21:48:41 +01:00
Marcus Huewe
53361a50f1 - oscssl.myHTTPSHandler.https_open: use selector instead of fullurl
- fixes an issue with lighttpd 1.5
2010-11-16 21:29:33 +01:00
Marcus Huewe
4a8a495849 - OscConfigParser: don't interpolate continuation lines 2010-11-14 18:53:14 +01:00
Marcus Huewe
ca794fe87f - added template support for a submitrequest accept/decline message 2010-11-14 18:32:02 +01:00
Marcus Huewe
7ade282e6e - rewrite pass to passx if pass and passx mismatch
- do_config: automatically reread (which may lead to a rewrite) config
  if an option was changed
2010-11-14 13:10:17 +01:00
Juergen Weigert
805d9f9bf7 osc se Foo::Bar shortcut for osc se --package perl-Foo-Bar 2010-11-12 23:55:11 +01:00
Sascha Peilicke
dc49a7ebb2 fix for bnc #432995 2010-11-10 12:18:17 +01:00
8321e41096 fix review state change for review by_group 2010-11-09 17:19:56 +01:00
90325e90f4 fix URL syntax when requesting request list via reviewers 2010-11-09 16:08:26 +01:00
Ludwig Nussel
1b4955dc2a add --arch and --repo to rebuild for Richi 2010-11-08 16:21:04 +01:00
Michael Schroeder
1299063228 - adapt 'osc pull' to new addlist implementation 2010-10-29 17:41:39 +02:00
Michael Schroeder
6b618b29be - do not crash if there is no diff 2010-10-29 17:30:56 +02:00
Marcus Huewe
65e5af303a - request_interactive_review: support "c(l)one" 2010-10-26 15:47:07 +02:00
Marcus Huewe
785e4dcb1f - added new "clone_request" method 2010-10-26 15:34:32 +02:00
Juergen Weigert
7862ce74de redundant 'state is' removed from messages. 2010-10-23 14:49:28 +02:00
Marcus Huewe
8d0778aff3 - babysitter.py: catch util.packagequery.PackageError 2010-10-21 21:51:20 +02:00
Marcus Huewe
1f51445859 - add "fname" attribute to util.PackageError class 2010-10-21 21:46:41 +02:00
Marcus Huewe
a651156b71 - don't print set value if --no-echo is used 2010-10-16 12:32:21 +02:00
Marcus Huewe
6d9b057898 - do_config: added new options --stdin, --prompt, --no-echo
--stdin: read value from stdin
--prompt: prompt for a value
--no-echo: prompt for a value but don't echo entered characters (for instance to enter a passwd)
2010-10-16 12:24:21 +02:00
Ludwig Nussel
5cdc422774 update review/request docu and fix some status code parsing 2010-10-12 11:31:03 +02:00
Ludwig Nussel
42866b1e12 prompt for message on review add 2010-10-12 11:31:02 +02:00
Ludwig Nussel
9e0b8c3760 remove 'review new', it's broken and intention unclear 2010-10-12 11:31:02 +02:00
Ludwig Nussel
0d93af2291 default to current user when adding a review 2010-10-12 11:31:02 +02:00
Ludwig Nussel
1b8c4a3382 add alias for old option 2010-10-12 11:31:02 +02:00
Marcus Huewe
4229eb6197 - repairwc: repair a project wc (only missing '_apiurl' file so far) 2010-10-10 21:40:31 +02:00
Marcus Huewe
48eaacef18 - new testcase: repairwc: repair a project wc with no apiurl 2010-10-10 21:36:07 +02:00
Marcus Huewe
cc29db4551 - get rid of osc.core.init_project_dir
- moved cleaned up code to the Project class' "init_project" static method
2010-10-09 16:26:55 +02:00