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

Project vs User vs System level installation? #1

Open
akarasulu opened this issue Jun 5, 2022 · 1 comment
Open

Project vs User vs System level installation? #1

akarasulu opened this issue Jun 5, 2022 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@akarasulu
Copy link

akarasulu commented Jun 5, 2022

Original question was about proenv installs into .proenv and cleaning the .git directory when used as a template repo

Why not fetch directly into .proenv? Why the template approach? Or is there a better way?

Answers

  • The temporary hooks/post-checkout script MUST be accessible at clone time (the only template justification)
  • The rest of the proenv artifacts moved out or cleaned out of the .git repository effectively is like installing proenv for the project which might be preferred to installing it globally.
@akarasulu akarasulu self-assigned this Jun 5, 2022
@akarasulu
Copy link
Author

akarasulu commented Jun 6, 2022

Do we want proenv installed somewhere with its bin/ directory accessible on the PATH? What will it buy us?

Answers

  • The ONLY benefit of global installation is this simple proenv-clone script being on the system path to clone new repositories while outside of a proenv project's folder

May explicit use of curl be better? Not necessarily.

  • Why elevate privileges to install onto the system? Instead, if the installation does occur to allow for us outside of a project repository directory, then it should be in the user's ${HOME}/.local/bin.

This is a valid option especially if its use is overridden by a more specific version kept in the proenv project's .proenv/bin

  • Version information should be stored both for the project and for user installation
  • Installation for the user should use a different script rather than use proenv-clone

@akarasulu akarasulu changed the title Clean up junk remaining in .git Project vs User vs System level installation Jun 6, 2022
@akarasulu akarasulu added the question Further information is requested label Jun 6, 2022
@akarasulu akarasulu changed the title Project vs User vs System level installation Project vs User vs System level installation? Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant