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
debfd71048
fix close() statement in download()
...
From 257d823c45b940604c8d3d992b1e1f2da3746074 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@web.de>
Date: Fri, 30 Apr 2010 17:17:17 +0200
Subject: [PATCH] fix close() statement in download()
Fixed warning from pychecker by fixing the close()
statement in download().
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
Jan-Simon Möller
9e9acd9afa
Update NEWS.
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-05-02 20:21:35 +02:00
Jan-Simon Möller
4c35566e03
Add CB(pre)install hooks to osc
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-05-02 19:58:01 +02:00
Ludwig Nussel
70d772e942
save log file of vm builds
2010-04-30 15:58:31 +02:00
Ludwig Nussel
af467cea2d
allow to override vm type on command line
2010-04-30 15:58:31 +02:00
Ludwig Nussel
ae5d7795b4
use new build --vm-* options
2010-04-30 15:58:31 +02:00
Ludwig Nussel
cfeee1c95d
store list of repos for offline use
2010-04-30 15:58:31 +02:00
Marcus Huewe
95a6643769
- minor cleanup
2010-04-30 15:25:24 +02:00
Marcus Huewe
d55c16cce4
- simplify comment:)
2010-04-30 15:19:35 +02:00
Marcus Huewe
6a83f2e3f0
- store tmpfiles in the default tmpdir
...
- minor cleanup
2010-04-30 15:14:00 +02:00
d02655b026
point users to xen/kvm build enviroments instead of just warning to use osc.
2010-04-30 08:58:18 +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
a0aba626b3
project and package auto detection for osc meta
2010-04-28 11:52:15 +02:00
Ludwig Nussel
34045ec999
display cpio download message immediately
2010-04-28 11:52:14 +02:00
Ludwig Nussel
cecd75db4d
option to hide download meter when finished
2010-04-28 11:52:14 +02:00
Ludwig Nussel
e78e4e4323
use common download code for sources and binaries
2010-04-28 11:52:14 +02:00
Michal Vyskocil
5d2587e916
print the error message on multiple description files
2010-04-27 18:23:03 +02:00
Michal Vyskocil
f3d7b0e4fc
use glob when searching the build description
2010-04-27 18:18:34 +02:00
Michal Vyskocil
6e388a266a
osc branch reads project/package in package directory
...
The osc branch (withouth arguments) is able to read the project/package
from current package dir and use it.
2010-04-27 12:23:03 +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
Ludwig Nussel
fc27b4816b
make osc rebuild pick package from working directory
2010-04-23 12:01:24 +02:00
Ludwig Nussel
367d3ce80e
auto --local-package if --alternative-project is used
2010-04-23 10:46:08 +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
Marcus Huewe
4290c5143b
Merge branch 'master' of git://gitorious.org/opensuse/osc
2010-04-21 15:19:09 +02:00
Marcus Huewe
ba7993ffb0
- backward compatibility fix (only a recent api/backend supports the missingok parameter)
2010-04-21 15:18:20 +02:00
Michal Vyskocil
1325b2813a
--csv/--format options for osc results
2010-04-20 15:43:41 +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
Ludwig Nussel
3a1fc67698
unlink key file in case of failure
2010-04-19 13:59:30 +02:00
Marcus Huewe
d2ea7472cd
- raise an appropriate exception if a package is missing and --no-init or --offline is specified
2010-04-17 15:29:03 +02:00
Jan-Simon Möller
cbed877aa7
cleanup
2010-04-17 15:19:41 +02:00
Jan-Simon Möller
7b5e9374d2
Add support for --preload and --offline to osc build.
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-04-17 13:07:15 +02:00
Martin Mohring
6ae10228b8
changed: cross build emulation strings in build and osc are now same
2010-04-14 13:41:37 +02:00
af52098e16
consider "lxc" a secure enviroment
2010-04-14 10:18:01 +02:00
81d329c55d
restore 0.125 behaviour again and do not verify packages,
...
if they are used in a secure VM.
2010-04-14 10:16:27 +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