1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-22 02:06:18 +02:00
Commit Graph

557 Commits

Author SHA1 Message Date
Marcus Huewe
c33d229953 - fixed permissions 2010-05-24 22:40:31 +02:00
brook hong
11c2f0a510 implement https://features.opensuse.org/309351 2010-05-24 19:28:44 +08:00
1e5b0e2ffb runtime fixes for last commit 2010-05-22 08:55:39 +02:00
6cbff920dc add validation verbose mode for easier debugging 2010-05-22 08:51:04 +02:00
1700744cfa don't try to execute temporary files in validator directory 2010-05-22 08:36:15 +02:00
1e985f38e2 * offer access to deleted projects/packages
* allow checkout of meta data of packages
* process validators in sorted order
2010-05-22 08:23:09 +02:00
da0c0f6b86 support undelete of project or package 2010-05-21 19:03:20 +02:00
Juergen Weigert
3de185cc38 Improved english message text. 2010-05-21 11:29:52 +02:00
56cfff9068 do not die on helper directories 2010-05-20 18:22:20 +02:00
7e0abcd805 Make source validator moduler, execute all scripts in directory 2010-05-20 12:02:53 +02:00
e9b5ca869a support source validators as pre-checkin check 2010-05-20 06:40:18 +02:00
a337968dcb * support branching with --force, to override existing target.
* Sorted OBS 2.0 features in NEWS file
2010-05-19 10:47:01 +02:00
e649a55120 use "checksum" to be in sync with other places 2010-05-18 16:33:11 +02:00
c1de76cc84 allow --force branch, even when target already exists 2010-05-17 20:14:49 +02:00
b397b354fe add sha256 verification for downloaded files via source service 2010-05-17 19:24:00 +02:00
ac5990fbd0 register "_service" file, in case it got created 2010-05-14 16:51:38 +02:00
1ca862308b add support for obs download_url source service.
"osc add $URL" is adding a download_url source service to the package now.
This means the server is downloading the file itself, important for reviewing
version updates.
2010-05-14 16:45:58 +02:00
Ludwig Nussel
2f4de7c63b restore mtime handling for getbinaries 2010-05-12 15:56:33 +02:00
Marcus Huewe
e010e46b2b - "run_pager()": cleanup + fixed isatty() call 2010-05-09 21:47:21 +02:00
Marcus Huewe
4273114ac1 - cut *.changes message after 30 lines (as request by darix) 2010-05-09 21:36:51 +02:00
Marcus Huewe
d35d073c1e - simplify "get_commit_message_template()" 2010-05-09 21:06:00 +02:00
Danny Kukawka
23274b58d4 check if stdout is a tty before call pager
Check if stdout is a tty before call pager otherwise simply
print the text out.

Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:30 +02:00
Danny Kukawka
5a19362570 add run_pager() and make osc log/diff work like git log/diff
Added new function run_pager() to get 'osc log/diff' work like
'git log/diff' which send the output to PAGER (which is by default:
less or what's defined in the environment).

Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-04 08:57:30 +02:00
Danny Kukawka
d706d129ec fix some more close() statements
From 1f9b748c733624e86777173a3fff399d622073b8 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:24:04 +0200
Subject: [PATCH] fix some more close() statements

Fixed warning from pychecker by fixing some close() statements.

Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-03 22:33:56 +02:00
Danny Kukawka
6467c23bdc fixed warning from pychecker
From 208250448c5d438f3906879993013ee126152ce2 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:45:41 +0200
Subject: [PATCH] fixed warning from pychecker

Fixed warning from pychecker: 'Comparisons with True are not necessary
and may not work as expected'

Signed-off-by: Danny Kukawka <danny.kukawka@web.de>
2010-05-03 22:33:56 +02:00
Ludwig Nussel
ad238df8bd build result may have no status 2010-05-03 10:54:19 +02:00
Marcus Huewe
6a83f2e3f0 - store tmpfiles in the default tmpdir
- minor cleanup
2010-04-30 15:14:00 +02:00
0042855237 fix creation of package link, when target project has the package via linked project.
We might have this also in other places, it is not enough anymore to check for the
existens of a package _meta file, we need also to check the "project" attribute, if it
really comes from this project.
2010-04-29 15:37:47 +02:00
Ludwig Nussel
59b19bd012 use common function for launching an editor 2010-04-28 11:52:15 +02:00
Ludwig Nussel
e78e4e4323 use common download code for sources and binaries 2010-04-28 11:52:14 +02:00
Marcus Huewe
d0659fb0f4 - core.request_interactive_review(): backward compatibility fix 2010-04-26 17:57:57 +02:00
4db40e23f5 support OBS 2.0 "unresolvable" state, former expansion error state is still supported. 2010-04-23 14:38:34 +02:00
Marcus Huewe
5e76b5b0c0 - fixes for old python versions 2010-04-22 20:13:58 +02:00
Marcus Huewe
887f03f4f0 - fixed read_sizelimit() 2010-04-22 20:05:40 +02:00
bf7213b768 add a --size-limit option to checkout and update.
Very usefull, if you want to ignore large tar balls over slow connections
and just want to do some spec file changes.
2010-04-22 15:27:54 +02:00
Michal Vyskocil
6c5a3738eb format_results - apply format string on each dict in results list 2010-04-20 15:43:41 +02:00
Michal Vyskocil
7f845f2c70 aliases (pac, pkg, package) in result dict 2010-04-20 15:43:41 +02:00
Michal Vyskocil
b17405d9d0 split the formating rules from get_results
The osc.core.get_results parses the xml and also construct the status
field in little bit complicate way. For future csv support it is
necessary split the xml parsing and formatting to two functions:
 * get_package_results - returns a dict containing all important
   elements
 * get_results - behave as old implementation, just do a formating only
2010-04-20 15:43:41 +02:00
Marcus Huewe
ebc341e7b1 - only offer "d(i)ff" option for submitrequests 2010-04-20 15:29:18 +02:00
Marcus Huewe
d0abff3210 - use oscerr.UserAbort() 2010-04-20 15:22:03 +02:00
Marcus Huewe
ce8ec5f555 - update version to 0.126git 2010-04-19 17:10:32 +02:00
Marcus Huewe
2d0be48eae - update version to 0.126 2010-04-19 17:00:31 +02:00
Marcus Huewe
d3a01a72c0 - do_diff()/do_rdiff(): added "--missingok" parameter
- always use "missingok=1" when showing the diff for a sr
2010-04-10 15:44:15 +02:00
Marcus Huewe
d65f0c81e4 - arghs.. the last commit was not the right fix 2010-04-09 15:57:12 +02:00
Marcus Huewe
0c96157352 - try to read the package name first in order to raise a more appropriate exception
- minor restructuring
2010-04-09 15:47:07 +02:00
Michal Vyskocil
6d23985829 attribute_branch_pkg: raise APIError instead of string 2010-04-08 11:24:13 +02:00
Marcus Huewe
95ec7dee7b - fixed #590606 ("osc/fetch.py does not support authenticated URLs")
bye bye urlgrabber.grabber.URLGrabber: now we're using our own "grabber" object
(OscFileGrabber()) because this way we can reuse the urllib2 handlers (the latest
python-urlgrabber version uses python-curl instead of urllib2...).
2010-04-07 03:06:03 +02:00
Marcus Huewe
6b10a47fbc - only allow --diff for submit requests 2010-03-30 00:31:01 +02:00
Marcus Huewe
3c695d427f - fixed addfile() 2010-03-25 20:08:03 +01:00
Michal Vyskocil
13e03dd359 osc rm: ignore IOError with --force 2010-03-22 11:07:10 +01:00