Skip to content

[FEATURE] allow to skip packages with permission elevation #194

@jonsch318

Description

@jonsch318

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions