1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-08 22:18:43 +02:00

110 Commits

Author SHA1 Message Date
c6ce253e77 osc.spec: add "Provides: git-obs"
Other git plugins, such as LFS, are shipped as "git-foo" packages.
A reasonable user might expect to be able to install the git obs
plugin by installing a "git-obs" package, but this does not work
currently.

With this patch, a user attempting to install "git-obs" will get
the git obs plugin via osc.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2025-08-16 07:42:12 +02:00
607053dedd release 1.19.1 2025-08-06 07:02:14 +02:00
2529014c78 release 1.19.0 2025-07-28 10:21:57 +02:00
ef696c407a spec: Use primary_python to define runtime requires matching the shebang lines
Ported from https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=468
2025-07-28 09:54:02 +02:00
7678e55bf7 spec: Provide %{use_python_pkg}-osc for all pythons and python3-osc for primary_python
Ported from:
- https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=470
- https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=471
2025-07-28 09:42:37 +02:00
e62262e60d spec: Add conflict with obs-scm-bridge < 0.7.3
Ported from https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=486
2025-07-28 09:36:14 +02:00
c5d482c614 release 1.18.0 2025-07-22 15:35:58 +02:00
Christoffer Aasted
648267e37e Add --no-pager global option` 2025-07-15 14:16:47 +02:00
61994e877e Merge pull request #1632 from openSUSE-Python/bash_prompt
osc prompt for Bash.
2025-07-15 13:43:16 +02:00
5b0a760a5a release 1.17.0 2025-06-24 13:30: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
dfdad97ea1 Fix completion causing exiting shell in some cases
Calling 'exit 0' turned to be quite aggresive and caused exiting shell in some cases
2025-06-24 08:34:16 +02:00
81cc0c9ee6 Modify spec to use PyYAML on SLE15 2025-06-19 11:37:10 +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
1b24e1f654 Fix loading shell completions for 'git-obs'
Don't load the completions when /usr/bin/register-python-argcomplete is not available
2025-06-05 13:43:59 +02:00
92867a5145 release 1.16.0 2025-05-20 11:44:46 +02:00
28c45713e3 osc prompt for Bash.
Equivalent of `__git_ps1` for git.

Suggested use:

    # Prompt for osc
    [[ -f /usr/share/bash-completion/completions/osc-prompt.sh ]] && \
        source /usr/share/bash-completion/completions/osc-prompt.sh

    export PS1='\h:\W$(__osc_prompt) \$ '

Fixes: https://github.com/openSUSE/osc/issues/1379
2025-05-06 23:13:15 +02:00
a73622109a release 1.15.1 2025-04-04 14:17:33 +02:00
8b123b1ce4 release 1.15.0 2025-04-04 10:05:36 +02:00
5c50d475ba Rename get_parser() functions to argparse_manpage_get_parser() to clarify their purpose 2025-04-03 20:55:57 +02:00
e9b65037ef spec: Build git-obs man page 2025-04-03 17:47:07 +02:00
4fd57426bf Recommend obs-scm-bridge 2025-03-25 17:30:32 +01:00
57ada1aa58 release 1.14.0 2025-03-20 20:57:46 +01:00
65ee36eba3 Enable shell completions for git-obs 2025-03-19 20:07:52 +01:00
636c906ecd release 1.13.0 2025-03-03 09:16:54 +01:00
c984b7f098 Add git-obs Quickstart documentation and man page 2025-02-25 16:39:18 +01:00
718bc8c0db release 1.12.1 2025-02-13 14:56:37 +01:00
Michael Schroeder
9b7fb4c2be Tell the build script to disable repos/containers handling for normal builds
This disables following symlinks in the source copy. The options used
are only supported in version 20250206 and above, so add a conflicts
with older versions to the spec file as well.
2025-02-13 13:31:42 +01:00
0b4f39448d release 1.12.0 2025-02-03 16:39:32 +01:00
5d39e3c060 release 1.11.1 2025-01-10 13:26:19 +01:00
429d1c737d release 1.11.0 2025-01-07 13:44:24 +01:00
13a436c576 spec: Add conflict with older versions of obs-service-source_validator to ensure that version compatible with .osc store 2.0 is installed 2024-11-25 08:16:52 +01:00
31f65dd37e release 1.10.1 2024-11-08 13:50:47 +01:00
291eb305f7 spec: Fix rpmlint error about creating the /usr/libexec/git/obs symlink 2024-11-08 13:46:58 +01:00
8d118209a4 spec: Add missing python3-ruamel.yaml BuildRequires 2024-11-08 13:45:41 +01:00
611a6f5b2c release 1.10.0 2024-11-08 09:18:02 +01:00
1d87e29c78 Merge pull request #1599 from dmach/gitea_api
Add 'gitea_api' module and 'git-obs' executable
2024-10-11 16:23:13 +02:00
0b2f0dac73 spec: Install symlink /usr/bin/git-obs to /usr/libexec/git/obs to make git-obs available as a git sub-command 2024-10-11 13:13:26 +02:00
699f4d860e Add 'gitea_api' module
Co-authored-by: Dan Čermák <dcermak@suse.com>
2024-09-24 14:01:43 +02:00
f567060044 release 1.9.2 2024-09-23 20:37:43 +02:00
9b63f1eb6e spec: Recommend python3-zstandard to support opening control.tar.zst 2024-09-05 10:29:48 +02:00
1647395d7f release 1.9.1 2024-08-27 13:52:02 +02:00
e19f1bb5d9 Replace 'setup.py test' that was removed in setuptools 72 with 'python3 -m unittest' 2024-08-27 11:01:30 +02:00
780d70d4b5 release 1.9.0 2024-07-29 13:24:13 +02:00
21c9828cd1 release 1.8.3 2024-07-08 09:11:02 +02:00
fe3777414e release 1.8.2 2024-07-02 13:54:34 +02:00
865913a65d release 1.8.1 2024-07-01 10:11:40 +02:00
8f634225c9 release 1.8.0 2024-06-28 14:07:27 +02:00
dfff8371f8 release 1.7.0 2024-05-22 14:13:35 +02:00
257a840064 Remove dependency on /usr/bin/python3 using %python3_fix_shebang macro (bsc#1212476)
Upstreams the following OBS request:
https://build.opensuse.org/request/show/1160115/changes
2024-05-21 16:25:03 +02:00