gitpod-io / gitpod

The developer platform for on-demand cloud development environments to create software faster and more securely.
https://www.gitpod.io
GNU Affero General Public License v3.0
12.97k stars 1.24k forks source link

Add base64 flag to gp env #10804

Open loujaybee opened 2 years ago

loujaybee commented 2 years ago

Extend gp env to natively support base64 uploads, for multi-line files. Basically, this blog post, but built-in to Gitpod.

The use-case for this is for SSH key uploads, which should also be improved with:

Related:

However there might be more scenarios / edge cases where multi-line support would be generally useful.

Relates to:

jacobparis commented 2 years ago

If the core of this feature request is "add some way to serialize data before storing with gp env", then I think Base64 is the best way to encode but is there any other method we should consider? Binary? Gzip?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.