Marcus Huewe
a6e49494c1
Merge branch 'drop_dead_code' of https://github.com/dcermak/osc
...
Get rid of unused core.dgst_from_string. Actually, this breaks the API
but that's IMHO ok (users of this, if at all, should be very rare)...
2020-01-08 18:18:55 +01:00
Marcus Huewe
b44ed4826d
Merge branch 'master' of https://github.com/quatran/osc
...
Fix do_request's help text: cancelapprove -> cancelapproval.
2020-01-08 18:15:52 +01:00
Quang Tran
86fcb7aecf
Fix typo in help message
2020-01-08 17:18:54 +01:00
136678ec21
Remove unused function dgst_from_string
2020-01-07 16:32:52 +01:00
lethliel
88abf11bd3
release 0.167.2
2020-01-07 11:29:52 +01:00
Marco Strigl
f0583c22c0
Merge pull request #713 from M0ses/fix_importsrcpkg
...
fix broken importsrcpkg for python3
2019-12-28 21:05:10 +01:00
Marcus Huewe
e5d9866634
Merge branch 'fix_wipe_buildroot_regression' of https://github.com/lethliel/osc
...
Fix various "osc chroot" regressions.
2019-12-20 21:10:35 +01:00
lethliel
76793cc0ac
fix regression in osc chroot
...
This fixes some regressions with osc chroot:
- osc chroot --wipe --root=/dir/ can now be called outside
a working copy
- osc chroot --noinit --root=/dir/ can now be called outside
a working copy and behaves like the old code (Just entering
the chroot without any modifications)
- The confirmation of the deletion is implemented again and thus
the --force option was implemented too.
2019-12-20 20:43:01 +01:00
Frank Schreiner
ae0b55de3b
fix broken importsrcpkg for python3
...
without this patch, `importsrcpkg` breaks with the following output:
```
File "/usr/lib/python3.7/site-packages/osc/commandline.py", line 7868, in do_importsrcpkg
createPackageDir(os.path.join(project.dir, pac), project)
File "/usr/lib64/python3.7/posixpath.py", line 94, in join
genericpath._check_arg_types('join', a, *p)
File "/usr/lib64/python3.7/genericpath.py", line 151, in _check_arg_types
raise TypeError("Can't mix strings and bytes in path components") from None
TypeError: Can't mix strings and bytes in path components
```
Fixes #712
2019-12-20 08:36:08 +01:00
lethliel
32ec356bad
release 0.167.1
2019-12-10 13:39:55 +01:00
Marco Strigl
40abc51657
Merge pull request #698 from adrianschroeter/fix_api
...
fix Fetch api to become compatible again.
2019-12-10 11:43:59 +01:00
Marco Strigl
a5014eaa92
Merge pull request #704 from lethliel/remove_decoding_of_hdr_filename
...
remove decoding of hdr.filename
2019-12-10 11:38:16 +01:00
lethliel
67358c9746
remove decoding of hdr.filename
...
It is wrong in this case.
2019-12-10 11:24:17 +01:00
ef4e0411e9
fix Fetch api to become compatible again.
...
Broke in db795c8121
as reported by Marcus
2019-12-10 07:54:01 +01:00
Marcus Huewe
e8bf1e2fca
Merge branch 'fix_local_build_outside_wc_dir' of https://github.com/lethliel/osc
...
Only call store_write_last_buildroot, if os.curdir is a package wc.
(Actually, the guard around store_read_last_buildroot is not needed
at the moment.)
2019-12-09 14:22:31 +01:00
lethliel
ade9baba52
fix lastbuildroot on builds not in WC
...
fix the lastbuildroot handling if the package is being build oustide of
a package directory and thus no .osc/ dir can be found.
We then just skip the store_write_last_buildroot and store_read_last_buildroot
calls.
2019-12-09 14:07:48 +01:00
Marcus Huewe
7621e79ddf
Merge branch 'linux-platform-detection' of https://github.com/tomaskrizek/osc
...
Use the distro module (if available) for guessing the linux distribution.
In case of python < 3.8, use the platform.linux_distribution() fallback if
no distro module is available.
Rationale: platform.linux_distribution() was dropped in python3.8
2019-12-05 21:25:03 +01:00
Marco Strigl
7391b70d14
Merge pull request #697 from adrianschroeter/module_support
...
support local building using RedHat rpm-md modules
2019-12-05 13:11:12 +01:00
Marco Strigl
26bb6b4765
Merge pull request #696 from lethliel/fix_fetch_cpio_decoding
...
fix decoding in fetch_cpio
2019-12-05 13:06:32 +01:00
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