Comments (5)
IMHO, an environment variable akin to EMERGE_DEFAULT_OPTS
would be a better fit here, as there's no --dont-ask
parameter that can be used to negate the --ask
set in the config file otherwise. It's also more flexible to options other than just ask. It would need to be something like EQUO_INSTALL_OPTS
rather than for all equo commands, since not every subcommand takes an --ask
parameter.
If anyone wants to make this a default option, it can be put into a file in /etc/env.d
. To install a package without the default opts from the environment variable, something like env EQUO_INSTALL_OPTS='' equo install foo
can be used instead.
from entropy.
@schnittchen Thanks for your feedback
In such situations what i tend to do instead is to create system alias functions to specific set/combination of commands that i use daily.
@optiz0r i don't think that's a feature that should be there, i could think an equivalent to EMERGE_DEFAULT_OPTS
would make sense but not for EQUO_INSTALL_OPTS
, that would open then the door to EQUO_REMOVE_OPTS
, EQUO_SEARCH_OPTS
and so on with the others equo's commands with the result of just incrementing complexity of code/usage.
Giving another thought: an EQUO_DEFAULT_OPTS
don't have a lot of sense to me neither, since most of options are already configurable in the client.conf and the few ones that are not IMHO are not sufficient to promote a global config variable (to cover edge-cases).
going back to the original request, --ask for me shouldn't be default for more than one reasons:
- historically was always like this, and i do not see here a valid reason to break user habits/scripts
- equo mimics the emerge command behavior in regards to that, and it is a plus to me (gentoo users will feel more at home)
- there are other ways you can accomplish the same thing without having it implemented straight into the PM
That being said, an option in the config file to enable that behavour sounds more reasonable to me
from entropy.
This is what I agree with.
equo mimics the emerge command behavior in regards to that, and it is a plus to me (gentoo users will feel more at home)
from entropy.
I don't think it's going to happen, so I'll close the issue. Please also consider that changing something as important as default --ask may be more dangerous than no default --ask in any case. What if someone thinks --ask is enabled in config, but it's not (for any reason), so types equo remove blah
and goes to eat supper, comes back and sees no prompt but a bunch of packages removed?
from entropy.
consider that changing → consider that being able to change (in configuration)
from entropy.
Related Issues (15)
- equo install sometimes throw: error: No urls, filenames, or requirements specified HOT 10
- Error on use tar class with equo command with python3.5 HOT 2
- feature request - add: equo preservedlibs why HOT 5
- feature request: reorganize `equo preservedlibs` normal and verbose modes
- Consider using NoSuspend for suspend inhibition HOT 1
- kernel-switcher: Add support to custom repository for retrieve kernel list HOT 3
- Eit inject explosion with systemd on arm HOT 6
- Source Package Manager is too old, please update it: UnsupportedAPIException() HOT 1
- equo: Crashing on autocomplete HOT 2
- RFC: Add support to tokenid inside repository config
- Python3.6 migration: utf-8 codec error on install app-misc/sabayon-skel HOT 2
- bugs with Python 3 HOT 2
- equo: security oscheck explosion HOT 5
- Wine can cause problems with configuration files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entropy.