db795c8121
support local building using RedHat rpm-md modules
2019-12-05 13:06:30 +01:00
lethliel
41158412f8
fix decoding in fetch_cpio
2019-12-05 13:02:24 +01:00
lethliel
d0de4c383d
open 0.168.0 development
2019-12-05 10:46:17 +01:00
lethliel
2a2ea5c27d
release 0.167.0
2019-12-05 10:44:46 +01:00
Tomas Krizek
eb894eff72
core: support distro module for platform detection
...
Python 3.8 no longer supports platform.linux_distribution().
Compatibility with Python 2.6+ is kept. The
platform.linux_distribution() function is available since 2.6:
https://docs.python.org/2.6/library/platform.html?platform.linux_distribution#platform.linux_distribution
2019-12-05 10:39:55 +01:00
Marco Strigl
8ec18e99a3
Merge pull request #694 from adrianschroeter/vm_build_fixes
...
VM build fixes
2019-12-05 10:26:40 +01:00
b08bd8a437
support building for kiwi products using obsrepositories:/
2019-12-04 15:16:58 +01:00
b329b74816
build environement parameter caching
...
repository, architecture and vm_type from last build is automatically
reused if not specified otherwise.
2019-12-04 15:16:54 +01:00
47e346dde8
avoid source service run for "osc shell"
...
this also drops the warning line if service disabled. It seems not
to be important enough to me.
2019-12-04 14:50:15 +01:00
f4bdd3c876
avoid implicit --noinit if extra packages are specified
2019-12-04 14:50:15 +01:00
eb7aab1cf7
osc build --vm-disk-size= switch support
2019-12-04 14:50:15 +01:00
a628ea8cca
read debug packages from server side project configuration
...
=> avoids unresolvable errors when distro is not providing the
extra/debug package
2019-12-04 08:41:46 +01:00
Marco Strigl
8bebc13675
Merge pull request #678 from adrianschroeter/lastsucceeded
...
add --lastsucceeded option for logfile display
2019-12-04 08:36:30 +01:00
19168f4bb1
Merge pull request #690 from andreas-schwab/master
...
Doc fix
2019-12-03 17:30:24 +01:00
1f89b5a538
add --lastsucceeded option for logfile display
...
no single option since it is really a special usecase IMHO
jsc#OBS-40
2019-12-03 17:29:59 +01:00
Marco Strigl
d5c313cc08
Merge pull request #691 from adrianschroeter/noinit
...
"osc shell" uses --noinit by default now if buildroot exists
2019-12-02 14:52:42 +01:00
33747d12a2
do not running local source service with "osc shell"
2019-12-02 14:33:17 +01:00
f480799522
Use --noinit and --offline on "osc shell" when environment exists
2019-12-02 14:23:41 +01:00
e5788030bf
add --login-as-root alias of old "osc chroot".
...
is doing the same as --userootforbuild now
2019-12-02 14:23:41 +01:00
Marco Strigl
7625a708cb
Merge pull request #689 from adrianschroeter/hostarch_check
...
disable hostarch check for emulator builds entirely
2019-12-02 14:09:07 +01:00
Andreas Schwab
5dfb80299c
Doc fix
2019-12-02 13:12:59 +01:00
d46e93fb03
disable hostarch check for emulator builds entirely
2019-12-02 08:35:50 +01:00
Marco Strigl
348787d47b
Merge pull request #501 from adrianschroeter/master
...
osc shell/chroot is now handled via build script (working for chroot …
2019-11-29 08:39:10 +01:00
2286f042ef
improve help text for for build/shell/wipe
2019-11-28 10:21:05 +01:00
4bcb78e322
osc build --vm-type=qemu support for cross architecture builds
2019-11-28 10:07:36 +01:00
b78a0b3896
osc shell/chroot/wipe is now handled via build script (working for chroot and KVM only atm)
2019-11-28 10:07:11 +01:00
Marco Strigl
19b86e4708
Merge pull request #677 from andreas-schwab/master
...
fix decoding for osc aggregatepac
2019-11-13 16:14:25 +01:00
7be5838e4e
fix decoding for osc aggregatepac
2019-11-13 15:50:49 +01:00
lethliel
e16bd07e25
release 0.166.2
2019-11-13 13:02:57 +01:00
Marco Strigl
2bd921ee7c
Merge pull request #676 from lethliel/fix_http_debug_for_pub_key
...
fix output in http_debug mode for pubkey not found
2019-11-13 11:47:24 +01:00
lethliel
50891392ce
fix output in http_debug mode for pubkey not found
...
Variable e is not known at the time of the call and
e.strerror is None nevertheless. So just ommit e.strerror.
2019-11-13 11:40:22 +01:00
Marcus Huewe
c21f764af9
Merge branch 'fix_osc_vc_args' of https://github.com/lethliel/osc
...
Follow-up fix for commit edc2bde460
("Transfer
the name of the input file to vc") - it slipped through during my review...
See also [1].
[1] https://github.com/openSUSE/osc/pull/644#issuecomment-533514712
2019-11-13 11:20:06 +01:00
lethliel
c32ec4bc1c
appent opts.file to args not cmd_list
...
prepend to args instead to cmd_list. Otherwise the
changes file will be written into the given --file
osc vc --file=proposed.changes package.changes
2019-11-13 09:50:05 +01:00
Marco Strigl
f78057e2d5
Merge pull request #641 from mcepl/337_check_for_request_on_action_1
...
Make check_for_request_on_action on per default.
2019-11-05 16:03:59 +01:00
Marcus Huewe
8bb96776a8
Merge branch 'fix_decoding_linkpac' of https://github.com/lethliel/osc
...
Fix link_pac (meta_exists returns a list of bytes (if create_new is False)).
2019-11-04 15:11:57 +01:00
lethliel
02207d719c
fix decoding for osc linkpac
...
in def link_pac dst_meta is a list of bytes-like objects.
so b''.join(dst_meta) is needed
2019-11-04 15:00:59 +01:00
Marcus Huewe
f9b1fa18ad
Move passx handling into ObfuscatedConfigFileCredentialsManager
...
Minor cleanup for commit c5231d61dd
("fix credentials with passx entries").
2019-11-04 14:25:48 +01:00
Marcus Huewe
42c0d4b71e
Merge branch 'master' of https://github.com/andreas-schwab/osc
...
Get rid of completely bogus appname usage in KeyringCredentialsManager.
2019-11-04 14:20:51 +01:00
Andreas Schwab
5227e357bc
Don't enforce password reuse
2019-11-03 13:43:22 +01:00
lethliel
992255b0df
release 0.166.1
2019-10-29 11:15:35 +01:00
Marco Strigl
78b1e218c0
Merge pull request #661 from lethliel/fix_credentials_with_passx
...
fix credentials with passx entries
2019-10-29 11:12:16 +01:00
lethliel
c5231d61dd
fix credentials with passx entries
...
Existing passx enries resulted in a stacktrace because
the cp.get() call for the passx entries was missing.
Also added a delete_password function for ObfuscatedPasswordManager
to delete passx entries
2019-10-29 11:04:22 +01:00
lethliel
64a5969ca8
release 0.166.0
2019-10-24 11:48:35 +02:00
lethliel
2f02db1621
Merge branch 'master' of github.com:openSUSE/osc
2019-10-24 11:44:42 +02:00
Marco Strigl
aa50dca4eb
Merge pull request #650 from lethliel/fallback_if_keyring_not_present
...
catch configured keyring without module installed
2019-10-24 11:29:26 +02:00
lethliel
5fa1e73db6
catch configured keyring without module installed
...
If a python-keyring based backend is configured, but
python-keyring is not installed osc fails without giving
the user the opportunity to continue.
This introduces a new class method `create` for the AbstractCredentialsManager.
The CredentialsManagers for the backends that use a 3rd party software can
now check if the software is present in its own create method.
2019-10-24 11:21:23 +02:00
lethliel
055b76bfa6
osc ci improve error message on fail
...
The error message if the call of _commit is just:
"ERROR: service run failed"
One option why this can fail is that the user Editor in env('EDITOR')
is not present.
We check now if e.msg gives a hint about "not found file" and then
error out with a better error message
2019-10-23 14:16:57 +02:00
lethliel
af6d0bc652
osc ci improve error message on fail
...
The error message if the call of _commit is just:
"ERROR: service run failed"
One option why this can fail is that the user Editor in env('EDITOR')
is not present.
We check now if e.msg gives a hint about "not found file" and then
error out with a better error message
2019-10-23 14:12:03 +02:00
lethliel
d59141e3fe
fix build with alternative prj and multibuild
...
building with alternative project (pac='_repository')
and multibuild did not work correctly, because the buildflavor
was not submitted to the src server.
With commit 2390823d649a3b0b6bf3b7bd07713c4426932bed in open-build-service
it is now possible to submit the build flavor like this: _repository:<flavor>
The obs commit also enables osc buildinfo --alternative-prject -M <flavor>
to show the correct buildinfo for the flavor.
2019-10-23 11:46:38 +02:00
Marco Strigl
6f34f2b8d8
Merge pull request #651 from lethliel/implement_incoming_option_for_rq
...
implement incoming option for osc rq
2019-10-22 13:15:17 +02:00