Token file should be stored in application data directory
Open
Nobody has claimed this yet.
enhancement
good first issue
- Dominant language
- Python
- Stars
- 2
- Forks
- 7
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 2
Description
We currently save the token file outside the standard application directories:
It would be ideal to use a platformdirs directory for this. Defining mreg_cli.dirs.DATA_DIR seems appropriate for this purpose.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with mreg_cli/tokenfile.py at the linked line and inspect how application directories are defined. Check how platformdirs can provide the data directory and whether mreg_cli.dirs.DATA_DIR already exists. Done means the token file is stored in the platform-appropriate application data directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100