Yay: Add a background sudo loop

Created on 18 Aug 2018  路  8Comments  路  Source: Jguer/yay

Affected Version

v8.998

Description:

Add a sudo loop so when an AUR package finishes to build (a few hours later) there will be no need to re enter the root password.

Thanks

Most helpful comment

How about making --sudoloop the default and adding a --nosudoloop option?

All 8 comments

Is there something wrong with the sudo loop already built in? From man yay:

--sudoloop
Loop sudo calls in the background to prevent sudo from timing out during long builds.

Searching the issue tracker this seems to have been added back in #147.

Oops. Except for the help, is there a wiki page that document that. I searched google and looked for a wiki or readme entry but didn't found any. I rarely use --help :/

man yay

I'm think I'm one of those people who hate grey on black of the console. Am I the first one to come here?

Well man is happy to open it in the browser instead. Although I don't really see how that adds anything to the text.

If your color scheme is something you hate then fix it. Terminal colors and which ones are used by which programs are almost infinitely customable. That's might be the lamest excuse for not reading the docs I've head. Seriously man <command> is basically the defacto place to document usage and what features are available in CLI programs. You are wasting your time looking anywhere else. Always start there first, then go somewhere else if you need more. Wikis and readmes and website documentation are second resort and supplemental. Sure some projects don't do a good job of documenting there, but it should always be where you check.

How about making --sudoloop the default and adding a --nosudoloop option?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

torvic9 picture torvic9  路  4Comments

captn3m0 picture captn3m0  路  4Comments

x70b1 picture x70b1  路  4Comments

mmirate picture mmirate  路  3Comments

ixevix picture ixevix  路  3Comments