Difference between revisions of "User:Svito/AUR helpers"

From ArchWiki
Jump to: navigation, search
(copy again(no changes) to experiment with batch interaction)
m (Pacman wrappers: pakku detail)
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== Pacman wrappers ==
 
== Pacman wrappers ==
  
{{Warning|{{man|8|pacman}} wrappers abstract the work of the package manager. They may (optionally or by default) introduce [[System_maintenance#Avoid_certain_pacman_commands|unsafe flags]], or other unexpected behavior leading to a defective system.}}
+
{{Warning|{{man|8|pacman}} wrappers abstract the work of the package manager. They may (optionally or by default) introduce [[System_maintenance#Avoid_certain_pacman_commands|potentially harmful pacman commands]] (such as {{ic|-Sy}}, {{ic|--ask}} or {{ic|-Ud}}), or other unexpected behavior leading to a defective system.}}
  
 
{| class="wikitable sortable" style="text-align: center;"
 
{| class="wikitable sortable" style="text-align: center;"
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Clean build !! Unsafe flags !! Batch interaction !! Shell completion !! Specificity
+
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Clean build !! Batch interaction !! Shell completion !! Specificity
 
|-
 
|-
 
! {{AUR|yay}}
 
! {{AUR|yay}}
| Go || {{Yes}} || {{G|[https://github.com/Jguer/yay/pull/447 Yes]}} || {{G|[https://github.com/Jguer/yay/pull/297 Yes]}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/Jguer/yay/commit/3bdb5343218d99d40f8a449b887348611f6bdbfc {{ic|-Sy}}], [https://github.com/Jguer/yay/commit/ea5a94e0f8bb5f76879099e6d319c0c0102231c2 {{ic|--ask}}] || 1, 2*, 3* || bash, fish, zsh || {{L|fetch PGP keys, sort by votes/popularity, [https://github.com/Jguer/yay/commit/4bcd3a6297052714e91e3f886602ce5c12d15786 prompt architecture]}}
+
| Go || {{Yes}} || {{G|[https://github.com/Jguer/yay/pull/447 Yes]}} || {{G|[https://github.com/Jguer/yay/pull/297 Yes]}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || 1, 2*([https://github.com/Jguer/yay/commit/3bdb5343218d99d40f8a449b887348611f6bdbfc {{ic|-Sy}}]), <br>3*([https://github.com/Jguer/yay/commit/ea5a94e0f8bb5f76879099e6d319c0c0102231c2 {{ic|--ask}}])|| bash, fish, zsh || {{L|fetch PGP keys, sort by votes/popularity, [https://github.com/Jguer/yay/commit/4bcd3a6297052714e91e3f886602ce5c12d15786 prompt architecture]}}
 
|-
 
|-
 
! {{AUR|pakku}}
 
! {{AUR|pakku}}
| Nim || {{Yes}} || {{G|[https://github.com/kitsunyan/pakku/commit/396e9f44c4f5a79c7b9238835599387f6ff418fe Yes]}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/kitsunyan/pakku/commit/864cc0373fd6095295f68cc44d1657bd17269732 Yes]}} || [https://github.com/kitsunyan/pakku/wiki/Native-Pacman-Explanation {{ic|-Sy}}] || 1 || bash, zsh || {{L|[[ABS]] support, AUR comments, fetch PGP keys}}
+
| Nim || {{Yes}} || {{G|[https://github.com/kitsunyan/pakku/commit/396e9f44c4f5a79c7b9238835599387f6ff418fe Yes]}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/kitsunyan/pakku/commit/864cc0373fd6095295f68cc44d1657bd17269732 Yes]}} || 1 || bash, zsh || {{L|uses [https://github.com/kitsunyan/pakku/wiki/Native-Pacman-Explanation {{ic|-Sy}}], [[ABS]] support, AUR comments, fetch PGP keys}}
 
|-
 
|-
 
! {{AUR|pikaur}}
 
! {{AUR|pikaur}}
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/actionless/pikaur/commit/d409b958b4ff403d4fda06681231061854d32b3c Yes]}} || {{Yes}} || [https://github.com/actionless/pikaur#pikaur {{ic|-Sy}}] || 1, 2, 3 || bash, fish, zsh || {{L|[http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users], [https://github.com/actionless/pikaur/tree/master/locale multilingual], sort by votes/popularity, print news, [https://github.com/actionless/pikaur/commit/3688d828591d307c6864c3b5ad8c1f581396b865 ignore errors]}}
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/actionless/pikaur/commit/d409b958b4ff403d4fda06681231061854d32b3c Yes]}} || {{Yes}} || 1, 2([https://github.com/actionless/pikaur#pikaur {{ic|-Sy}}]), 3 || bash, fish, zsh || {{L|[http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users], [https://github.com/actionless/pikaur/tree/master/locale multilingual], sort by votes/popularity, print news, [https://github.com/actionless/pikaur/commit/3688d828591d307c6864c3b5ad8c1f581396b865 ignore errors]}}
 
|-
 
|-
 
! {{AUR|trizen}}
 
! {{AUR|trizen}}
| Perl || {{Yes}} || {{Yes}} ||{{G|[https://github.com/trizen/trizen/commit/6fb0cc9e0ab66b8cca9493b0618ba4bab5fd2252 Yes]}} || {{G|[https://github.com/trizen/trizen/commit/7ab7ee5f9f1f5d971b731d092fc8e1dd963add4b Yes]}}  || {{Yes}} || {{Y|[https://github.com/trizen/trizen/issues/46 Partial]}} || {{Yes}} || {{Y|[https://github.com/trizen/trizen/commit/9e7b40e110175ea5bc7a0fa002ffadbf1106704b{{ic|-Ud}}] || 1* || bash, fish, zsh || {{L|automatic builds by default, use {{ic|-G}} to disable; AUR comments}}
+
| Perl || {{Yes}} || {{Yes}} ||{{G|[https://github.com/trizen/trizen/commit/6fb0cc9e0ab66b8cca9493b0618ba4bab5fd2252 Yes]}} || {{G|[https://github.com/trizen/trizen/commit/7ab7ee5f9f1f5d971b731d092fc8e1dd963add4b Yes]}}  || {{Yes}} || {{Y|[https://github.com/trizen/trizen/issues/46 Partial]}} || {{Yes}} || 1* || bash, fish, zsh || {{L|optional [https://github.com/trizen/trizen/commit/9e7b40e110175ea5bc7a0fa002ffadbf1106704b {{ic|-Ud}}], automatic builds by default, use {{ic|-G}} to disable; AUR comments}}
 
|-
 
|-
 
! {{AUR|aura}}
 
! {{AUR|aura}}
| Haskell || {{Y|Optional}} || {{Y|[https://github.com/aurapm/aura/blob/89bf702bd0539fa757265c4c54ea2192155f85ed/aura/src/Aura/Pkgbuild/Records.hs Partial]}} || {{R|[https://github.com/aurapm/aura/pull/346 No]}} || {{G|[https://github.com/aurapm/aura/commit/7848e9830cd880215f1d12a1c0294992428ea778 Yes]}} || {{No}} || {{R|[https://github.com/aurapm/aura/issues/353 No]}} || {{Yes}} || {{-}} || 1* || bash, zsh || {{L|automatic builds by default, use {{ic|--dryrun}} to disable; [[downgrade]] support, multilingual}}
+
| Haskell || {{Y|Optional}} || {{Y|[https://github.com/aurapm/aura/blob/89bf702bd0539fa757265c4c54ea2192155f85ed/aura/src/Aura/Pkgbuild/Records.hs Partial]}} || {{R|[https://github.com/aurapm/aura/pull/346 No]}} || {{G|[https://github.com/aurapm/aura/commit/7848e9830cd880215f1d12a1c0294992428ea778 Yes]}} || {{No}} || {{R|[https://github.com/aurapm/aura/issues/353 No]}} || {{Yes}} || 1* || bash, zsh || {{L|automatic builds by default, use {{ic|--dryrun}} to disable; [[downgrade]] support, multilingual}}
 
|-
 
|-
 
! {{AUR|yaourt}}
 
! {{AUR|yaourt}}
| Bash/C || {{No}} [https://github.com/archlinuxfr/yaourt/blob/f373121d23d87031a24135fee593115832d803ec/src/lib/aur.sh#L47] [https://github.com/archlinuxfr/yaourt/blob/d9790e29cd7194535c793f51d185b7130a396916/src/lib/pkgbuild.sh.in#L415-L438] || {{Y|Optional}} || {{Y|Optional}} || {{No}} || {{R|[https://github.com/archlinuxfr/yaourt/issues/186 No]}} || {{R|[https://github.com/archlinuxfr/yaourt/issues/85 No]}} || {{R|[https://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html No]}} || [https://github.com/archlinuxfr/yaourt/blob/d30823e714e4938f81a788abc7f5d19619aa18d5/yaourt/yaourt#L1773 {{ic|-Sy}}] || 2 || bash, fish, zsh || {{L|ABS support, print AUR comments, multilingual}}
+
| Bash/C || {{No}} [https://github.com/archlinuxfr/yaourt/blob/f373121d23d87031a24135fee593115832d803ec/src/lib/aur.sh#L47] [https://github.com/archlinuxfr/yaourt/blob/d9790e29cd7194535c793f51d185b7130a396916/src/lib/pkgbuild.sh.in#L415-L438] || {{Y|Optional}} || {{Y|Optional}} || {{No}} || {{R|[https://github.com/archlinuxfr/yaourt/issues/186 No]}} || {{R|[https://github.com/archlinuxfr/yaourt/issues/85 No]}} || {{R|[https://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html No]}} || 2([https://github.com/archlinuxfr/yaourt/blob/d30823e714e4938f81a788abc7f5d19619aa18d5/yaourt/yaourt#L1773 {{ic|-Sy}}]) || bash, fish, zsh || {{L|ABS support, print AUR comments, multilingual}}
 
|-
 
|-
 
! {{Grey|{{AUR|aurman}} <br> <small>([https://github.com/polygamma/aurman#stopped-development-for-public-use no&nbsp;user&nbsp;support])</small>}}
 
! {{Grey|{{AUR|aurman}} <br> <small>([https://github.com/polygamma/aurman#stopped-development-for-public-use no&nbsp;user&nbsp;support])</small>}}
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/polygamma/aurman/wiki/Description-of-the-aurman-dependency-solving Yes]}} || {{Yes}} || {{Yes}} || [https://github.com/polygamma/aurman/commit/6c02ba3 {{ic|-Sy}}], [https://github.com/polygamma/aurman#make-use-of-the-undocumented---ask-flag-of-pacman {{ic|--ask}}] || 1, 2*, 3* || bash, fish || {{L|fetch PGP keys, sort by votes/popularity, print news}}
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/polygamma/aurman/wiki/Description-of-the-aurman-dependency-solving Yes]}} || {{Yes}} || {{Yes}} || 1, 2*([https://github.com/polygamma/aurman/commit/6c02ba3 {{ic|-Sy}}]), <br>3*([https://github.com/polygamma/aurman#make-use-of-the-undocumented---ask-flag-of-pacman {{ic|--ask}}]) || bash, fish || {{L|fetch PGP keys, sort by votes/popularity, print news}}
 
|-
 
|-
 
! {{Grey|1={{AUR|pacaur}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144 discontinued])</small>}}
 
! {{Grey|1={{AUR|pacaur}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144 discontinued])</small>}}
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/rmarquis/pacaur/commit/d8f49188452785fb28afc017baadd01d9e24ba21 {{ic|-Ud}}], [https://github.com/rmarquis/pacaur/commit/12707cc7f9fb733082dcb33e22e4994c11eabb5f {{ic|--ask}}] || 1, 3 || bash, zsh || {{L|multilingual, sort by votes/popularity}}
+
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || 1, 3([https://github.com/rmarquis/pacaur/commit/12707cc7f9fb733082dcb33e22e4994c11eabb5f {{ic|--ask}}]) || bash, zsh || {{L|installs with [https://github.com/rmarquis/pacaur/commit/d8f49188452785fb28afc017baadd01d9e24ba21 {{ic|-Ud}}], multilingual, sort by votes/popularity}}
 
|-
 
|-
 
! {{Grey|{{AUR|wrapaur}} <br> <small>(discontinued)</small>}}
 
! {{Grey|{{AUR|wrapaur}} <br> <small>(discontinued)</small>}}
| Bash || {{Yes}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{L|mirror updates, print news and AUR comments}}
+
| Bash || {{Yes}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{L|mirror updates, print news and AUR comments}}
 
|-
 
|-
 
! {{Grey|{{AUR|packer-aur}} <br> <small>(discontinued)</small>}}
 
! {{Grey|{{AUR|packer-aur}} <br> <small>(discontinued)</small>}}
| Bash || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{-}}
+
| Bash || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
 
|}
 
|}

Revision as of 00:34, 28 August 2018

Comment: This is draft for AUR helpers started from Talk:AUR helpers#Show which unsafe flags are used by default.

Pacman wrappers

Warning: pacman(8) wrappers abstract the work of the package manager. They may (optionally or by default) introduce potentially harmful pacman commands (such as -Sy, --ask or -Ud), or other unexpected behavior leading to a defective system.
Name Written in File review Diff view Git clone Reliable parser Reliable solver Split packages Clean build Batch interaction Shell completion Specificity
yayAUR Go Yes Yes Yes Yes Yes Yes Yes 1, 2*(-Sy),
3*(--ask)
bash, fish, zsh fetch PGP keys, sort by votes/popularity, prompt architecture
pakkuAUR Nim Yes Yes Yes Yes Yes Yes Yes 1 bash, zsh uses -Sy, ABS support, AUR comments, fetch PGP keys
pikaurAUR Python Yes Yes Yes Yes Yes Yes Yes 1, 2(-Sy), 3 bash, fish, zsh dynamic users, multilingual, sort by votes/popularity, print news, ignore errors
trizenAUR Perl Yes Yes Yes Yes Yes Partial Yes 1* bash, fish, zsh optional -Ud, automatic builds by default, use -G to disable; AUR comments
auraAUR Haskell Optional Partial No Yes No No Yes 1* bash, zsh automatic builds by default, use --dryrun to disable; downgrade support, multilingual
yaourtAUR Bash/C No [1] [2] Optional Optional No No No No 2(-Sy) bash, fish, zsh ABS support, print AUR comments, multilingual
aurmanAUR
(no user support)
Python Yes Yes Yes Yes Yes Yes Yes 1, 2*(-Sy),
3*(--ask)
bash, fish fetch PGP keys, sort by votes/popularity, print news
pacaurAUR
(discontinued)
Bash/C Yes Yes Yes Yes Yes Yes Yes 1, 3(--ask) bash, zsh installs with -Ud, multilingual, sort by votes/popularity
wrapaurAUR
(discontinued)
Bash Yes No Yes No No No Yes mirror updates, print news and AUR comments
packer-aurAUR
(discontinued)
Bash No No No No No No Yes