libelektra icon indicating copy to clipboard operation
libelektra copied to clipboard

[new-backend] resolver: add strategy for sudo user:/ namespace

Open atmaxinger opened this issue 3 years ago • 0 comments

I have added a resolver strategy called s for the user:/ namespace. If the environment variable SUDO_USER is set, it will use passwd to resolve the path for this user. Unforunately, the tests do not work (yet), but this seems to be the case of the new-backend branch - not quite sure how to fix them yet.

Basics

  • [ ] Short descriptions of your changes are in the release notes (added as entry in doc/news/_preparation_next_release.md which contains _(my name)_) Please always add something to the release notes.
  • [ ] Details of what you changed are in commit messages (first line should have module: short statement syntax)
  • [ ] References to issues, e.g. close #X, are in the commit messages.
  • [ ] The buildservers are happy. If not, fix in this order:
    • [ ] add a line in doc/news/_preparation_next_release.md
    • [ ] reformat the code with scripts/dev/reformat-all
    • [ ] make all unit tests pass
    • [ ] fix all memleaks
  • [ ] The PR is rebased with current master.

Checklist

  • [ ] I added unit tests for my code
  • [ ] I fully described what my PR does in the documentation (not in the PR description)
  • [ ] I fixed all affected documentation
  • [ ] I added code comments, logging, and assertions as appropriate (see Coding Guidelines)
  • [ ] I updated all meta data (e.g. README.md of plugins and METADATA.ini)
  • [ ] I mentioned every code not directly written by me in reuse syntax

Review

Labels

  • [ ] Add the "work in progress" label if you do not want the PR to be reviewed yet.
  • [ ] Add the "ready to merge" label if the basics are fulfilled and no further pushes are planned by you.

atmaxinger avatar Jul 06 '22 15:07 atmaxinger