1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 09:46:19 +02:00
Commit Graph

2058 Commits

Author SHA1 Message Date
08d2b8d045 - open 0.135 development 2012-04-02 10:53:12 +02:00
34bee95834 - fix pattern.rng url again and add a more complete example (bnc#602330) 2012-04-02 10:52:29 +02:00
Marcus Huewe
5b3725096f - fixed #754774 ("'osc service rr' optional arguments don't work; doesn't match 'remoterun'") 2012-03-29 19:33:41 +02:00
Marcus Huewe
e2aa5cc65c - do_update: rewrote code path for expanding/unexpanding a wc
The way for determining the revision was completely "wrong".
2012-03-28 23:14:28 +02:00
Marcus Huewe
25c4cb1cc1 - do_update: print the correct revision when unexpanding the wc
The old "p.linkinfo.lsrcmd5" was completely misleading because update to the
latest rev...
2012-03-28 22:58:09 +02:00
Marcus Huewe
081037e913 - do_update: use "rev" instead of "lsrcmd5" when running "osc up -u" 2012-03-27 18:38:00 +02:00
8d5cc0a8d6 - fix link to OBS maintenance chapter 2012-03-26 15:46:38 +02:00
Ard
bd9ab782d4 Fix small typo in conf.py 2012-03-24 20:41:43 +13:00
82880e9572 - improve error message when calling patchinfo in standard package. 2012-03-23 09:37:08 +01:00
874e269887 - maintenance request is adding now revisions to sources 2012-03-15 12:44:38 +01:00
ce9f504105 - add unlock command for osc 0.134.1 2012-03-15 09:55:37 +01:00
434879dc4b - make the complete different action which can not be avoided by command line more understandable .... 2012-03-12 14:49:53 +01:00
665d1b6501 - 0.134.0 release 2012-03-12 14:36:59 +01:00
Ludwig Nussel
b6069c6946 automatic fallback to maintenance request
alternative would be to raise exception and have calling code implement
the fallback
2012-03-12 11:00:36 +01:00
Ludwig Nussel
0cdc695c21 add message param to delete call 2012-03-12 11:00:36 +01:00
Sascha Peilicke
588efa69fc Fix copy-paste error 2012-03-08 14:42:52 +01:00
Marcus Huewe
346b754941 - added "review show" command to help text 2012-03-06 13:25:47 +01:00
Marcus Huewe
65858bb6d3 - support "review show <id>" (alias for "request show <id>") 2012-03-06 13:22:25 +01:00
effe3835ba - strip terminal control chars, except new lines from build logs (CVE-2012-1095) 2012-03-05 10:44:09 +01:00
6860e7edff - set vrev on current links in link files 2012-03-02 15:44:15 +01:00
15da5e9580 - follow changed issue xml schema 2012-02-29 15:57:58 +01:00
e0d045cdea - do not crash on project wide incident requests view 2012-02-29 12:22:35 +01:00
96042a3194 - simplify "setlinkrev" call and do the right thing by default. 2012-02-29 11:51:40 +01:00
793d9ec961 - create submit requests with correct revisions when target is not link target and a service is used. We had missing service files so far after request accept. 2012-02-24 11:50:24 +01:00
Sascha Peilicke
d8904685da [osc] Also provide '--noservice' parameter to 'osc commit'.
It is already used for 'osc build' and much shorter than '--skip-local-service-run'
2012-02-23 14:27:04 +01:00
a9b51e3571 - take care about build --noservice 2012-02-23 13:21:22 +01:00
Stephan Kulow
770a3e6172 don't only calculate repofilename but also filename according to 'binary'
attribute - otherwise cache access won't work
2012-02-22 14:12:06 +01:00
Stephan Kulow
7c6653e831 avoid errors when checking rpm signkeys on files that are not rpm 2012-02-22 13:28:19 +01:00
Stephan Kulow
b1502a5715 support buildinfos with binary present - and don't die with XML 2012-02-22 13:28:19 +01:00
Stephan Kulow
d449a12c09 change the project meta default to use snapshot repo for factory 2012-02-22 13:28:19 +01:00
d50f06fec1 - follow changed policy for inident requests 2012-02-21 18:02:21 +01:00
Marcus Huewe
7fc2f02f33 - do_results: ignore _oldstate key when printing the results in csv format 2012-02-21 14:17:57 +01:00
00286be354 - don't crash on invalid attribute names 2012-02-21 12:41:24 +01:00
Marcus Huewe
09a7f60ede - fixed "osc results --csv" in a project wc 2012-02-21 13:13:36 +01:00
fbb032ea95 - show maintenance_incident request informations complete 2012-02-20 11:21:30 +01:00
9960072d5c - set releaseproject in incident requests 2012-02-15 17:08:06 +01:00
3820c19c9d - fix cleanup handling of maintenance request 2012-02-15 13:13:44 +01:00
39b85af5d9 - use hostarch from buildconfig instead of own architecture guessing 2012-02-09 15:13:04 +01:00
ba08ccb48a - add single-package-maintenance branch 2012-02-09 10:04:44 +01:00
06bf885524 - do not crash when not creating incident request (#745842) 2012-02-08 15:56:46 +01:00
Ludwig Nussel
f760282ea4 whois: display user info suitable for c&p in mail client
allow multiple arguments
2012-02-07 11:08:32 +01:00
Ludwig Nussel
842df7e511 xml parse result of branch 2012-02-07 11:04:45 +01:00
Ludwig Nussel
f53e40b2fd sr: use link target package also when called with one argument 2012-02-07 11:03:21 +01:00
Bruno Friedmann
475867cc64 - make file system configurable 2012-02-04 17:05:17 +01:00
1ab773344b - fix syntax error 2012-02-04 11:01:08 +01:00
39233d3b93 - do not move back service generated files when service failed 2012-02-04 10:41:54 +01:00
Adam Spiers
3ed94d9694 Fix 'chache' typo 2012-02-02 10:49:17 +00:00
Michael Schroeder
039d662b7a fix typo 2012-01-30 18:09:30 +01:00
Stephan Kulow
7232c2eab8 remove debug code from osc sr 2012-01-30 13:13:48 +01:00
4466a7f701 - fix superceeding of submit requests, match all exact matches independend of user and include "declined" 2012-01-26 13:27:44 +01:00
0b79374542 - fix default for open requests (include 'declined') 2012-01-26 13:27:44 +01:00
e54da78499 - add "osc my work" which works in same way as webui 2012-01-26 13:27:44 +01:00
Michael Schroeder
9d9420e00b revert the part of 2e2deb3e that broke rev/cicount setting in linkpac 2012-01-25 15:51:11 +01:00
Pavol Rusnak
2c9c719c9e fix proxy adding the Content-Length header twice 2012-01-25 14:58:55 +01:00
8fe6a030ef - fix submit request of package 2012-01-24 12:03:34 +01:00
c356771449 - fix error handling when the api request handle reports a generic error 2012-01-24 11:51:22 +01:00
4aa3463438 - fix description of "osc results --watch" switch 2012-01-24 09:59:23 +01:00
da85dcd669 - handle timeout situation in "results -w" call 2012-01-23 18:18:51 +01:00
49d91c373d - add "osc results --watch" command to wait for build results in efficient way 2012-01-23 17:26:53 +01:00
cb78230347 - ask user to create maintenance incident when submit request fails at release project 2012-01-23 14:12:17 +01:00
a2030b9f15 - add "request setincident" command 2012-01-19 11:43:37 +01:00
11be969b77 - maintenance requests accept package lists as source and target incidents to be merged in 2012-01-19 11:36:57 +01:00
Ludwig Nussel
0bdd0a676e slash separate sm output 2012-01-18 16:50:47 +01:00
Ludwig Nussel
0f2e8e257d relax the cipher string to make it work with real world deployments again 2012-01-18 16:50:46 +01:00
Ludwig Nussel
1f8bed8221 don't set SSL_OP_ALL
SSL_OP_ALL contains SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS which actually
fixes a weakness in SSL.
2012-01-18 16:50:46 +01:00
Michael Schroeder
4a1cc2cc88 - the help says 'implies --binary', make it so 2012-01-13 17:43:32 +01:00
Michael Schroeder
754897d905 add --binaryversion option 2012-01-13 15:18:33 +01:00
e0683d074c - use qemu as fallback when arch is not supported (unable to test it because of broken binfmt misc) 2012-01-12 13:47:31 +01:00
67be93e1a4 - do not overwrite package meta on "copypac" by default 2012-01-09 14:30:52 +01:00
94a670e067 - patchinfo call can work without checked out copy now 2012-01-09 11:29:11 +01:00
bb373a9c9d - use correct target package name on branch result (when --extend-package-names or when devel package is set) 2012-01-05 17:15:39 +01:00
3651508724 - use cmd=branch&dryrun=1 for search of maintained packages to get same result as on branching 2012-01-05 16:16:13 +01:00
Dirk Mueller
836423d2cf fix handling of -u parameter in mbranch 2012-01-05 14:41:02 +01:00
Dirk Mueller
285dc40a8a fix handling of --attribute in mbranch 2012-01-05 14:40:57 +01:00
Sascha Peilicke
dba42e5aa5 Don't break filenames containing spaces, only chop of trailing newlines. 2012-01-05 14:00:10 +01:00
4e7867e3cd - fix "ldiff" command, it crashed due to inexistent md5sum in linked package 2012-01-04 13:27:31 +01:00
Marcus Huewe
3aeff9e0d0 - removed debug stuff... 2011-12-20 18:42:03 +01:00
f8bab97e5a - open 0.134 development 2011-12-19 14:09:47 +01:00
cff2298b12 - 0.133 release 2011-12-19 14:06:25 +01:00
b3e1321ad6 - fix patchinfo new creation call 2011-12-16 15:29:54 +01:00
89edcc32ec - move declined requests in "my rq" to the bottom 2011-12-16 09:44:57 +01:00
bede808271 - offer to supersede requests in declined state on creating a new submit request 2011-12-15 15:50:11 +01:00
c076e2b4d2 - show declined requests to the creator on "my rq" function 2011-12-15 15:35:11 +01:00
2e2deb3ec8 - support link or branch from not-yet-existing-packages to pre-define the later submit target 2011-12-15 15:12:41 +01:00
Sascha Peilicke
2950d89be4 Clarify link / branch difference
Should fix bnc#723578
2011-12-12 12:57:13 +01:00
0d1e9d22f7 - fix error handling when a service breaks 2011-12-12 10:04:21 +01:00
46555269e6 - fix typo 2011-12-06 13:22:50 +01:00
7bbfd64854 - show build result details always when existing (eg. showing build host when in building state) 2011-12-05 23:23:49 +01:00
a5edbb201a - add support for new branch --extend_package_names 2011-12-01 15:54:50 +01:00
f47e8f16c7 - support updating of existing _patchinfo files 2011-11-30 10:52:50 +01:00
4eca9d124a - forgot another place to enable add_repositories functionality 2011-11-28 14:26:30 +01:00
fdde366daf - be a bit more verbose on copypac comment (to see which options where used) 2011-11-25 13:05:41 +01:00
b659ad5285 - support new branch add_repositories api call 2011-11-25 10:12:16 +01:00
Marcus Huewe
da745728cc - do_log: support -r rev1:rev2 (revision ranges)
This obviously only work for "plain" revisions
2011-11-22 20:13:52 +01:00
ce1bcee552 - support "serveronly" source service 2011-11-22 14:47:11 +01:00
49cdfa4fe3 - add --keep-link option to copypac command 2011-11-21 12:33:32 +01:00
Marcus Huewe
34454ac91d - do_vc: fixed #719754 ("osc vc fails with 'User not found'") 2011-11-18 22:48:50 +01:00
Marcus Huewe
8971959187 - fixed #704939 ("osc dies when the config file is supplied via STDIN") 2011-11-18 22:32:10 +01:00
Marcus Huewe
18ad5fcd5a - conf: always use write_config when writing the config file 2011-11-18 22:27:38 +01:00
Marcus Huewe
ac10fd798d - do_getbinaries: minor cosmetic change 2011-11-18 21:52:30 +01:00
Marcus Huewe
da88ec0a39 - fixed #713178 ("osc getbinaries in project scope throws error") 2011-11-18 21:51:03 +01:00
Marcus Huewe
64224f9668 - core.set_link_rev: return revision
- do_setlinkrev: print the revision which is stored in the 'rev' attribute (if rev is not None)
2011-11-17 21:33:57 +01:00
e945409bb8 - add "locked" state #729873 2011-11-11 20:16:57 +01:00
0f1ae28bf0 - new patchinfo is now default on server, old format not anymore supported on purpose.
So removing the switch is also on purpose to make people aware of it.
2011-11-11 10:51:24 +01:00
Sascha Peilicke
2ce8484dc8 Support unshortened diff and use it by default.
Fixes bnc#518304
2011-11-09 11:51:43 +01:00
Marcus Huewe
0973931793 - rewrote b190f27d00 (support "osc co --output-dir..." option)
The initial version was written by Ed Bartosh <eduard.bartosh@intel.com>
2011-11-02 21:05:10 +01:00
Marcus Huewe
17a5242110 Revert "implemented --output-dir command line option"
This reverts commit b190f27d00.

Do not use "pathname" for this. Its sole purpose is to print out the
"correct" pathname to the user.

The code broke the Project's class update mechanism
2011-11-02 21:05:09 +01:00
eac124f9f6 - support source cleanup on maintenance incidient requests 2011-10-31 12:06:52 +01:00
Sascha Peilicke
568410f46f Don't choke on unicode characters in filenames upon checkout.
Fixes bnc#714061
2011-10-19 10:51:50 -08:00
Marcus Huewe
6cd541967e - core.request_interactive_review: don't execute review code path if no reviews are present 2011-10-10 22:17:40 +02:00
Ed Bartosh
b190f27d00 implemented --output-dir command line option 2011-10-10 17:06:58 +02:00
321cbdc9ff - add armv7l, armv6l and armv5l archs for building 2011-10-09 11:23:00 +02:00
fade823e06 - exclude also nosrc.rpm on getbinaries 2011-10-09 11:23:00 +02:00
Marcus Huewe
b5f21a4a8a - core.Package.commit: fixed _service handling
Now the testsuite succeeds again.
Note: we need some testcases for commits with a _service file
2011-10-07 14:13:14 +02:00
Marcus Huewe
7995613991 - revert 3834263171
- fixed "parse_repoarchdescr": don't ignore repo if the repo name is a
  supported arch name
2011-09-30 14:57:03 +02:00
3834263171 - fix building with "osc build $REPO $ARCH" 2011-09-30 14:26:58 +02:00
511ebf9d89 - don't say to download cpio (why just one package ?;) 2011-09-30 07:42:57 +02:00
c0618f3ede - make osc build working on debian arm 2011-09-28 15:32:57 +02:00
da7445c192 - become curl compatible, switch to "PUT" method when using -T upload file parameter 2011-09-23 12:11:14 +02:00
Marcus Huewe
f98758e902 - config_set_option: set override_no_keyring and override_no_gnome_keyring to the current config defaults when calling "get_config" 2011-09-21 01:52:04 +02:00
Marcus Huewe
5707f2c6f4 - request_interactive_review: added support to accept/decline a specific review instead of all 2011-09-16 17:32:42 +02:00
d3dd8539d9 - fallback to "build --local-package" if it does not exist instead of complaining 2011-09-12 16:15:19 +02:00
Ruediger Meier
9c004acf34 - re-add but ignore deprecated option --skip-validation
Doing this to not brake scripts where this option is used.
This Patch is a follow-up of
568612ce "- drop hardcoded source validator executions"
which has not been released yet.
2011-09-11 17:13:32 +02:00
Marcus Huewe
27ca263d37 - do_revert: added note again which was removed in the previous commit (only affects the docstring) 2011-09-09 19:55:19 +02:00
Ruediger Meier
57329183d1 osc revert, how to do it?
On Friday 09 September 2011, Marcus Hüwe wrote:
> > Is this the supposed behavior?
>
> No - I just fixed it in git master.

Thx!

BTW
even I've investigated it for svn (because osc may supposed to be similar).
But the misbehavior is the same there. Do you think that's a bug in svn too?
At least svn reverts completely when doing
svn revert -R .

Probably would be also nice to say something about it in osc revert --help,
e.g. like this

From 3fa9bb1ac29c623f8ee24f435e7eebd073273e1a Mon Sep 17 00:00:00 2001
From: Ruediger Meier <ruediger.meier@ga-group.nl>
Date: Fri, 9 Sep 2011 19:08:50 +0200
Subject: [PATCH] - do_revert: add help msg about reverting wc entirely
2011-09-09 19:53:40 +02:00
Marcus Huewe
5007751215 - do_revert: also revert added files by default 2011-09-09 17:37:01 +02:00
Marcus Huewe
6d1372c6f8 - get_prj_results: added '?' to legend 2011-09-07 18:33:07 +02:00
Marcus Huewe
30ba376302 - do_build: also consider "local_service_run" config option 2011-09-07 16:53:11 +02:00
Marcus Huewe
3683d9550d - added "local_service_run" config option
can be used to permanently disable the local service run on commit
(default: enabled)
2011-09-07 15:19:54 +02:00
568612cedc - drop hardcoded source validator executions 2011-09-07 13:55:05 +02:00
f80ce9c663 - do not fail on empty service parameter values 2011-08-29 17:06:12 +02:00
Marcus Huewe
d3b08ff0fb - core.Project: yet another fix for the update method (handle deleted packages correctly) 2011-08-25 13:47:19 +02:00
Marcus Huewe
fc00d2621c - core.Project: fixed update method
handle missing packages (state "!") more gracefully
2011-08-25 13:47:19 +02:00
da52ea1331 - fix crash on removal of local _service file 2011-08-24 12:06:34 +02:00
cdc21c6011 - yet another fix for old OBS instances 2011-08-23 16:03:58 +02:00
c140a1d975 - make osc working with OBS 2.1 again 2011-08-19 15:18:55 +02:00
Sascha Peilicke
097daf311b Fix tests/test_repairwc.py, there's no 'urllib22' yet ;-) 2011-08-18 16:02:34 +02:00
Sascha Peilicke
3619f392a0 Reopening reviews only works for requests in state 'new' or 'review' 2011-08-18 16:02:34 +02:00
Sascha Peilicke
7acf236662 Honor PEP-8 in osc/conf.py. Includes moving all imports to the top (and
importing only once).
2011-08-18 16:02:34 +02:00
cf1bd2d5df - support source services using OBS project or package name 2011-08-18 11:32:19 +02:00
Egbert Eich
db2e538efd Sanitize file permissions for downloaded files.
Downloaded files may not have read permission for everybody.
This doesn't seem to be a problem since the user as well as
root should be able to read them anyhow. This is true unless
the directory where the cache resides is mounted over nfs
with root_squash.

Signed-off-by: Egbert Eich <eich@suse.de>
2011-08-16 11:33:56 +02:00
Cristian Rodríguez
931d216ea0 Set the SSL client cipher list to only use very strong algorithms. 2011-08-16 11:33:56 +02:00
Michal Marek
c7e5819b7c Do not check for untracked files before commit
This duplicates the work of the source validator and is just annoying.

Suggested-by: Michal Vyskocil <mvyskocil@suse.cz>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-08-16 11:33:56 +02:00
Marcus Huewe
3be3b915bd - fixed request_interactive_review 2011-08-15 17:06:04 +02:00
Marcus Huewe
2307cfc0b7 - coding style... 2011-08-11 23:11:15 +02:00
Marcus Huewe
7927b83c1c - request_interactive_review: use request_diff
(old diff method is kept for backward compatibility)
2011-08-11 23:09:45 +02:00
Ludwig Nussel
f707e9a22e fix pgp pubkey parsing
the base64 checksum must not be included in the key data. Newer rpm
don't like that.
2011-08-05 13:53:33 +02:00
Sascha Peilicke
e3f0821bd4 Fix commit 438569f821 2011-07-29 11:05:06 +02:00
Dirk Mueller
54c520da8e fix link to pattern description 2011-07-27 15:22:40 +02:00
Sascha Peilicke
f072cfed15 Make sure that the description is really empty for new projects/packages 2011-07-20 19:34:46 +02:00