Skip to content

uninstall: handle elevation to root like minstall - #13948

Open
rmader wants to merge 1 commit into
mesonbuild:masterfrom
rmader:uninstall-sudo
Open

uninstall: handle elevation to root like minstall#13948
rmader wants to merge 1 commit into
mesonbuild:masterfrom
rmader:uninstall-sudo

Conversation

@rmader

@rmader rmader commented Nov 23, 2024

Copy link
Copy Markdown

For better consistency and because it can often come in handy.


Supersedes #8846 by following the approach of #11366

For better consistency and because it can often come in handy.
@bonzini

bonzini commented Jan 30, 2025

Copy link
Copy Markdown
Contributor

Can you rebase and fix the linters?

@dabrain34

Copy link
Copy Markdown
Contributor

@rmader ping ^

@bonzini

bonzini commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Two changes are needed:

  • it should check for run0 as well
  • the MesonException import is missing

@eli-schwartz eli-schwartz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a rather bigger problem, which is that we have two copies of the same code now. We should instead have uninstall, import it from mesonbuild.minstall.

@bonzini bonzini added this to the 1.12 milestone Jun 8, 2026
@bonzini

bonzini commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@rmader can you have a look at sharing the code between install and uninstall?

@rmader

rmader commented Jun 22, 2026

Copy link
Copy Markdown
Author

I'll try to get back to this in the coming days!

@bonzini bonzini modified the milestones: 1.12, 1.13 Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants