Consider renaming `AIIDALAB_FACTORY_RESET` to `.AIIDALAB_FACTORY_RESET`

Open Beginner friendly
#612 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, python
Domain
backend

Research direction

Find where the AIIDALAB_FACTORY_RESET flag file is written and read in the repository. Read that code and compare its naming with .FLAG_HOME_INITIALIZED and .FLAG_PENDING_MIGRATION mentioned in the issue. Update the factory reset flag filename to begin with a dot, then check all references to ensure the reset behavior still uses the renamed file.

Written by the indexing model from the issue text.

Description

@yakutovicha no rush, but good to at least prefix the AIIDALAB_FACTORY_RESET flag file written to disk with a ., to hide it better from users (they shouldn't touch it!). I would consider changing the name to .FLAG_FACTORY_RESET or something similar, as we already have .FLAG_HOME_INITIALIZED in the QE image, and now .FLAG_PENDING_MIGRATION in https://github.com/aiidalab/aiidalab-home/pull/251.

Dominant language
Python
Stars
10
Forks
15
Avg merge
1d 3h
Merged PRs (30d)
12

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aiidalab/aiidalab-docker-stack

All issues in aiidalab/aiidalab-docker-stack

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.