55ee5763b0
- abort on "search --maintained". Do not redirect to the new command automatically, since it has a different logic
2013-02-14 11:32:27 +01:00
Marcus Huewe
93c0a2d88f
- core.Project.update: fixed deletion of packages with local state "!" and which don't exist on the server side
2013-02-13 18:50:01 +01:00
Marcus Huewe
c8bfad3661
- core.edit_message: check if the user modified the log template
...
If the user didn't change the default template it either means that
he wants to use the default message or that he wants to abort the process.
So if the template wasn't modified osc will prompt:
Commit template was not changed
a)bort, c)ontinue, e)dit:
2013-02-13 11:42:34 +01:00
Marcus Huewe
c3e37d8ba3
- documented "osc build --host..." feature in the NEWS file
2013-02-12 15:11:58 +01:00
Michal Vyskocil
a69d10616a
osc build on remote --host
...
The new argument for osc build --host will perform the build on a remote
host. It is a shortcut for
rsync -az -e ssh `pwd` user@hostname:/remote/dir
rsync -az -e ssh prefer-dir \
user@hotname:/remote/dir/__prefer-rpms__/prefer-dir
ssh -t user@hostname "cd /remote/dir/package; osc build *build-args"
rsync -az -e ssh user@hostname:/remote/dir/__keep-pkgs__ keep-pkgs
iow it copy the current directory to the /remote/directory on hostname
(if not specified, the ~/ is supplied) and then run the osc build on
hostname. All global and local arguments are supplied to the remote osc
build, but arguments points to local path (--host, --keep-pkgs, --prefer-pkgs,
--rsync-dest, --rsync-src and --overlay) are modified to match to remote
host.
It support the OSC_ variables, so running with
OSC_BUILD_ROOT=/somewhere osc build --host ... will push the variable to
the remove osc process
2013-02-12 15:08:20 +01:00
d26b3df32f
- handle architecture parsing also right when an emulator is used. Just warn in that case,
...
because we can check for sure if an emulator is configured.
2013-02-11 15:35:15 +01:00
b358e7085f
- remove debug output
2013-02-11 13:01:58 +01:00
d21bbe48fd
- fix display of time in jobhistory when the job builds more than one day
2013-02-11 11:19:02 +01:00
Marcus Huewe
7d46c5f879
- do_chroot: fixed suargs handling (patch by Olaf Hering <olaf@aepfle.de>)
2013-02-07 15:50:53 +01:00
143af44479
- support --target argument for "osc build"
2013-02-06 17:12:52 +01:00
ef5b892285
Merge pull request #19 from andreas-schwab/master
...
_submit_request: add missing newline before diff
2013-02-05 23:16:18 -08:00
8c3e61bee6
Merge pull request #20 from AMDmi3/freebsd
...
Minor fixes for FreeBSD
2013-02-05 23:15:25 -08:00
Dmitry Marakasov
8e9e8c492c
Raise exception when there're no CA certificates
...
This is more useful and meaningful error message than M2Crypto's
"ValueError: cafile and capath can not both be None." when neither
of cafile and capath is defined for load_verify_locations call.
2013-02-06 03:50:18 +04:00
Dmitry Marakasov
8cd08c352b
Add FreeBSD to the list of platforms
2013-02-06 03:43:36 +04:00
b07891879b
_submit_request: add missing newline before diff
2013-02-05 11:13:07 +01:00
8097a9550d
- fix local build with emulator support.
...
- fix package signing check (skip always for use inside of secure VMs)
2013-02-03 19:08:38 +01:00
f1c55334b3
- add aarch64 build definitions
2013-02-03 13:25:32 +01:00
Andreas Schwab
8f38f33228
do_submitrequest: missing newline before diff in message
2013-02-01 12:21:52 +01:00
Andreas Schwab
7ef8bee0b8
osc diff: use pager also for local diff
2013-02-01 12:21:33 +01:00
1106eb5166
- open 0.139 development
2013-02-01 12:19:06 +01:00
Markus Lehtonen
68670a7a83
Fix %(apihost)s in "build-root" option for osc chroot
...
Prevents a crash in osc chroot when %(apihost)s is defined in the
"build-root" config option.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-02-01 12:18:29 +01:00
1fd7eda7c3
- prepare 0.138 release
2013-01-31 16:44:14 +01:00
d84bc081ef
- disable keyring usage by default
2013-01-31 16:03:31 +01:00
4e0fb4cbeb
submitrequest: old not anymore used maintenance code got removed. It is possible now
...
to create one request to submit all changed packages of an project in
one request. Just run "osc sr" in the checked out project directory.
2013-01-31 16:03:16 +01:00
b55721a679
- warn about empty passwords to see keyring setup errors
2013-01-24 16:32:33 +01:00
Marcus Huewe
d4b8fbbba4
- tests.test_prdiff: disabled the usage of keyrings when running the cli
...
Alternatively we could also disable the keyring usage in the config file.
2013-01-24 15:35:11 +01:00
Adam Spiers
57c8cffe66
- add prdiff subcommand and test suite
2013-01-18 22:38:21 +00:00
Adam Spiers
9b1c6f0204
- refactor assertEqualMultiline into common.py for reuse
...
This will be reused by the tests for the imminent prdiff subcommand.
2013-01-18 22:38:21 +00:00
Marcus Huewe
33f3ab4203
- sigh... make jenkins happy again (finally)
...
The jenkins build got broken by commit 178120c99e
(python 2.6's re.sub doesn't support a flags argument).
2013-01-18 18:27:50 +01:00
Marcus Huewe
178120c99e
- make travis-ci happy again...
...
It got broken in commit 6a332bc1c6
2013-01-18 18:12:41 +01:00
Marcus Huewe
6a332bc1c6
- tests.test_difffiles: removed "count" argument from re.sub in __canonise_diff
...
Old python versions don't support "count". This should fix the jenkins build
again.
2013-01-18 17:11:42 +01:00
Marcus Huewe
afa1911798
do_prjresults: support --xml option
...
"prjresults --xml..." simply prints the raw xml which it receives
from the api.
2013-01-18 16:56:13 +01:00
Marcus Huewe
203a4eeab5
- tests.test_difffiles: added TODO to __canonise_diff.
2013-01-18 16:37:08 +01:00
Adam Spiers
ef0f24c2f6
- avoid false negative failures due to trivial differences in diff hunk headers
...
When a hunk header refers to a single line in the "from"
file and/or the "to" file, e.g.
@@ -37,37 +41,43 @@
@@ -37,39 +41,41 @@
@@ -37,37 +41,41 @@
some systems will avoid repeating the line number:
@@ -37 +41,43 @@
@@ -37,39 +41 @@
@@ -37 +41 @@
so we need to canonise the output to avoid false negative
test failures.
2013-01-18 13:44:30 +00:00
Adam Spiers
479f5d5011
- improve output of assertEquals failures on multi-line strings
2013-01-18 13:44:30 +00:00
Marcus Huewe
aa14d7852e
Merge branch 'travis' of https://github.com/aspiers/osc
2013-01-18 15:37:20 +01:00
Marcus Huewe
46b9fd36e4
- tests.common: disable usage of keyring and gnome-keyring in the testsuite
...
Otherwise it'll lead to (unexpected) errors if python-keyring or gnome-keyring
are installed.
2013-01-18 14:27:28 +01:00
Adam Spiers
c23c73119d
- add .travis.yml to fix Travis runs
2013-01-18 12:26:48 +00:00
Marcus Huewe
63e2bcabf7
- corrected some docstr which were added in a2f1cc25b2
2013-01-16 14:48:15 +01:00
Marcus Huewe
12c8736129
Merge branch 'master' of https://github.com/aspiers/osc
2013-01-16 14:38:13 +01:00
Adam Spiers
a2f1cc25b2
osc.core.Project: add some docstrings
2013-01-15 18:32:01 +00:00
Marcus Huewe
cfed92103a
- do_maintainer: support "osc maintainer prj/pkg" syntax
2013-01-08 22:32:27 +01:00
Marcus Huewe
737bac561b
- added support to strip the build time from the buildlog when running "bl", "rbl", "lbl"
...
Also added a config option "buildlog_strip_time" to permanently enable/disable the
stripping of the build time.
2012-12-15 01:50:24 +01:00
bfa108810a
add support to remove repositories recursively (mostly only usefull for admins)
2012-12-06 14:07:02 +01:00
fc7e26fef1
- open 0.138 development
2012-12-04 16:47:42 +01:00
14c41ebdf8
- version 0.137
2012-12-04 16:44:46 +01:00
613e2b5176
- buildinfo --debug option for verbose output of dependency calculation
2012-12-04 16:44:14 +01:00
081e682982
- mention the --all feature
2012-11-23 12:54:25 +01:00
e0020e3072
- support to set the bugowner
...
- offer to send set_bugowner request if target is not writeable
- bugowner call is just an alias for maintainer call now
2012-11-23 12:52:05 +01:00
8d8d72a21f
- support default maintainer/bugowner search based on binary package names
2012-11-22 11:37:32 +01:00