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

Make the default user/org configurable #214

Closed
stephenmathieson opened this issue Sep 13, 2020 · 4 comments
Closed

Make the default user/org configurable #214

stephenmathieson opened this issue Sep 13, 2020 · 4 comments

Comments

@stephenmathieson
Copy link
Member

It might be nice to let users control the default user/org name when installing packages. Today when you do clib install foo, the clibs/foo package is installed. This feature would let you control that behavior and replace clibs/ with yourusername/.

Not sure where we'd persist this tho, as we currently have no "global state". Maybe create $HOME/clibrc.json or something?

@Isty001
Copy link
Member

Isty001 commented Sep 14, 2020

I really like the idea of having a config file to override some default behavior, but I think this exact option could break some packages.

If the default org is changed, then packages in the dependency chain which already reference something like hash will be resolved to yourusername/hash instead of clibs/hash,

@jwerle
Copy link
Member

jwerle commented Sep 14, 2020

I echo @Isty001 on this one. I also do think we need a global config!

@stephenmathieson
Copy link
Member Author

@Isty001 that's a great point, I didn't think about that.

@Isty001
Copy link
Member

Isty001 commented Oct 5, 2020

Closing this one, but opened #220 for the global config file.

@Isty001 Isty001 closed this as completed Oct 5, 2020
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

3 participants