1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-15 00:36:11 +01:00
Commit Graph

4751 Commits

Author SHA1 Message Date
95998ef80d Make 'meta' command capable of editing attributes 2023-07-31 14:48:43 +02:00
001bbdf365
Merge pull request #1358 from dmach/setopt
Add '--setopt' option for setting config options from the command-line
2023-07-31 13:27:47 +02:00
8f58795f4d
Merge pull request #1352 from dmach/git-support-in-service-command
Update 'service' command to work with git SCM ('factory' branch only for now)
2023-07-31 09:39:38 +02:00
26b7c0a9e7
Merge pull request #1370 from ncounter/osc-rq-force-doc
Enhance '--force' parameter description
2023-07-31 08:56:35 +02:00
0749ee5684 Add support of Git SCM to the 'service' command 2023-07-31 08:43:05 +02:00
8aedb1c28f Change pop_project_package_from_args() to use get_store() to support Git SCM 2023-07-31 08:43:05 +02:00
aae20248d7
Merge pull request #1344 from dmach/build-from-git
Support building directly from git
2023-07-31 08:41:46 +02:00
ncounter
1090bfd9bb
Enhance '--force' parameter description
https://github.com/openSUSE/open-build-service/issues/3687

The code is fixed: '--force' does ignore devel-package
dependencies now. Documenting it to make it clear while using it.
2023-07-28 17:09:45 +02:00
5a2ebda567 Raise a RuntimeError when GitStore.project couldn't determine project from the current branch 2023-07-28 14:42:52 +02:00
7943b55a6e Add limited support of Git SCM to the 'build' command 2023-07-28 14:42:52 +02:00
4138a40e02 Use alternative project if specified in parse_repoarchdescr() 2023-07-28 14:42:52 +02:00
f60db24e15 Add 'git_scm' module for handling packages that live in git scm rather than usual obs scm 2023-07-28 14:41:59 +02:00
71dc7a6808
Merge pull request #1367 from dmach/request-list-i-build-log
Add an interactive option to display build log in 'request list -i' command
2023-07-27 15:09:09 +02:00
87d1c489f2
Merge pull request #1369 from dmach/build-store-object
Change osc.build module to use 'store' object instead of calling core.store_*() functions
2023-07-27 13:34:30 +02:00
401bdc9787
Merge pull request #1372 from dmach/improve-print_msg
Improve print_msg() and migrate some arbitrary prints to it
2023-07-27 10:52:11 +02:00
99fb94eddf Improve print_msg() and migrate some arbitrary prints to it 2023-07-27 10:16:08 +02:00
a9af18dded Change osc.build module to use 'store' object instead of calling core.store_*() functions
Also drop the "This may be a project managed entirely via git?" section
because it was never triggered due to a bug:

>>> project = store_read_project(Path.cwd())

should have been

>>> project = store_read_project(Path.cwd().parent)

Let's bring it back when a proper git scm support is in place.
2023-07-25 16:21:13 +02:00
c56d9fcca6 Add an interactive option to display build log in 'request list -i' command
Also show rpmlint logs in pager.
2023-07-20 13:02:00 +02:00
1284867dbb
Merge pull request #1359 from dmach/checkout-dont-print-open-requests
Change 'checkout' command to print open requests only when running in an interactive terminal
2023-07-20 10:49:12 +02:00
b8f6f070a0
Merge pull request #1366 from dmach/connection-proxy-no-auth
Fix crash when HTTP_PROXY env contains no auth
2023-07-20 10:33:04 +02:00
eaad34fefd Fix crash when HTTP_PROXY env contains no auth 2023-07-20 09:07:43 +02:00
f4a4728068 Use XDG locations in completion 2023-07-19 09:05:54 +02:00
6f58d4f925
Merge pull request #1362 from dmach/meta-attribute-add-deduplicate
Change '--add' option in 'meta attribute' command to skip duplicate values
2023-07-18 21:38:16 +02:00
2d9277215d
Merge pull request #1361 from dmach/fix-xml-indent-py36
Fix xml indent() on Python 3.6
2023-07-18 21:36:47 +02:00
ac23ed0fca Change '--add' option in 'meta attribute' command to skip duplicate values 2023-07-18 15:37:43 +02:00
658f2acb4f Fix xml indent() on Python 3.6 2023-07-18 14:25:43 +02:00
9ec1b24c2e Add '--setopt' option for setting config options from the command-line 2023-07-17 09:15:28 +02:00
3e08681167 Change 'checkout' command to print open requests only when running in an interactive terminal 2023-07-17 09:03:12 +02:00
c22aceb28d release 1.2.0 2023-07-14 11:08:24 +02:00
ba2488a702
Merge pull request #1324 from dmach/repo-commands-for-managing-repositories-in-meta
Add 'repo' command and subcommands for managing repositories in project meta
2023-07-14 10:57:40 +02:00
a2e6a3b0be
Merge pull request #1353 from asdil12/diff
Add highlighting for "osc diff" and similar commands
2023-07-14 10:55:45 +02:00
80c8976d5d
Merge pull request #1356 from isbm/isbm-debbuild-fix
Do not determine queried package by the source package origin
2023-07-14 10:04:16 +02:00
Dominik Heidler
42d778be04 Add highlighting for "osc diff" and similar commands 2023-07-14 10:00:15 +02:00
404b54a980
Merge pull request #1354 from dmach/fix-lbl
Fix a crash in 'localbuildlog' command by removing unwanted decode_it() call
2023-07-13 14:16:29 +02:00
Bo Maryniuk
3559336247 Detect target package by its full name, instead of assuming its origin is identical to the source package type 2023-07-13 13:46:01 +02:00
45d70f8320 Fix a crash in 'localbuildlog' command by removing unwanted decode_it() call 2023-07-13 13:25:03 +02:00
a461e16dec
Merge pull request #1351 from adrianschroeter/service_scmsync
Fix local service execution of scmsync packages
2023-07-10 12:11:33 +02:00
51052dafe0 The repo list command now resolves and displays flags (build, publish, ...) 2023-07-07 13:15:34 +02:00
e1e8128af9 Modify 'repo list' command to use the new output module 2023-07-07 13:15:34 +02:00
445c93300b
Fix local service execution of scmsync packages
read _service file even when it is not tracked. This is the case
in scmsync case.

I am not aware of a situation where it would break, when the
local _service file exists but is not tracked yet.

osc#1350
2023-07-04 15:54:30 +02:00
17dbe25a71 behave: Fix building the OBS container
bin/rails db:setup writeconfiguration data:schema:load
failed because the 'data:schema:load' step is now included in 'db:setup'
2023-06-19 11:49:35 +02:00
10dcf966cb behave: Switch the container image to leap:15.5 2023-06-19 09:32:56 +02:00
8f6bafde0a behave: Propagate exit codes in the shell scripts properly 2023-06-19 09:27:24 +02:00
ab967a921c Revert "GHA: Fix podman push error 'obs-server:latest: image not known'"
This reverts commit 722bd5003a.
2023-06-19 09:26:19 +02:00
722bd5003a GHA: Fix podman push error 'obs-server:latest: image not known' 2023-06-19 09:05:11 +02:00
afcf76aa44
Merge pull request #1340 from adrianschroeter/fix_crash_no_link
Fix crash when submiting a package which has no _link
2023-06-19 08:50:10 +02:00
28824ba7bd
Merge pull request #1347 from dmach/fix-printing-partial-utf8-characters
Fix printing utf-8 characters to stdout
2023-06-16 09:45:34 +02:00
c3954ff4fd Fix printing utf-8 characters to stdout
When utf-8 encoded text is transferred over network and read in chunks,
if frequently happens that a character gets split between 2 chunks.
Decoding such chunks fails on invalid multibyte sequence.

The solution is to forward the bytes to stdout's buffer
and make the utf-8 decoding "someone else's problem".
2023-06-16 09:03:49 +02:00
ff66c1e4f7 Fix crash when submiting a SCM package which has no _link 2023-06-14 12:30:27 +02:00
03016a6f7b
Merge pull request #1335 from dmach/unicode-passwords
Correctly handle passwords with utf-8 characters
2023-06-12 09:24:29 +02:00