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
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
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
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
lethliel
b556095502
implement incoming option for osc rq
...
There is a config option 'include_request_from_project' which
can be set to 0 to exclude all requests originating from the
project in osc [rq|review] list.
To force this behaviour just once (without always editing oscrc
the '--incoming' option can be used.
2019-10-22 10:20:15 +02:00
Marco Strigl
a83ec93947
Merge pull request #646 from lnussel/master
...
New browse command to quickly open web browser
2019-10-22 09:29:54 +02:00
Ludwig Nussel
e53d16f5d8
New browse command to quickly open web browser
2019-10-22 09:16:57 +02:00
Marcus Huewe
5611c55bde
Merge branch 'fix_buildinfo_with_alternative_project' of https://github.com/lethliel/osc
...
Make "osc buildinfo --alternative-project <project> ..." consistent with
"osc build --alternative-project <project> ...". This change breaks some
invocations where a build_descr is omitted (but in this case, simply
use "osc buildinfo <project> <package> <repo> <arch>).
2019-10-21 16:16:55 +02:00
Marcus Huewe
3025dbf954
Merge branch 'support_appimage_yml' of https://github.com/adrianschroeter/osc
...
Support "appimage.yml" in parse_repoarchdescr.
2019-10-21 16:06:29 +02:00
Marcus Huewe
598ad1034d
Merge branch 'improve_help_text_for_maintained' of https://github.com/lethliel/osc
...
Improve help text of the "mbranch" command.
2019-10-21 16:04:57 +02:00
lethliel
333028401e
use _repository if alt prj is used
...
Use _repository as package name if alternative_project is used
2019-10-21 13:29:37 +02:00
e43d0641c6
find appimage.yml files as build description
2019-10-17 08:07:38 +02:00
lethliel
aaa51bcab1
improve help text for osc maintained
...
The help text does not indicate that only osc mbranch
really creates a branch.
osc maintained and osc sm are just aliases for osc mbranch --dryrun
2019-10-16 14:41:22 +02:00
lethliel
6c23e10d80
updated NEWS file
2019-10-16 11:21:56 +02:00
ea5f8d40aa
Make check_for_request_on_action on per default.
...
Fixes #337
2019-10-10 18:02:20 +02:00
Marcus Huewe
95d49a0af6
Merge branch 'fix' of https://github.com/adrianschroeter/osc
...
Only a 404 implies a "meta_change" in link_pac and aggregate_pac.
2019-10-09 14:38:50 +02:00
e2c50fb8c1
be sure that destination is not existing before overwriting content
...
we used to crash on utf encoding errors, be sure not to replace meta
data in that case
2019-10-09 07:34:20 +02:00
Marcus Huewe
dc60cc2a09
Merge branch 'fix_#637_osc_vc_escape_chars' of https://github.com/lethliel/osc
...
Pass the filename to the vc script instead of passing its content via
the "-m" parameter. If "osc vc --file <fname>" is issued, it might be
possible that $EDITOR is still opened (if the "vc" script is too old),
which contradicts the --file option's help text. This "break" is acceptable
(just update osc in tandem with the vc script).
2019-09-27 22:35:25 +02:00
lethliel
edc2bde460
Transfer the name of the input file to vc
...
instead of the content and let vc do the rest.
This prevents calling echo -e and interpreting
escape characters.
2019-09-25 11:36:25 +02:00