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

60 Commits

Author SHA1 Message Date
7bbc147605 Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling rpmspec to query the data 2024-04-18 12:09:36 +02:00
2616ca454e release 1.6.1 2024-02-23 09:45:57 +01:00
nephros
dd712bba0e Use busybox compatible commands for completion
- use portable call to date(1)
 - use plain stat(1) for ctime
 - don't use mv -u
2024-02-14 17:20:10 +01:00
5662198d22 1.6.0 2024-01-25 09:49:14 +01:00
447578e1fa spec: Add 0%{?amzn} macro that wasn't usptreamed
https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=431
2024-01-25 09:39:15 +01:00
f4e407682c spec: Recommend openssh-clients for ssh-add that is required during ssh auth 2024-01-09 13:37:27 +01:00
498a392117 release 1.5.1 2023-12-04 15:05:14 +01:00
41cbd5f505 spec: Use %{?rhel} macros
Backport of https://build.opensuse.org/request/show/1123605
2023-11-23 16:12:56 +01:00
a9db22d555 spec: Simplify distro-specific macros 2023-11-23 16:12:56 +01:00
c662d70822 release 1.5.0 2023-11-22 08:55:15 +01:00
cdc2a0d9c3 Recommend build on openSUSE/SLE and obs-build on all other distros 2023-11-20 10:12:21 +01:00
7781367b1e release 1.4.4 2023-11-02 15:50:33 +01:00
752e0b89cc spec: Install bash completion with .bash suffix rather than .sh
Related downstream change: https://build.opensuse.org/request/show/1121166/changes
2023-11-02 15:44:43 +01:00
Jiri Slaby
52ca9f03c0 fix autocompletion for new locations
When complete is installed in /usr/share or /usr/lib64, the last test
command (/usr/lib) fails and causes whole osc automcompletion to fail.

Fix it by adding a 'return' to the former two -- if they succeed.
2023-10-24 11:07:45 +02:00
ea7bebf1f2 release 1.4.3 2023-10-19 15:02:47 +02:00
ee5a1c476c release 1.4.2 2023-10-16 13:54:06 +02:00
225fea0e06 release 1.4.1 2023-10-10 20:06:27 +02:00
0dd89bb3a0 spec: Mark csh completion files as configs 2023-10-10 16:32:50 +02:00
45a29248f1 spec: List the python sitelib paths explicitly 2023-10-10 16:32:50 +02:00
d479601019 spec: Own zsh completion dirs to mute rpmlint errors 2023-10-10 16:32:50 +02:00
7587a6f4fc spec: Move bash completion from /etc to /usr/share 2023-10-10 16:32:50 +02:00
2dc24dd424 spec: Run fdupes after install 2023-10-10 16:32:50 +02:00
62e4817ff5 release 1.4.0 2023-10-04 11:49:04 +02:00
a671b68339
Merge pull request #1357 from Thaodan/zsh_completition
Add zsh completition made by Holger Macht and improve
2023-09-14 09:46:27 +02:00
b8de8c89db
Merge pull request #1364 from dmach/completion-use-xdg-locations
Use XDG locations in completion
2023-09-14 09:44:14 +02:00
ba075d0012 spec: Install zsh completion 2023-09-14 09:38:42 +02:00
848f5fe48f Switch 'osc.conf.config' from dict to Options class with type checking 2023-09-11 21:14:45 +02:00
Björn Bidar
a1396e62be Add zsh completion for build command
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
513fd3664f Fetch repository architectures in zsh completition
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
18bdf2e9b4 Complete help text for options that have separate handlers
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
2ec50ad939 Refactor help text generation in zsh completition so it can be reused
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
3082605144 Match more command aliases in the zsh completion
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
cb47bed4c3 Fetch project repositories list for zsh completion
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
09bfa0a9b5 Parse pwd's apiurl in zsh completion
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
b1d1069474 Fetch project list in zsh completition at runtime
Similar to the bash/tcsh completition fetch the project list at
runtime.
Includes basic completion for alias/api-url as project list
cache is separated per instance.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
dc5eae0a09 Import zsh completition made by Holger Macht
Right now the zsh completition is packaged inside the zsh package on
OpenSUSE.
Several distributions either package it or the user has to import it
themselves.

It is better if it is stored here so any can pick it up in there zsh
package and put fixes in here.

The file was imported from the OpenSUSE zsh package plus a few spelling fixes.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
a77f3d43d2 release 1.3.1 2023-08-28 13:33:45 +02:00
57a4cdc6a4 release 1.3.0 2023-08-09 13:34:16 +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
f4a4728068 Use XDG locations in completion 2023-07-19 09:05:54 +02:00
c22aceb28d release 1.2.0 2023-07-14 11:08:24 +02:00
Elisei Roca
7fce95e2bd spell openSUSE correctly
openSUSE is the only way to spell openSUSE, according to https://en.opensuse.org/Help:Style#openSUSE_spelling
2023-06-01 20:48:02 +02:00
56de8ceebb release 1.1.4 2023-05-24 08:59:45 +02:00
d089e878ca release 1.1.3 2023-05-10 09:11:35 +02:00
32a3078d67 release 1.1.2 2023-05-03 10:11:24 +02:00
fcc4b9cc7e release 1.1.1 2023-04-11 14:01:52 +02:00
9e0d7783d6 release 1.1.0 2023-04-03 13:45:36 +02:00
77517ce280 release 1.0.0 2023-03-14 14:07:06 +01:00
16288a2972 release 1.0.0b5 2023-02-09 15:04:54 +01:00
83b1e22e52 release 1.0.0b4 2023-02-03 11:01:51 +01:00