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
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
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
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
3f2f5f5ab1
Fix running osc in an AppImage by switching to the correct working directory
2023-05-23 15:30:32 +02:00
7744e32ba4
Merge pull request #1328 from andreas-schwab/master
...
Handle ProtocolError exception
2023-05-19 22:16:36 +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
7c085b18d5
Merge pull request #1323 from Vogtinator/req_state
...
Add req_states parameter to osc.core.get_review_list
2023-05-19 22:04:06 +02:00
Andreas Schwab
623148a04a
Handle ProtocolError exception
2023-05-19 21:43:21 +02:00
309f10633d
Fix grabber to work with old urllib3 versions that do not contain URLSchemeUnknown exception
2023-05-15 22:38:21 +02:00
Fabian Vogt
70135090cc
Add req_states parameter to osc.core.get_review_list
...
Keep the original behaviour by default, but allow other callers to also
request reviews on e.g. declined SRs.
2023-05-12 11:02:51 +02:00
d089e878ca
release 1.1.3
2023-05-10 09:11:35 +02:00
1ad022a616
Fix 'diff' command when no files are specified
2023-05-09 21:45:20 +02:00
dc50e6c981
Merge pull request #1319 from dmach/review-list-state
...
Consider only open requests when listing requests with a given review state
2023-05-09 16:54:28 +02:00
00decd25d1
Consider only open requests when listing requests with a given review state
2023-05-09 16:12:21 +02:00
c8f2ae1ae6
Fix core.xmlindent() to work with ElementTree objects
2023-05-09 08:42:53 +02:00
b789cdfed6
Backup edited messages and notify user about them when osc errors out
...
The messages are kept in ~/.cache/osc/edited-messages for 1 day.
2023-05-04 11:00:07 +02:00
3f9b9a2fb8
Merge pull request #1313 from dmach/trusted_prj-globs
...
Add glob support to the 'trusted_prj' config option
2023-05-04 10:02:49 +02:00
32a3078d67
release 1.1.2
2023-05-03 10:11:24 +02:00
2502f7a57f
Add glob support to the 'trusted_prj' config option
2023-05-02 09:56:27 +02:00