Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dist/completion/downgrade/fish
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ complete -c $cmd -l pacman -xa "(complete -C(commandline -ct))" -d 'pacman comma
complete -c $cmd -l pacman-conf -r -d 'pacman configuration file'
complete -c $cmd -l pacman-cache -r -d 'pacman cache directory'
complete -c $cmd -l pacman-log -r -d 'pacman log file'
complete -c $cmd -l git -d 'uses git for choosing version, viable only for aur packages'
complete -c $cmd -l maxdepth -x -d 'maximum depth to search for cached packages'
complete -c $cmd -l ala-url -x -d 'location of ALA server'
complete -c $cmd -l ala-only -d 'only use ALA server'
Expand Down
1 change: 0 additions & 1 deletion dist/completion/downgrade/zsh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ _downgrade () {
'--pacman-conf[pacman configuration file]:pacman config file:_files' \
'*--pacman-cache[pacman cache directory]:pacman cache directory:_path_files -/' \
'--pacman-log[pacman log file]:pacman log file:_files' \
'--git[uses git for choosing version, viable only for aur packages]' \
'--maxdepth[maximum depth to search for cached packages]:maximum search depth' \
'--ala-url[location of ALA server]:ala url' \
'--ala-only[only use ALA server]' \
Expand Down
21 changes: 7 additions & 14 deletions doc/downgrade.8.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,8 @@ on the ALA.
Pacman log file, default value is extracted from pacman configuration file, or
otherwise defaults to _/var/log/pacman.log_.

* `--git`:
If the pacman cache contains the source repository for the package (e.g. if
you use yay and are downgrading an AUR package), present any version-like
tags as available for downgrading (together with cached packages if
present). If selected, build and install the package from sources checked
out at that tag.

See [EXAMPLES].

* `--maxdepth`=<INTEGER>:
Maximum depth to search for cached packages, defaults to _1_.
Maximum depth to search for cached packages, defaults to _2_.

* `--ala-url`=<URL>:
Location of an ALA server, default is *https://archive.archlinux.org*.
Expand Down Expand Up @@ -122,7 +113,9 @@ sequence will be treated as pacman options.

## DEFAULT BEHAVIORS

By default, **downgrade** will search both local caches and the ALA.
By default, **downgrade** will search both local caches and the ALA. AUR helper
cache directories (_~/.cache/yay_, _~/.cache/paru/clone_) are automatically
included if present, so AUR packages are found without extra configuration.

If only one package with its corresponding location matches, the package will be
installed without further prompt from the user.
Expand Down Expand Up @@ -177,10 +170,10 @@ Non-interactively downgrade `foo` to `1.0.0-1`

# downgrade --latest --prefer-cache --ignore never 'foo=1.0.0-1'

Present cached `downgrade` pkgbuilds together with tags with version greater
than 9
Downgrade an AUR package with version-filtering (git versions are shown
automatically when a git repo is found in the cache):

# downgrade --git --pacman-cache ~/.cache/yay --maxdepth 2 'downgrade>9.0.0'
# downgrade 'downgrade>9.0.0'

## AUTHORS

Expand Down
72 changes: 40 additions & 32 deletions locale/downgrade/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: downgrade\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-22 12:44-0400\n"
"POT-Creation-Date: 2026-02-18 12:41-0700\n"
"PO-Revision-Date: 2020-04-21 21:10+0100\n"
"Last-Translator: <tom.vycital@gmail.com>, <shankar.atreya@gmail.com>\n"
"Language-Team: Czech\n"
Expand Down Expand Up @@ -63,137 +63,145 @@ msgid "default value taken from pacman configuration file,"
msgstr "výchozí hodnota převzatá z konfiguračního souboru pacman,"

#: src/downgrade:22
msgid "uses git for choosing version, viable only for aur packages"
msgstr ""

#: src/downgrade:23
msgid "integer"
msgstr "celé číslo"

#: src/downgrade:23
#: src/downgrade:24
msgid "maximum depth to search for cached packages, defaults to"
msgstr ""
"maximální hloubka pro vyhledávání balíčků v mezipaměti, výchozí hodnota"

#: src/downgrade:25
#: src/downgrade:26
msgid "location of ALA server, defaults to"
msgstr "umístění serveru ALA, výchozí nastavení je"

#: src/downgrade:26
#: src/downgrade:27
msgid "only use ALA server"
msgstr "používejte pouze server ALA"

#: src/downgrade:27
#: src/downgrade:28
msgid "only use cached packages"
msgstr "používejte pouze balíčky v mezipaměti"

#: src/downgrade:29
#: src/downgrade:30
#, fuzzy
msgid "whether to add packages to IgnorePkg"
msgstr "přidat $pkg mezi ignorované? [a/N] "

#: src/downgrade:30
#: src/downgrade:31
#, fuzzy
msgid "remove packages from IgnorePkg"
msgstr "přidat $pkg mezi ignorované? [a/N] "

#: src/downgrade:31
#: src/downgrade:32
msgid "pick latest matching version"
msgstr ""

#: src/downgrade:32
#: src/downgrade:33
msgid "pick oldest matching version"
msgstr ""

#: src/downgrade:33
#: src/downgrade:34
msgid "do not query ala if a matching package was found in cache"
msgstr ""

#: src/downgrade:34
#: src/downgrade:35
msgid "show downgrade version"
msgstr "zobrazit downgrade verzi"

#: src/downgrade:35
#: src/downgrade:36
msgid "show help script"
msgstr "zobrazit skript nápovědy"

#: src/downgrade:37
#: src/downgrade:38
msgid "Note"
msgstr "Poznámka"

#: src/downgrade:38
#: src/downgrade:39
msgid "Options after the -- characters will be treated as pacman options."
msgstr "Možnosti za znaky -- budou považovány za možnosti pacmanu."

#: src/downgrade:39
#: src/downgrade:40
msgid "yay and paru cache directories are searched automatically if present."
msgstr ""

#: src/downgrade:41
msgid "See downgrade(8) for details."
msgstr "Pro více informací vizte downgrade(8)"

#: src/downgrade:103
#: src/downgrade:127
msgid "Available packages"
msgstr "Dostupné balíčky"

#: src/downgrade:124
#: src/downgrade:148
msgid "y"
msgstr "a"

#: src/downgrade:143
#: src/downgrade:167
#, sh-format
msgid "add $pkg to IgnorePkg? [y/N] "
msgstr "přidat $pkg mezi ignorované? [a/N] "

#: src/downgrade:265
#: src/downgrade:327
msgid "remote"
msgstr "vzdálený"

#: src/downgrade:325
#: src/downgrade:392
msgid "No results found"
msgstr "Nebyly nalezeny žádné výsledky"

#: src/downgrade:342
#: src/downgrade:409
msgid "Invalid choice"
msgstr "Neplatná volba"

#: src/downgrade:355
#: src/downgrade:422
#, sh-format
msgid "Unable to downgrade $name"
msgstr "Nelze downgradovat $name"

#: src/downgrade:384
#: src/downgrade:451
msgid "Missing --pacman argument"
msgstr "Chybí argument --pacman"

#: src/downgrade:397
#: src/downgrade:464
msgid "Missing --pacman-conf argument"
msgstr "Chybí argument --pacman-conf"

#: src/downgrade:410
#: src/downgrade:477
msgid "Missing --ala-url argument"
msgstr "Chybí argument --ala-url"

#: src/downgrade:423
#: src/downgrade:490
msgid "Missing --pacman-cache argument"
msgstr "Chybí argument --pacman-cache"

#: src/downgrade:436
#: src/downgrade:503
msgid "Missing --pacman-log argument"
msgstr "Chybí argument --pacman-log"

#: src/downgrade:449
#: src/downgrade:519
msgid "Missing --maxdepth argument"
msgstr "Chybí argument --maxdepth"

#: src/downgrade:470
#: src/downgrade:540
#, fuzzy
msgid "Missing or wrong --ignore argument"
msgstr "Chybí argument --pacman"

#: src/downgrade:503
#: src/downgrade:573
#, sh-format
msgid "Unrecognized option $current_option"
msgstr "Nerozpoznaná možnost $current_option"

#: src/downgrade:518
#: src/downgrade:588
msgid "No packages provided for downgrading"
msgstr "Pro downgradování nebyly poskytnuty žádné balíčky"

#: src/downgrade:588
#: src/downgrade:695
msgid "downgrade must be run as root"
msgstr "downgrade musí být spuštěn jako root"

Expand Down
Loading