FEATURE: Allow git push from explore
There are three ways to provide the possibility to push modified sources to a git repo from a container:
- Either the repo is public and pushing is possible via https with login name and password
- Either there is a private key stored in the container
- Either the user provide a read-write token at run-time as an environment variable
login name and password method
This is fine. But won't work in several situation.
private key stored in the container
This is not a good solution, since the private key stays in the image and can be seen via the explore command. A question remains is that ok with a passphrase? (with a passphrase, the private key is useless without it).
token provided at run-time
That is the optimum solution. It requires some change in KuFAIR, provide environment variables. and it requires some documentation how to push with a private token.