Skip to content

u/pogeymanz

In this archive from Oct 2010 to Sep 2018

15
posts
349
comments
0
media
1.1k
score

The "feature" columns are totally inappropriate. Look at aura's entry. It has a bunch of features that no other helper has, like pacakge downgrades. So they shoved that info in the "specificity" column. Why not have a real column for that and have a bunch of red cells for all the helpers that don't have that? Is it because it might tarnish pacaur and bauerbill? I don't know.

Why don't we include yaourt's ability to fetch just a PKGBUILD file for a package? Because God-forbid yaourt might get a green cell? Why don't we have columns for ABS support? That sounds like a feature to me, but again, that might give yaourt a green cell. The same can be said for every feature that is unceremoniously shoved into the "specificity" column. If we're being fair, then every feature that is had by any of them should get its own column.

Also, that definition of "secure" is... narrow. I could write an AUR helper that uses AURJson to get the package info, but then only downloads the actual PKGBUILD from a shady Russian mirror instead of the real AUR and I'd get a green cell in that column. That's not secure. Also, what if the helper could prove that it effectively sanitizes the PKGBUILD before parsing it? Then it would be secure, but still get a red cell. Sounds like a BS definition to me.

Now, and I understand that this wouldn't hold up in court or anything, but also notice that yaourt has the most "citations" in its row. There has been such a crusade against yaourt by the "experts" that I have little doubt that most of the people who have edited that table were not 100% impartial.

Look, I'm not even saying yaourt is good. I've used almost all of the helpers ever written (I've been using Arch since '07) and they basically all lack something I want, or are stupid-slow, etc. I just think it's really treated unfairly to the point that it became a meme and we even had that stupid bot in the subreddit that spammed anti-yaourt shit every time it was mentioned.

The table is bad. It's not helpful for finding which helper has which features. It has very specific definitions that suit a particular agenda, and it doesn't even include all of the helpers on the very same wiki page.

But, yes, you're right. I should just go ahead and try to get the table changed. I'm going to try to do that soon.

1 points

I cannot point you to the commit. I don't know how to search Github's commits, and don't want to clone and hunt myself.

But you can certainly look through the source code yourself: https://github.com/archlinuxfr/yaourt

The infamous function is called sanitize_pkgbuild. Just do some greps to see where it's called. Follow the chain of calls up to learn that it only bubbles up to two points: yaourt -G and yaourt -Si. I just did this to verify, so you could even take this stranger's word for it if you're lazy.

yaourt -G actually just downloads the PKGBUILD directly for you, so I'm not sure it's even appropriate to sanitize it for you, but there you go- it's even safer than if you downloaded it by hand.

EDIT: I also apparently missed that it is also sourced for -Qi. So it's worse than I thought it was, but still less horrible than everyone makes it out to be. You are still very much capable of searching and installing software without malicious bash being executed before you get to read the PKGBUILD. Though, I agree that the -Si and -Qi code needs to be removed or refactored.

2 points

Yes. Yaourt's interactive search is the best thing about it. I also love being able to download PKGBUILDs directly with -G.

The only split package issue I have had is that sometimes it will try to build split packages twice, because it lists both packages in the update list. All you have to do is delete the second entry in the list and it will build everything it needs, and only once.

0 points

Still. It's wrong to post that stupid table because it's so disingenuous. Next time, you should just post one of the sources of the issues you believe yaourt has (there are several links in the table itself). At least then someone wont be fooled by seeing all of the "OMG scary red cells."

Just don't spread FUD/propaganda when trying to raise an actual objection. I would never say that yaourt is perfect or that it suits everyone's needs. But the table is absolute garbage and has no place even being on the wiki.

EDIT: Removed stupid comment. Need multiple tries to communicate like a human.

1 points

That fucking comparison table is a troll, not me. It's biased bullshit. It doesn't list the myriad of things that yaourt does that the other ones don't. It also assigns a binary value to things like "reliable." I have almost no issues with yaourt on split packages or dependency resolution and I have had issues with other helpers, so it's not a "yes or no" kind of thing.

The table is fucking stupid.

EDIT: Controlled my temper a bit.

1 points

Yaourt is not actually insecure, as pointed out by /u/carlm42.

Also, it has features that somehow literally none of the other AUR helpers have managed to get in the full decade since I've been using Arch (Except maybe the original bauerbill- that thing was awesome).

With yaourt I can interactively search and install in one pass. With yaourt I can download just the the pkgbuild with -G. With yaourt I can do partial upgrades by interactively editing the list of packages to be installed as a text file (very Unixy! +1).

Combine that with the fact that it's not actually insecure (it is fairly slow, though) and using anything else is literally a downgrade.

14 points

Thank you. This cargo-culting bullshit against yaourt has to stop. People are unbelievably gullible. Just show them a "comparison" table with some red boxes in it and they'll believe anything. I'm pretty sure I can make a table that give 5 reasons that Windows is better than Linux and no other information and everyone in this sub will throw their wallets at Microsoft faster than you can say "What are virtual desktops?"

6 points

I never used tabs in Vim, but my CtrlP needs are pretty well satisfied by Projectile + Ivy. Plus it has extra goodies.

(use-package ivy
  :ensure t
  :defer t
  :diminish ivy-mode
  :config
  (ivy-mode 1)
  ;; Do not show "./" and "../" in the `counsel-find-file' completion list
  (setq ivy-extra-directories nil)) ; default value: ("../" "./")

(use-package projectile
  :ensure t
  :diminish projectile-mode
  :config
  (projectile-mode 1)
  (use-package counsel-projectile
      :ensure t
      :config
      (counsel-projectile-on)))

(define-key evil-normal-state-map (kbd "C-p") #'projectile-find-file)

EDIT: IIRC, Projectile uses Ivy automatically if it's loaded.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.