-
-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve aliases of portage #513
Conversation
remove duplicate 'ers'
improve 'emfu': remove -j and change -U to -N
add 'ec' for cleaning repository source files
add description for 'emfu'
Thank you for your contribution.
I'm not familiar with emerge, but as far as I see the man page found online,
Could you explain the background? What would be the flags |
Gentoo wiki says:
With this in mind I replaced Also, I think |
add 'ecp' for cleaning binary packages
add restrictions on running 'ecd', 'ecp', and 'elip'.
Thank you for your clarifications! I first need to clarify that my requests are related to backward compatibility but not to the ideal design. If this PR would be the one that introduces new aliases, I would accept it without any requests. However, I need to be careful about the removal and changes in the behavior because this PR touches existing aliases, which might have already users. Even if some existing aliases are something that not so many people are using, we do not remove them unless there is a clear problem. |
OK. But I still don't see a reason to remove The code comments of aliases
Thank you for the description. I'm now convinced that we switch to
These are aliases. It's different from an independent command-line tool. It's subtle whether we require the aliases to be focusing on a specific function with a plain setting. Aliases are intended to encapsulate the frequently used set of flags. There is no clear boundary on whether we accept or reject specific additional flags, but many aliases include additional flags that are just useful, such as For example, I define my own alias that essentially behaves like Seeing the explanation so far, I still suggest keeping |
I don't believe the diffirence between
What you said makes sense. But there is another variable
With this in mind I suggest |
Thanks for your opinion. Then, let's not change
I still don't see the reason for removing it. It doesn't seem to cause problems based on the discussion so far.
Thank you for those explanations. Does that mean specifying |
It really doesn't cause problems, but it's a duplicate of
Not really. Gentoo wiki says:
They just need the right combination. By the way, there's also a varible |
These seem just the reason for the ideal design. I wouldn't accept a change that breaks the backward compatibility just for the ideal design. The only reason that would allow to break the backward compatibility would be the situation where the original behavior would be a bug or cause some problems or conflicts.
That seems to imply that it would cause problems when used with a wrong combination? In particular, when the user doesn't set these variables, does specifying |
Is backwards compatibility really that important? Even the C++ standard removes old facilities. And
To be honest, I don't know which combination is the most correct. Gentoo wiki says:
I just saw it. I used to think that There is a |
Yes.
This repository is not a standard but an implementation, meaning that this repository doesn't require other frameworks to copy everything including legacies. The C++ standard dropped some of the old facilities from the requirements on the conforming implementations, but that does not mean that the conforming implementations need to drop the feature. The implementations are always allowed to have extensions where the standard doesn't specify. It's the implementation's discretion whether to become pedantic on strict conformance or to be permissive. The policy of this repository is to be careful in removing features. In the discussions so far, you didn't seem to care about the backward compatibility at all. However, even the C++ standard you mention cares about backward compatibility, so they survey the existing code bases before removing any features. Only when they confirm the feature is not widely used (or any real problems are found), the features would be dropped. I should note that it's also related to the availability of human resources. We may follow a similar strategy as the C++ standard in principle, but unfortunately, there is no firm way to perform the survey for Oh My Bash (OMB). There is no way to know the exact size of the user base of OMB, but I estimate it to be the order of 100k users. Even though, it is hard to know the frequency of the uses of each alias under this large user base. Someone would need to perform a real survey on the users, but I doubt it's worth it. This project is not as valuable as you think. Also, I'm not a user of OMB but merely a passive maintainer of OMB as discussed in #268. I started to be involved in OMB to handle the issues in ble.sh caused by OMB and took over the maintenance after a while. The users of OMB are not supposed to be as well-skilled as you think. OMB primarily targets users who are not familiar with Bash enough they configure the Bash settings by themselves. I'm really passive for this specific repository, so I wouldn't like to cause any unnecessary trouble that may puzzle the users. I have to say that this repository already contains tons of unreasonable legacies, but I wouldn't have time and wouldn't be willing to clean them up while handling the questions and reports from the users.
That's good to know. Then, let's drop the option |
In this case I would suggest adding a relevant reminder in the comments rather than leaving it as is to remove confusion as to why |
I agree with that. Could you add the commentary, and also you can comment that in |
restore 'ers'
restore 'ers'
better wording for 'ers'
better wording for the comment of 'ers'
Thank you for your suggestions! |
Thank you for your quick responses and patience! I've merged it. |
Removed 'ers', improved 'emfu', added 'ec'.