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

3811 Commits

Author SHA1 Message Date
b36c2101ba
Merge pull request #1360 from dmach/edit-attribute
Make 'meta' command capable of editing attributes
2023-08-07 10:28:56 +02:00
e3149fb478
Merge pull request #1375 from Vogtinator/kiwiprefer
Fix --prefer-pkgs for noinstall="1" packages in kiwi builds
2023-08-07 10:27:08 +02:00
Fabian Vogt
4d432b6535 Fix --prefer-pkgs for noinstall="1" packages in kiwi builds
For kiwi to find those packages, they have to be in one of the listed repos.
Create a "_local" repo with all prefer-pkgs in buildinfo.

Note: The code currently doesn't look at noinstall at all, so any package
in the buildinfo which is provided by --prefer-pkgs is treated as noinstall="1"
and noinstall="0" simultaneously currently...
2023-08-01 15:33:59 +02:00
56747274d3 Fix less pager by adding '-R' to LESS env 2023-08-01 13:51:33 +02:00
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
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
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
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
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
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
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
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
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
Elisei Roca
2726b5a46d Open requests in browser via osc browse 2023-06-02 10:26:24 +02:00
d9676debb9 Correctly handle passwords with utf-8 characters 2023-06-01 14:00:03 +02:00
14fba8bcb7 Fix ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled 2023-05-30 16:29:25 +02:00
56de8ceebb release 1.1.4 2023-05-24 08:59:45 +02:00
45ad7349ee
Merge pull request #1329 from dmach/req_states-review-list
Change 'review list' command to display open requests (state: new, review, declined)
2023-05-23 16:01:18 +02:00