Skip to content

standardise user name interface#7245

Open
oliver-sanders wants to merge 2 commits intocylc:masterfrom
oliver-sanders:7240
Open

standardise user name interface#7245
oliver-sanders wants to merge 2 commits intocylc:masterfrom
oliver-sanders:7240

Conversation

@oliver-sanders
Copy link
Copy Markdown
Member

remote: remove unused remote_user interface:

  • Residual remains of the Cylc 7 remrun interface.

remote: standardise user name interface

  • Replace pwd.getpwnam().pw_name with getpass.getuser().
  • Closes standardise user name interface #7240
  • This ensures consistency with other parts of Cylc which are already
    using the getpass interface.

This is targetting 8.7.0 as the change was judged a little risky for a bugfix release.

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).
  • Changelog entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

* Residual remains of the Cylc 7 remrun interface.
* Replace `pwd.getpwnam().pw_name` with `getpass.getuser()`.
* Closes cylc#7240
* This ensures consistency with other parts of Cylc which are already
  using the `getpass` interface.
@oliver-sanders oliver-sanders added this to the 8.7.0 milestone Mar 24, 2026
@oliver-sanders oliver-sanders self-assigned this Mar 24, 2026
@oliver-sanders oliver-sanders added bug? Not sure if this is a bug or not small labels Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug? Not sure if this is a bug or not small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

standardise user name interface

1 participant