Skip to content
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

Some way to share definitions? #39

Open
yajo opened this issue Sep 15, 2020 · 10 comments
Open

Some way to share definitions? #39

yajo opened this issue Sep 15, 2020 · 10 comments

Comments

@yajo
Copy link

yajo commented Sep 15, 2020

I see this could be a great way to work, and I'd like to consider including it in our dev workflow toolbelt.

It would be very nice if there'd be a way to share definitions, something like a git repo would be awesome. This way, devs in the team could share some specifics of the projects, such as where the git code exists, what's the project URL, how to connect to the server via SSH, and so on.

Of course, being able to include custom items in a project, or custom projects, that wouldn't be shared would be just perfect.

@DevAlien
Copy link
Owner

Ok, could you elaborate more on this?
You basically want to have some sort of extra fields in a workspace? or just be able to share the workspace? I'm asking that because it kind of makes sense, but for example to launch your editor with the path to the code is not the same for everyone, so that wouldn't be useful.

Do you have any idea?

@max246
Copy link
Contributor

max246 commented Sep 15, 2020

Regarding path can be done in this way:

  • Each item has a base path that is captured or input by the user when selecting for example the folder to open
    This base path could be exported as blank to be imported to other users and then amend to path the right environment.

@yajo
Copy link
Author

yajo commented Sep 17, 2020

Humm true.

Also maybe some people want to use one terminal, editor or browser, and some people others...

There could be a place where to configure your favourite apps for such common scenarios. Or to define some variables that indicate the root of your dev folders. Then the shared template could use those variables to present a shared configuration for all users within a team, without forcing emacs users to use vim or viceversa.

@DevAlien
Copy link
Owner

browser , terminal etc are the default ones in your system. We could make a base path in a project and then the commands are going to be executed from that directory.

defaults can be interesting for a workspace, we have to think as well design wise how we could implement that. And then once that is figured out we could make an import and export function

@yajo
Copy link
Author

yajo commented Sep 17, 2020

Humm yes.

The point is that imagine one service moves from one domain to another... Then all devs in the team just open workspaces, sync it with the team config, and then when opening the website, it opens the correct domain and not the old one.

Just an example, you know? Something like project settings working out of the box for everybody.

I guess the complicated part is that maybe somebody would still want to add some item just for their computer, but well... They can always use a separate project for those items after all...

@joao-p-marques
Copy link

Hi. This seems like a great idea.
IMHO, a good way to do it would be following the same principle as, for example, VSCode, where you can have global settings set up by the user (these could be paths for the appropriate binaries, which editor to use, etc.) and then project specific settings (like server locations, domains, etc.), which could be shared by the team.
A good way to enable syncing would be to simply allow to define settings with some sort of file (YAML, for example) and then we can sync those with an external tool (like git, syncthing, etc.)

@DevAlien
Copy link
Owner

DevAlien commented Sep 19, 2020 via email

@yajo
Copy link
Author

yajo commented Sep 19, 2020

It seems a nice enhancement too.

Of course, we're just sharing ideas, don't feel guilty if any of them falls out of scope of what you think the project is 😉

@DevAlien
Copy link
Owner

Of course, but I want to find a solution that works for most people, without making it too complex

@yajo
Copy link
Author

yajo commented Sep 19, 2020

I'm thinking that after all you have to store configurations somewhere, right? If you let the user to specify one or several places, he can choose any tool he wants to sync just one of those. That'd be the simplest fix I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants