HiveMinds / HiveMinds/tw-install
Set up automatic update possibility.
- Dominant language
- Shell
- Stars
- 20
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Put a twInstallConfig.txt file in /home/<linux username>/maintenance/ that contains the configuration settings of the installation.
Then make a script that scans all the folders/users in /home/ and inspects whether it contains that twInstallConfig.txt file in ../maintenance/. If it is found, read:
the username that contains the taskwarrior installation, and the direct path to the pending.data etc. files.
Preferably build the updates such that they can be added onto, rather than overwritten to, the current tw installation.
However, if need be, and a new installation is required for some reason:
- Ask permission of the user,
- Tell the user to make a backup of additional files that were added to the wsl beyond this tw install.
- Make a backup of the
pending.dataetc. file lxrun /uninstall /full /yuninstall the wsl.- Re-Install the new updated tw setup.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the existing shell installation flow and how installations under /home//maintenance/ are currently represented. Define how twInstallConfig.txt discovery, pending.data backups, user permission, and the lxrun /uninstall /full /y fallback should fit together; done means existing installations can be identified and updated without losing their data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- devops, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100