2d60c589d8
Fix 'osc aggregatepac' for scmsync packages
2026-01-23 20:48:57 +01:00
039020cbd8
Merge pull request #2026 from adrianschroeter/copypac_from_scmsync
...
Support copypac from scmsync sources
2026-01-14 16:09:25 +01:00
ade04260a7
Support copying from an scmsync source, when target exists.
...
Future functionality may to offer to re-instantiate the scmsync url
there instead of copying sources.
2026-01-14 11:26:42 +01:00
fed15a6cf1
Update new project template
2026-01-05 09:52:02 +01:00
2efd8ddd22
Fix 'missingok' argument in server_diff()
2025-12-10 08:54:02 +01:00
d75ec45b6a
Use server_diff() instead of server_diff_noex() to exit with a non-zero return code
2025-10-27 08:18:27 +01:00
Andrii Nikitin
0c3d05643f
Treat None flavor as "" in multibuild resolve
2025-09-25 09:41:51 +02:00
17d1113ab3
Update 'osc rq show' command to include history comments in verbose mode
2025-09-17 16:45:19 +02:00
a1db424241
Throw a proper exception when 'apiurl' argument of 'makeurl()' is empty
2025-07-31 11:09:07 +02:00
cd6bf3e206
Remove extra newline from store files
...
store_write_string already appends a newline, don't do it twice.
2025-07-25 17:00:42 +02:00
afdfdd72c9
Replace hard-coded URL for devel packages mapping with a value from OBS:GitDevelProjectMap attribute
2025-07-18 13:55:50 +02:00
b9f5932fc2
Fix 'osc buildinfo' for git packages by handing the 'build_repositories' files by store objects
2025-07-15 12:03:36 +02:00
d84a45bc1f
Merge pull request #1852 from kenion/master
...
Fix 'osc-develproject' for opensuse:Factory packages in gitea
2025-07-11 20:46:37 +02:00
41c87b9fca
behave: Rewrite Gitea port to the actual port we use during testing
2025-07-07 08:28:11 +02:00
a416953f6d
Merge pull request #1843 from Vogtinator/scmbridgefail
...
Raise an exception if obs-scm-bridge fails
2025-07-07 08:28:01 +02:00
86963efea5
Switch http requests to use http_request()
2025-06-27 13:15:58 +02:00
6d4d23a134
Include requests library in osc.spec file for rpmbuild test. Fix openSUSE string case and code style fix in core.py.
2025-06-27 11:22:15 +02:00
906c9d8b70
Fix 'osc-develproject' behavior for opensuse:Factory packages hosted in gitea
2025-06-26 11:32:34 +02:00
10f3ba264d
Merge pull request #1830 from dmach/updatepacmetafromspec-queryrecipe
...
Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling queryrecipe to query the data
2025-06-24 13:13:32 +02:00
c4c95ea5d8
Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling queryrecipe to query the data (bsc#1243722)
2025-06-23 20:48:14 +02:00
5fe5993436
get_package_results: check for waiting states in all multibuild packages
2025-06-23 16:48:47 +02:00
Fabian Vogt
f542b724f1
Raise an exception if obs-scm-bridge fails
...
Otherwise the checkout is incomplete
2025-06-23 16:09:04 +02:00
125078d687
Revert "Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling rpmspec to query the data"
...
This reverts commit 7bbc147605 .
2025-06-12 14:22:41 +02:00
2ab01d8e9a
chore: run no_implicit_optional on the code base to make it PEP 484 compliant.
...
References: https://github.com/hauntsaninja/no_implicit_optional
2025-05-06 23:12:37 +02:00
743169e49c
fix(sr): don't limit SRs to be superseded by other characters
...
I understand that the current output is better from the point of
view of typography, but it is inconvenient when I need to use the
number of the SR to-be-superseded for clipboard.
2025-04-29 07:50:24 +02:00
Dominik Heidler
bc34e8446f
Don't flag empty diff lines
2025-03-20 12:02:23 +01:00
9fe5e09427
Fix MultibuildFlavorResolver to consider an empty flavor during glob match
2025-03-17 20:47:52 +01:00
b1c481a691
Fix MultibuildFlavorResolver to work with <package> _multibuild elements
2025-03-17 20:47:05 +01:00
Dominik Heidler
85d6d9dc0b
Don't highlight trailing whitespaces as error in otherwise empty lines
...
In obs we are often managing diffs of patches.
In patches trailing whitespaces are normal.
So ignore any `[+-]+\s` line.
2025-03-17 13:55:36 +01:00
8099e18b7c
Merge pull request #1729 from adrianschroeter/scmsync_template
...
Add scmsync element to meta template
2025-03-17 08:44:26 +01:00
Dominik Heidler
a83f27e17f
Don't highlight empty lines as trailing whitespace lines
...
Fixes 897e2224
2025-03-14 11:43:12 +01:00
5e6e79731a
Add scmsync element to meta template
2025-03-10 13:38:11 +01:00
7a31684672
Change show_project_sourceinfo() to split a huge request into many and join the results to workaround GET limitations
2025-03-03 08:47:40 +01:00
7cc01d1e28
Merge pull request #1712 from dmach/git-obs-pr-review
...
Implement 'git-obs pr review' command
2025-03-03 08:29:39 +01:00
dcdf4cb3d9
Fix or silence remaining pylint errors
...
Fix these by adding a default empty assignment:
osc/commandline.py:3382:62: E0606: Possibly using variable 'filter_pattern' before assignment (possibly-used-before-assignment)
osc/commandline.py:6692:18: E0606: Possibly using variable 'msg' before assignment (possibly-used-before-assignment)
osc/core.py:2051:23: E0606: Possibly using variable 'file_changed' before assignment (possibly-used-before-assignment)
These could probably be fixed by making the code easier to follow. By
silencing them for now and making the CI pass, it is easier to not
regress.
osc/commandline.py:3269:55: E0601: Using variable 'incident' before assignment (used-before-assignment)
osc/commandline.py:3276:55: E0601: Using variable 'priority' before assignment (used-before-assignment)
This is pylint not understanding that the try is for catching this case
and only importing when available:
osc/conf.py:77:4: E0401: Unable to import 'keyring' (import-error)
2025-02-27 14:32:09 +01:00
10fcb102b6
Merge pull request #1715 from dmach/fix-scm_url-scmsync_obsinfo-subdir
...
Fix getting scm_url from scmsync_obsinfo that has subdir set
2025-02-24 14:29:27 +01:00
be5101b21a
Fix getting scm_url from scmsync_obsinfo that has subdir set
2025-02-24 09:12:22 +01:00
897e2224e0
Highlight trailing whitespaces in diffs
2025-02-21 14:13:45 +01:00
5f4a4704da
Fix 'osc checkout' command to support deleted packages incl. revisions
2025-02-21 13:29:22 +01:00
0f5a26f73c
Merge pull request #1702 from dmach/fix-scmsync_obsinfo.revision-None
...
Fix assembling scm_url when scmsync_obsinfo.revision is None
2025-02-13 14:49:01 +01:00
8287354d48
Improve core.binary() by always considering data that contains \0 binary
2025-02-12 13:45:55 +01:00
b78432ffd3
Fix assembling scm_url when scmsync_obsinfo.revision is None
2025-02-10 14:15:57 +01:00
3c62dc0651
Fix typo in core.binary() that caused text files being detected as binary
2025-02-10 14:13:06 +01:00
b9b3701be1
Merge pull request #1699 from dmach/rq-list-i-forward-prompt
...
Fix 'request list --interactive' command that wasn't showing request forward prompt when message was part of the state change
2025-02-03 16:35:24 +01:00
56ac6198a6
Merge pull request #1698 from dmach/noobsinfo
...
Avoid fetching _scmsync.obsinfo when scmsync url contains 'noobsinfo' query parameter
2025-02-03 16:35:01 +01:00
3166faf8f5
Fix 'request list --interactive' command that wasn't showing request forward prompt when message was part of the state change
2025-02-03 16:15:24 +01:00
7abc7bf699
Avoid fetching _scmsync.obsinfo when scmsync url contains 'noobsinfo' query parameter
2025-02-03 14:34:19 +01:00
a8106f3f66
Fix detecting binary files
2025-02-03 09:12:19 +01:00
31c3ed2d9e
Fix diff highligting
2025-01-16 12:53:22 +01:00
bb51a825f8
Fix 'linkpac' command for projects with a project link
2025-01-10 12:58:01 +01:00