Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared environment variables and secrets #3

Closed
alokedesai opened this issue Jul 8, 2021 · 4 comments
Closed

Shared environment variables and secrets #3

alokedesai opened this issue Jul 8, 2021 · 4 comments

Comments

@alokedesai
Copy link
Member

Is your feature request related to a problem? Please describe.
Provisioning a project with the right environment variables is often very difficult. It's unclear which tools or scripts need to be run and what dependencies I need.

Describe the solution you'd like
I'd like for Warp to automatically embed shared env vars and secrets when I cd into the appropriate directory.

Additional context
Technically, two possible ways we could implement this are by integrating with tools like Nix or Docker. We could also investigate building our own format for representing shared environment variables on a per directory/repo basis. Using our precmd/preexec hooks, we could source these environment variables as necessary.

@tony-o
Copy link

tony-o commented Jul 14, 2021

Direnv is another tool that does this.

@reitzig
Copy link

reitzig commented Oct 5, 2021

Direnv is another tool that does this.

Seconded. I'd favor a portable solution over something specific to my terminal (emulator) any day.

@elviskahoro elviskahoro changed the title Shared environment variables and secrets Idea: Shared environment variables and secrets Nov 7, 2021
@elviskahoro
Copy link
Contributor

@reitzig direnv, is a shell tool. by portable do you mean across OSs or across shells, ...? The plan is to build Warp for Mac, web (wasm), linux, and windows.

@reitzig
Copy link

reitzig commented Nov 7, 2021

Portable across terminals; my colleagues might not use Warp even if I did and agreeing on a "background" tool is a lot easier than a "frontend" tool.

@elviskahoro elviskahoro changed the title Idea: Shared environment variables and secrets Plugin: Shared environment variables and secrets Nov 15, 2021
@elviskahoro elviskahoro changed the title Plugin: Shared environment variables and secrets Shared environment variables and secrets Dec 6, 2021
@elviskahoro elviskahoro added Team and removed Novel labels Dec 6, 2021
@warpdotdev warpdotdev locked and limited conversation to collaborators Jan 20, 2022
@elviskahoro elviskahoro converted this issue into discussion #633 Jan 20, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants