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

4538 Commits

Author SHA1 Message Date
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
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
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
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
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
03c44e3ecd
Merge pull request #1342 from dmach/fix-api-oom
Fix 'api' command to stream output to avoid running out of memory
2023-06-12 09:22:29 +02:00
7aa68d0c8a Fix 'api' command to stream output to avoid running out of memory 2023-06-06 13:40:41 +02:00
c8fad57151 Add 'output' module for handling console output 2023-06-02 15:58:31 +02:00
41df798205 Add 'repo' command and subcommands for managing repositories in project meta 2023-06-02 15:58:31 +02:00
56f7cbafa1
Merge pull request #1337 from eliroca/eroca/add-osc-browse-reqid
Open requests in browser via osc browse
2023-06-02 14:04:58 +02:00
Elisei Roca
2726b5a46d Open requests in browser via osc browse 2023-06-02 10:26:24 +02:00
0dacf21dcb
Merge pull request #1336 from eliroca/eroca/opensuse-spelling
openSUSE is the only correct way to spell openSUSE
2023-06-02 09:45:27 +02:00
Elisei Roca
7fce95e2bd spell openSUSE correctly
openSUSE is the only way to spell openSUSE, according to https://en.opensuse.org/Help:Style#openSUSE_spelling
2023-06-01 20:48:02 +02:00
d9676debb9 Correctly handle passwords with utf-8 characters 2023-06-01 14:00:03 +02:00
ac21d2b5ac
Merge pull request #1338 from dmach/gha-explicit-registries
GHA: Use explicit registries
2023-06-01 13:59:43 +02:00
e17a4a3108 GHA: Add 'leap:15.5' container to the test matrix 2023-06-01 13:38:40 +02:00
4264a63ce4 GHA: Use explicit registries 2023-06-01 13:37:27 +02:00
baff384678
Merge pull request #1332 from dmach/fix-urllib3-verify_mode-CERT_NONE
Fix ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled
2023-05-31 10:09:01 +02:00