dotter icon indicating copy to clipboard operation
dotter copied to clipboard

[FEATURE] allow to skip packages with permission elevation

Open jonsch318 opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Some packages of mine are located at /etc... as root. But I do not always want to elevate dotter permission when deploying because most of the time I don't change these packages

Describe the solution you'd like There are a couple different solutions to this:

  1. The first easiest is a new flag -skip-elevating-packages on the cli so that packages with a specified owner can or should be skipped
  2. dotter could be smarter when deploying. If the package has not changed (and dotter is allowed to read it) do not elevate. Else either throw and error if not allowed to elevate or elevate permissions

One sidenote We could also try to implement polkit integration as an optional setting to elevate permissions.

jonsch318 avatar Jan 22 '25 21:01 jonsch318