c4f0397b0f
Takes care when the commit is in project level
2014-02-27 16:45:44 +01:00
014551e786
Move the user interaction for linked package into commandline.py
2014-02-27 16:45:44 +01:00
fdd58e23c8
- roll 0.144.0 release
2014-02-27 10:42:03 +01:00
Ludwig Nussel
955c46495b
replace sys.exit(0) to avoid backtrace
2014-02-27 08:39:54 +01:00
Marcus Huewe
d92098a864
- Package.commit: fixed spelling error and added FIXME comment
2014-02-25 14:09:04 +01:00
Marcus Huewe
d8e0b82b10
- fixed core.edit_meta
...
The change introduced in commit a20c6f5d99
broke the creation of new packages.
2014-02-25 14:06:20 +01:00
a20c6f5d99
Allow commits to linked pakages.
...
If the package is linked to a different project, osc will ask
permision to branch the package in the current project before
commiting.
Show a message in osc meta pkg -e in the same case.
2014-02-24 16:02:47 +01:00
Marcus Huewe
87e24c3aa6
- do_commit: added --no-message option
...
Commit without specifying a log comment. Fixes #73 .
2014-02-12 14:52:39 +01:00
Sascha Peilicke
3c0dbaba7f
Add flag '--noverify' next to '--no-verify'
...
Align with other '--no$bla' flags. Note that the alternative is added
after '--no-verify', optparse uses the first arg for the stored config
variable.
2014-02-12 12:26:59 +01:00
Marcus Huewe
b5d47ebd8c
- do_maintainer: fixed support for groups
...
Ideally, the whole method will be refactored one day...
2014-02-11 11:56:44 +01:00
Marcus Huewe
49ed086d0b
- do_vc: added a --file <filename> option
...
Can be used to read changes from <filename>.
2014-02-05 17:50:31 +01:00
98a625e89e
- show also error details on request accept error
2014-02-04 14:35:30 +01:00
2c6415264d
- fix "osc build $repo aarch64" call without specifing a spec file. aarch64 is not recognized as architecture due to wild parameter guessing
2014-02-03 17:33:49 +01:00
e1007e1bd8
- show api error on failure of request/review accept
2014-01-30 11:52:24 +01:00
0557fecd02
- support bugowner set of groups
2014-01-24 17:01:35 +01:00
cb14b06a74
open 0.144 development
2014-01-24 10:51:00 +01:00
af2dffb002
prepare 0.143
2014-01-24 10:48:46 +01:00
7fcb1bbe3e
- fix set bugowner command
2014-01-24 10:29:00 +01:00
9e07851310
- fix "osc up -S" including service files, regression in 0.142 from commit 930974b4ab
2014-01-21 18:09:20 +01:00
Marcus Huewe
cf35fb441f
- do_request: support float values for --days (affects list)
2014-01-14 11:04:04 +01:00
Marcus Huewe
edd199af3b
- _load_plugins: handle NameError more gracefully
2014-01-10 15:58:33 +01:00
Marcus Huewe
9a8679a21e
- core: added wrapper for os.utime (workaround for bnc#857610)
...
It seems that os.utime raises EINVAL if the file resides on a nfs
share. Since osc itself does not rely on the correct utime, we simply
ignore this exception.
2014-01-09 14:15:30 +01:00
Marcus Huewe
a4632969e4
- core.Package.commit: only update store if the commit was successful
...
This fixes bug #65
2014-01-09 13:56:34 +01:00
Marcus Huewe
4ef62d0daf
- tests.test_commit: added new testcase
...
Only update storefiles if the commit was successful (see bug #65 )
2014-01-09 13:53:41 +01:00
Marcus Huewe
5e5427f9be
- ServiceInfo.execute: also cleanup dirs
...
Fixes #67 .
2014-01-09 10:24:48 +01:00
Marcus Huewe
57d9b48dc0
- tests.suite: added TestConf testcase to suite
2014-01-08 15:43:57 +01:00
Michal Vyskocil
111fd87715
passx encode/decode functions
...
The string.encode('bz2') does not work in python3. Implement
passx_encode/passx_decode functions compatible with python 2.6, 2.7 and
3.3.
Add a simple unit test.
2014-01-08 15:43:57 +01:00
Vitezslav Cizek
f85c76bd42
correctly specify --delete option when using rsync
2014-01-08 15:18:02 +01:00
Michal Vyskocil
5d5185cbc6
chmod handling
...
* prefer os.open instead of open && os.chmod
* prefer os.fchmod when fd exists
2014-01-06 11:12:02 +01:00
Marcus Huewe
550039f746
- core.request_interactive_review: be able to edit a "maintenance_incident"
...
Fixes #64 .
2013-12-16 10:59:07 +01:00
Michal Čihař
e9793df634
Fixed typo in authentication
2013-12-09 19:26:15 +01:00
Marcus Huewe
daf5da2f18
Merge branch 'master' of https://github.com/bartosh/osc
2013-12-06 10:57:25 +01:00
Marcus Huewe
d04c36189e
- core.http_request: remove timeout cruft
2013-12-05 18:30:40 +01:00
Ed Bartosh
2d29c35f46
Fixed traceback in get_prj_results
...
The reason of the crash is that not all targets are always defined for
all packages. In our environment it happens when linked project is
created and sources have just been uploaded to one package.
Here is the crash:
Traceback (most recent call last):
File "../tools-testing/build-package", line 313, in <module>
sys.exit(main(sys.argv))
File "../tools-testing/build-package", line 309, in main
return build(apiurl, tproject, package, timeout)
File "../tools-testing/build-package", line 226, in build
hide_legend=True, csv=True)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 5135, in get_prj_results
row = [pac] + [status[pac][tg] for tg in targets]
status[pac]]
KeyError: ('Fedora_18', 'i586', 'outdated')
Please note that this fix fixes only csv mode. For other modes osc still
can crash, but it's hard to reproduce here as we're not using them.
Signed-off-by: Ed Bartosh <bartosh@gmail.com>
2013-12-05 16:46:30 +02:00
f202fbd111
add option for deleterequests using auto-accept
2013-12-05 10:23:53 +01:00
Dinar Valeev
359d5c5a84
ppc64le can be built on ppc64
...
In case vm-type is KVM, we can build Little Endian packages on Big
Endian host.
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
2013-12-03 08:25:13 +01:00
Andreas Schwab
b2e94ff3af
Fix wipebinaries
2013-12-01 19:01:58 +01:00
Marcus Huewe
2d7f644f44
Merge branch 'master' of https://github.com/thorstenb/osc
2013-11-28 11:52:02 +01:00
602841f14b
- fix upload of binary files via POST api call (use right content type)
2013-11-27 11:13:08 +01:00
Thorsten Behrens
9561a99d6b
Do not pass on unicode password from keyrings.
...
Seems at least gnome keyring returns a unicode string here
needlessly, which calling code then trips over.
2013-11-21 23:46:45 +01:00
99b3af9a41
- open 0.143 development
2013-11-21 10:32:17 +01:00
de3e141256
- roll 0.142 release
2013-11-21 10:27:49 +01:00
Sascha Peilicke
89eb129e4d
Same output as "osc branch" for mbranch command
...
Users can just copy-paste the "osc co ..." command in their shell and be
more productive.
2013-11-18 13:48:09 +01:00
Sascha Peilicke
63797d9fe8
Ignore *junit-xml-results
2013-11-18 13:48:09 +01:00
Marcus Huewe
73048d1159
- yet another fix for the previous commit
2013-11-15 11:42:58 +01:00
Marcus Huewe
b2493a25ae
- fix for 6a36b5180a
...
It is ridiculous that we have duplicated code for "osc sr" and
"osc createrequest"...
2013-11-15 11:39:21 +01:00
Marcus Huewe
6a36b5180a
- do_submitrequest: automatically supersede existing requests if "--yes" was specified
...
Fixes #58
2013-11-15 11:13:27 +01:00
a7ea5043ae
- allow also to execute a token with a registered service
2013-11-13 18:23:44 +01:00
Marcus Huewe
f7eab473f0
- tests.test_prdiff: fixed testcases (got broken by commit bd3a6d2fc8
)
2013-11-11 09:15:59 +01:00
B S Srinidhi
bd3a6d2fc8
Include filelimit=0 when querying full serverside diff
...
Without this change, "osc rdiff -p" simply returns "(XXX lines skipped)"
2013-11-11 01:39:32 +05:30