-
Notifications
You must be signed in to change notification settings - Fork 24
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
Revert on downgrade effects #158
Comments
Thanks for describing this feature request. If I understood you correctly, you propose a new feature where As of now, the only way of tracking downgraded packages would be to look at the However, I could imagine the following new CLI option:
This would trigger the following workflow:
@kostadinnm would this workaround still be useful for your use-case? @pbrisbin WDYT? I could imagine this feature request being a part of #118 since it also involves non-interactive actions similar to the ones mentioned in the issue. |
Well, you know me, I'm always trying to find ways for What do you think of downgrade --unignore [pkg...] The Because of the printing, you could do: downgrade --unignore | pacman -S - WDYT? To go fully good-oss-citizen, we could consider extracting the parts of pacignore ls|add|rm [pkg...] and see if we can get that added to pacignore rm | pacman -S - |
Yes, atreyasha, that was exactly what I mean. |
And thanks for doing that :)
That sounds good as a standalone feature in
And this sounds like the best-case scenario, since we add a new But in any case, I do think we have a strong case for it; because pacman already offers the |
Following up on this question, @pbrisbin any inputs? |
Sorry, no experience there. It is an open source project, so it must be possible right? |
FWIW, I think the
Defer to you though. |
Yes, possible. I found their GitLab repository here.
LGTM as well. We can fine-tune once I create a PR. |
I was searching for an Is there an update on this discussion? Thank you for your software and this productive discussion. |
@AlexFolland thank you for your comment and kind words. Unfortunately no updates since the last discussion. I had initially placed this issue on a lower priority compared to the more recent ones due to the complexity involved. But since there is interest, I'll try and get to it sooner. |
Based on the quick discussion on the Some thoughts on developing
WDYT? Source: https://wiki.archlinux.org/title/pacman#Skip_package_from_being_upgraded |
All sounds good to me. I don't feel strongly, but I think naming it |
Should we consider making a downgrade Org on GitHub, to hold downgrade/downgrade and downgrade/pacignore repositories? It seems like overkill, but would also allow you to be a full Admin in the Org and thus have more control over the projects than I can grant when they're personal repositories to me. |
Having to use a separate tool does kind of defeat the beauty of unignoring using the same tool that was used to ignore. It limits the discoverability by someone who downgraded and ignored the package using |
No, you would still use |
Okay, am on board to call it
I like the idea. It seems like overkill now, but I can see this being useful when I would say let's do it :) We probably need to discuss an org photo, unless you already have some ideas in mind |
🚀 Feature Request
Background
Hello.
I'd like to propose an enhancement, which should be quite easy to implement, I guess.
I've downgraded a dependency of a package that refused to upgrade. Now, a new version of my main package is released, but I need to use other tool(
pacman
) to revert the effects of the downgrade. I'd memoize easier, if utilizing the same command interface for downgrading and reverting the downgrade actions.Proposed feature
downgrade
should be able to revert package version freeze.The text was updated successfully, but these errors were encountered: