62e4817ff5
release 1.4.0
2023-10-04 11:49:04 +02:00
a16654663b
Merge pull request #1415 from dmach/rootless-kvm-and-podman
...
Rootless kvm and podman
2023-10-04 09:12:18 +02:00
bd14f7e000
Merge pull request #1416 from adrianschroeter/keep_packages_locked
...
add support for keep_packages_locked on request revoke
2023-10-04 08:49:11 +02:00
11c2140ad8
Merge pull request #1420 from dmach/fix-loading-password-from-keyring
...
Fix loading password from keyring
2023-10-04 08:48:48 +02:00
ce72ffb225
Fix loading password from keyring
2023-10-03 09:12:28 +02:00
a6946587e1
Fix reading configuration from ENV
2023-09-29 09:54:50 +02:00
a33d4c2d41
Print a hint to clean the build root after a failed build
2023-09-29 09:53:59 +02:00
f6cb228242
Document that 'request revoke' command may need '--keep-packages-locked' option to avoid unlocking source packages
2023-09-29 08:33:55 +02:00
0848aba7b9
add support for keep_packages_locked on request revoke
...
jsc#OBS-134
2023-09-28 14:50:20 +02:00
41ce932673
Fix 'build' command to pass '--vm-type' option to the underlying build tool
2023-09-27 23:24:31 +02:00
47f32e6ef1
Update list of supported vm_type values in conf.Options.vm_type
2023-09-27 23:24:31 +02:00
28efb4396a
Rename conf.Options.build_type to vm_type to be consistent with obs build and osc --vm-type option
2023-09-27 23:24:31 +02:00
88c2bf4fea
Avoid adding a newline to prompt in 'wipe' command
2023-09-27 23:24:31 +02:00
8eb360234e
Add rootless build support to 'build' command for 'kvm' and 'podman' vm types
...
To avoid filesystem permission collisions with the builds using su_wrapper,
use an alternative buildroot path that appends username to '/var/tmp/build-root' for the rootless builds.
2023-09-27 23:24:31 +02:00
2f1cb0edb1
Remove any duplicated code loading configuration from ENV
...
The current conf.get_config() function already handles loading from ENV.
Also, always use osc.build.calculate_build_root() instead of making a custom variable substitution.
2023-09-27 23:24:31 +02:00
91a30963d5
Merge pull request #1414 from dmach/fix-store-last_buildroot-vm_type-None-fixup
...
Fix a crash in 'Fix handling empty vm_type in Store.last_buildroot' when last_buildroot is empty
2023-09-25 22:02:27 +02:00
ee725ff51b
Fix a crash in 'Fix handling empty vm_type in Store.last_buildroot' when last_buildroot is empty
2023-09-25 14:41:17 +02:00
641b365f38
Merge pull request #1412 from dmach/fix-store-last_buildroot-vm_type-None
...
Fix handling empty vm_type in Store.last_buildroot
2023-09-25 10:59:28 +02:00
93cfb76a46
Fix handling empty vm_type in Store.last_buildroot
2023-09-25 10:16:00 +02:00
4b5534b070
Load empty optional configuration values as 'None'
2023-09-25 10:15:52 +02:00
d1dcf6e63f
Merge pull request #1411 from andreas-schwab/master
...
service: do not reject documented 'r' abbreviation for 'run'
2023-09-25 09:28:01 +02:00
f788db0d97
service: do not reject documented 'r' abbreviation for 'run'
2023-09-19 16:57:36 +02:00
d0c80e71a9
Merge pull request #1409 from dmach/rq-show-supersede
...
Fix 'request show' command to print superseded_by information
2023-09-14 14:59:15 +02:00
9361d78012
Fix 'request show' command to print superseded_by information
2023-09-14 14:40:49 +02:00
14ce3b9c54
Merge pull request #1315 from dmach/commit-no-service
...
Unify how the 'commit' and 'build' commands work with '--noservice' option
2023-09-14 10:27:48 +02:00
1d47dfc89d
Unify how the 'commit' and 'build' commands work with '--noservice' option
...
Both commands now take the following options: '--skip-local-service-run', '--noservice', '--no-service'
Both commands now honor the 'local_service_run' config option if none of the options above is specified
2023-09-14 09:49:19 +02:00
a671b68339
Merge pull request #1357 from Thaodan/zsh_completition
...
Add zsh completition made by Holger Macht and improve
2023-09-14 09:46:27 +02:00
b8de8c89db
Merge pull request #1364 from dmach/completion-use-xdg-locations
...
Use XDG locations in completion
2023-09-14 09:44:14 +02:00
ba075d0012
spec: Install zsh completion
2023-09-14 09:38:42 +02:00
0894724219
Merge pull request #1407 from dmach/wrap-password-into-Password-object
...
Fix validating configuration by wrapping password into Password object
2023-09-14 08:41:38 +02:00
389227805b
Merge pull request #1404 from openSUSE/lrupp-authors-patch-1
...
Update AUTHORS: change my last name
2023-09-13 14:29:48 +02:00
0417ddf952
Merge pull request #1405 from adrianschroeter/fix
...
fix crash when settings like realname are not set.
2023-09-13 14:27:00 +02:00
1a42b7a2c9
Fix validating configuration by wrapping password into Password object
2023-09-13 14:25:47 +02:00
2e8fa9ef12
fix crash when settings like realname are not set.
...
Otherwise:
File "/usr/lib/python3.11/site-packages/osc/core.py", line 451, in execute
result = self._execute(dir, old_dir, callmode, singleservice, verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/core.py", line 493, in _execute
vc_export_env(self.apiurl)
File "/usr/lib/python3.11/site-packages/osc/core.py", line 8917, in vc_export_env
os.environ[env] = val
~~~~~~~~~~^^^^^
File "<frozen os>", line 684, in __setitem__
File "<frozen os>", line 758, in encode
TypeError: str expected, not NoneType
2023-09-13 08:36:30 +02:00
Lars Vogdt
d911280ddd
Update AUTHORS: change my last name
...
I switched my last name - following up just here.
2023-09-12 09:15:28 +02:00
a5f56b1673
Merge pull request #1387 from dmach/config-type-checking
...
Switch 'osc.conf.config' from dict to Options class with type checking
2023-09-11 21:45:02 +02:00
c5e4f04ffa
RTD: Bump ubuntu to 22.04 and python to 3.11
2023-09-11 21:14:47 +02:00
848f5fe48f
Switch 'osc.conf.config' from dict to Options class with type checking
2023-09-11 21:14:45 +02:00
930b7a8a4e
Add 'osc.util.models' module implementing an alternative pydantic-like data validation
2023-09-11 21:11:05 +02:00
54d1884e1d
Add 'osc.util.xdg' module for handling XDG paths
2023-09-11 21:11:05 +02:00
Tammo Oepkes
b9014ccd56
Fix api_host_options for custom CAs ( #1403 )
2023-09-11 21:06:34 +02:00
b870782a51
Merge pull request #1401 from dmach/build-just-print-buildroot
...
Add '--just-print-buildroot' option to print build root path and exit to 'build' command
2023-09-11 09:19:24 +02:00
0a47cb3295
Merge pull request #1402 from andreas-schwab/master
...
search: resolve -B . to current project
2023-09-11 09:19:02 +02:00
Björn Bidar
a1396e62be
Add zsh completion for build command
...
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
513fd3664f
Fetch repository architectures in zsh completition
...
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
18bdf2e9b4
Complete help text for options that have separate handlers
...
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
2ec50ad939
Refactor help text generation in zsh completition so it can be reused
...
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
3082605144
Match more command aliases in the zsh completion
...
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
cb47bed4c3
Fetch project repositories list for zsh completion
...
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
09bfa0a9b5
Parse pwd's apiurl in zsh completion
...
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00