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

1799 Commits

Author SHA1 Message Date
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
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
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
ac23ed0fca Change '--add' option in 'meta attribute' command to skip duplicate values 2023-07-18 15:37: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
Dominik Heidler
42d778be04 Add highlighting for "osc diff" and similar commands 2023-07-14 10:00:15 +02:00
45d70f8320 Fix a crash in 'localbuildlog' command by removing unwanted decode_it() call 2023-07-13 13:25:03 +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
7aa68d0c8a Fix 'api' command to stream output to avoid running out of memory 2023-06-06 13:40:41 +02:00
Elisei Roca
2726b5a46d Open requests in browser via osc browse 2023-06-02 10:26:24 +02:00
64c0cc6a5a Change 'review list' command to display open requests (state: new, review, declined)
The original behavior was that only requests in the 'review' state
were displayed.
2023-05-19 22:04:50 +02:00
1ad022a616 Fix 'diff' command when no files are specified 2023-05-09 21:45:20 +02:00
49cfd020fd Fix 'diff' command to support diffing selected files only 2023-04-28 14:38:43 +02:00
a08ab2ef18 Identify inherited packages in the 'dependson' command output 2023-04-28 09:30:38 +02:00
9f62fce5a4 Add '--buildtool-opt' option passing options to underlying rpmbuild to the 'build' command 2023-04-26 11:28:01 +02:00
9926791bf0 Fix 'buildhistory' command by setting the type of the '--limit' option to int 2023-04-17 15:35:17 +02:00
53e204f275 Bring the '--debug' option back to the 'buildinfo' command
It was automatically removed by the argument parser when resolving
a conflict between buildinfo's --debug and the global --debug option.
Now we're iterating backwards to give the command's options
a priority over parent/global options.
2023-04-11 17:09:50 +02:00
c2b0898bbe
Merge pull request #1290 from hellcp-work/master
Fix creq command not working
2023-04-11 13:51:33 +02:00
Jacob Michalskie
67f77ae582 Fix creq command not working 2023-04-11 13:43:10 +02:00
1a9d973bce
Merge pull request #1298 from dmach/fix-interactive-config-setup
Fix interactive config setup
2023-04-11 13:41:59 +02:00
43f07f90c4
Merge pull request #1293 from dmach/cli-fix-loading-plugins
commandline: Append plugin dirs to sys.path to allow loading modules installed next to the plugins
2023-04-11 13:41:11 +02:00
0600b6745d ls: Fix listing all projects when project equals to '/' 2023-04-11 12:49:13 +02:00
713856d15a commandline: Handle missing config or credentials 2023-04-11 11:27:34 +02:00
baca98abbb commandline: Do not recurse into subdirs when loading plugins 2023-04-05 15:54:20 +02:00
497f4db18b commandline: Append plugin dirs to sys.path to allow loading modules installed next to the plugins 2023-04-05 15:53:17 +02:00
bc468b7710 commandline: Fix regression in handling default apiurl from oscrc
The default apiurl (https://api.opensuse.org) was always used as default
regardless the settings in oscrc.
2023-04-03 09:12:01 +02:00
26a8fb1acf commandline: New class-based commands
This is based on a prototype we've worked on together
with Laurin Fäller <laurin.faeller@suse.com>.
2023-03-31 09:39:04 +02:00
8ea24b1a3c commandline: No longer read plugins from /var/lib/osc-plugins 2023-03-31 09:39:04 +02:00
97496a4154 Revert "Remove the '-A' option from the 'maintainer' command"
This reverts commit 3763bff901.

The change is no longer needed, because the argument parser resolves
the conflicts now and we can use -A as either --add or --apiurl
depending on if we use it before or after the subcommand name.
2023-03-14 10:14:59 +01:00
85973f20fc commit: Update help text for --force option 2023-03-09 15:27:01 +01:00
5d1141eb96 meta attribute: Add --add option to append values to the existing list 2023-03-06 10:12:59 +01:00
e4723f7f74 Replace arbitrary XML escaping code with xml_escape() 2023-03-06 10:12:59 +01:00
81e5a7b958 rq list: Fix a traceback when --type is not specified 2023-02-09 13:32:28 +01:00
1d96c6eb2a checkout_package: Use pathlib.Path
Modify it to use pathlib.Path along with its callers. Some str(path) was
necessary to avoid having a large changeset.

It addresses #1258 and continues the work started in
bac162a712.
2023-02-08 11:46:16 +01:00
4c7cdaec19 rq list: Fix passing values of the --type option 2023-02-03 09:57:51 +01:00
5810e09aab Revert "Do not list declined requests by default"
This reverts commit 2892f1bb11.
This reverts commit 9073b1a1d2.

The declined requests are still on maintainer's TODO list,
they should be either superseded with another request or revoked.
2023-02-02 14:11:04 +01:00
40a24d3185
Merge pull request #1246 from dmach/fix-rdiff-no-new-project
rdiff: Fix traceback when new project is not specified
2023-02-02 10:53:27 +01:00
cce4301bcd
Merge pull request #1238 from dmach/buildhist-fix-package-checkout
buildhist: Fix running from a package checkout
2023-02-01 10:59:28 +01:00
286db02a40 rdiff: Fix traceback when new project is not specified 2023-02-01 10:49:50 +01:00
Andreas Schwab
c811db7a3e Fix regression in osc rebuild 2023-01-29 12:46:46 +01:00
d24e98b212 buildhist: Fix running from a package checkout 2023-01-26 15:49:21 +01:00
53b9cc3a65 copypac: Do not enforce source revision when revision is not specified on the command line 2023-01-26 11:04:16 +01:00
6bd2c6eaf1 mv: Fix regression
Moved Package.todo handling in one place.
Fixed a situation when path to a file that doesn't exist is passed to Package
2023-01-26 10:11:54 +01:00
64aefffc87 Fix calling _private.get_configuration_value() 2023-01-20 16:13:49 +01:00
Adrian Schröter
f90c8cdcb9 add verbose option for running local services
Showing the call parameters to enable debugging of services
2023-01-12 14:05:20 +01:00
bce0c3ffe4 Fix develproject arg handling 2023-01-12 13:44:32 +01:00
19dcb3dc78 rebuild: Migrate to pop_project_package_repository_arch_from_args() 2023-01-12 11:51:35 +01:00
3ea7d7d908 commandline: Improve argument parsing, add more tests 2023-01-12 11:51:35 +01:00