Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-09-11 22:17:09 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-19 22:27:12 +0200
commit3d3176beb6eb0319809be386cd903fa03bdabc73 (patch)
treeb25c4c6612f71cd07a5773e04bc466fcf09b565a
parent6aa42e1f6e913fd8706bd809f784f6c492762a20 (diff)
pkgrepo: rename archco as a general purpose tool for packaging repos
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
-rw-r--r--contrib/completion/bash/devtools.in10
-rw-r--r--contrib/completion/zsh/_devtools.in10
-rw-r--r--doc/man/devtools.7.asciidoc2
-rw-r--r--src/pkgrepo.in (renamed from src/archco.in)0
4 files changed, 11 insertions, 11 deletions
diff --git a/contrib/completion/bash/devtools.in b/contrib/completion/bash/devtools.in
index 8183395..a353b99 100644
--- a/contrib/completion/bash/devtools.in
+++ b/contrib/completion/bash/devtools.in
@@ -14,22 +14,22 @@ _devtools_compgen() {
done
}
-_archco_pkg() {
+_pkgrepo_pkg() {
_devtools_compgen "$(
command pacman "-$1"
)"
}
-_archco() {
- local cur prev
+_pkgrepo() {
+ local cur prev
COMPREPLY=()
cur=$(_get_cword)
prev=${COMP_WORDS[COMP_CWORD-1]}
- _archco_pkg Slq
+ _pkgrepo_pkg Slq
true
} &&
-complete -F _archco archco
+complete -F _pkgrepo pkgrepo
_makechrootpkg() {
local cur
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index d2fcfed..f6417df 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -1,4 +1,4 @@
-#compdef archbuild archco arch-nspawn archrelease commitpkg diffpkg finddeps makechrootpkg mkarchroot rebuildpkgs extrapkg=commitpkg corepkg=commitpkg testingpkg=commitpkg stagingpkg=commitpkg communitypkg=commitpkg community-testingpkg=commitpkg community-stagingpkg=commitpkg multilibpkg=commitpkg multilib-testingpkg=commitpkg extra-x86_64-build=archbuild testing-x86_64-build=archbuild staging-x86_64-build=archbuild multilib-build=archbuild multilib-testing-build=archbuild multilib-staging-build=archbuild kde-unstable-x86_64-build=archbuild gnome-unstable-x86_64-build=archbuild checkpkg sogrep offload-build makerepropkg
+#compdef archbuild pkgrepo arch-nspawn archrelease commitpkg diffpkg finddeps makechrootpkg mkarchroot rebuildpkgs extrapkg=commitpkg corepkg=commitpkg testingpkg=commitpkg stagingpkg=commitpkg communitypkg=commitpkg community-testingpkg=commitpkg community-stagingpkg=commitpkg multilibpkg=commitpkg multilib-testingpkg=commitpkg extra-x86_64-build=archbuild testing-x86_64-build=archbuild staging-x86_64-build=archbuild multilib-build=archbuild multilib-testing-build=archbuild multilib-staging-build=archbuild kde-unstable-x86_64-build=archbuild gnome-unstable-x86_64-build=archbuild checkpkg sogrep offload-build makerepropkg
#
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -15,20 +15,20 @@ _archbuild_args=(
'--[Introduce makechrootpkg options]:*::makechrootpkg options:= _dispatch makechrootpkg makechrootpkg'
)
-_archco_cmds=(
- "archco command"
+_pkgrepo_cmds=(
+ "pkgrepo command"
"clone[Clone a package repository]"
"configure[Configure a clone according to distro specs]"
)
-_archco_clone_args=(
+_pkgrepo_clone_args=(
'(-m --maintainer=)'{-m,--maintainer=}'[Clone all packages of the named maintainer]:maintainer:'
'(-u --unprivileged)'{-u,--unprivileged}'[Read-only access without packager info as Git author]'
'(-h --help)'{-h,--help}'[Display usage]'
'*:packages:_devtools_completions_all_packages'
)
-_archco_configure_args=(
+_pkgrepo_configure_args=(
'(-u --unprivileged)'{-u,--unprivileged}'[Configure read-only repo without packager info as Git author]'
'(-h --help)'{-h,--help}'[Display usage]'
'*:git_dir:_files -/'
diff --git a/doc/man/devtools.7.asciidoc b/doc/man/devtools.7.asciidoc
index 1bd118f..6b2d0c1 100644
--- a/doc/man/devtools.7.asciidoc
+++ b/doc/man/devtools.7.asciidoc
@@ -11,7 +11,7 @@ Description
Devtools contains tools for package maintenance in Arch Linux. The toolset
varies from tools for building packages in a clean chroot ('mkarchroot',...),
packaging related tools for sonames ('sogrep', 'lddd') and tools for
-repository management such as ('archco')
+repository management such as ('pkgrepo')
Programs
--------
diff --git a/src/archco.in b/src/pkgrepo.in
index 2804cba..2804cba 100644
--- a/src/archco.in
+++ b/src/pkgrepo.in