extend gp-cli with possibility to save and restore folders
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
In ticket #340 is clearly written the need to persist the home directory of a user. Like you answered this can have many side effects.
We store at the moment as a workaround some config directories like gcloud, 1password-cli,... folder via a simple
generate targz -> base64 encode without word wrap -> store in gitpod ENV
and in the startup of the workspace just vice versa.
This works for small files quite well but is not very nice and not handy for larger files.
Please introduce the methods
gp store [ENV VAR Name] [FILE/FOLDER]
gp restore [ENV VAR Name] [FILE/FOLDER]
AND add in the sections for the management in the user settings like the environment variables, so that you can see and delete stored FILES/FOLDERS
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 by locating the gp-cli command entry points and the user-settings area that manages environment variables. Define how gp store and gp restore handle files and folders, then verify that stored items can be viewed and deleted from user settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100