Sure, but what about when something else happens such that my connection drops and reconnects (such as my router getting rebooted)? I'm still SOL because I'll send information accross the network before the VPN reconnects.
Even better than checking your staged commits is just never, ever, using git add. or adding a whole directory. I only add each file explicitly so that I never end up adding test files, backup copies, etc. You're never going to accidentally type git add /foo/bar/file.c~.
I don't even have one. I typically log in from either GDM or SDDM. And, yes, I still have this issue. I just have given up on figuring it out for a while.
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.
Fair enough. I thought I had seen such comments on their github, but after looking through issues, they have updated and worked on the -Si option as recently as two years ago. I stand corrected.
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.
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.
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.
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.
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.
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?"
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.
Sure, but what about when something else happens such that my connection drops and reconnects (such as my router getting rebooted)? I'm still SOL because I'll send information accross the network before the VPN reconnects.
Even better than checking your staged commits is just never, ever, using
git add.or adding a whole directory. I only add each file explicitly so that I never end up adding test files, backup copies, etc. You're never going to accidentally typegit add /foo/bar/file.c~.I don't even have one. I typically log in from either GDM or SDDM. And, yes, I still have this issue. I just have given up on figuring it out for a while.
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.
Fair enough. I thought I had seen such comments on their github, but after looking through issues, they have updated and worked on the
-Sioption as recently as two years ago. I stand corrected.I don't know why it's still there. And yes, upon a second pass, I see that -Qi also still sources the PKGBUILD as well. Touché.
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 -Gandyaourt -Si. I just did this to verify, so you could even take this stranger's word for it if you're lazy.yaourt -Gactually 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.
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.
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.
It does not. Read the source.
It only parses the cleaned PKGBUILD for the -Si operation which is deprecated.
Incorrect. It does not parse the PKGBUILD directly, except for the -Si command which is deprecated.
Thank you.
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.
Here's another table for you:
Which one is better?
Where can I get the "dance like no-one's watching," "worst thing about censorship," and "there is no cloud" stickers?
Bad bot.
Bad bot.
Bad bot.
Bad bot.
Bad bot.
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.
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?"
Bad bot.
counsel-projectile is in there. It's in the projectile's :config. :)
I never used tabs in Vim, but my CtrlP needs are pretty well satisfied by Projectile + Ivy. Plus it has extra goodies.
EDIT: IIRC, Projectile uses Ivy automatically if it's loaded.