TheHipbot / hermes

Code Repository Manager
Apache License 2.0
4 stars 1 forks source link

Add support for multiple repo directories #5

Open TheHipbot opened 6 years ago

TheHipbot commented 6 years ago

Currently hermes has a single repo_path configured in the .hermes.yml or by default being $HOME/hermes-repos/. Instead hermes should support having multiple repo paths for use cases such as Golang projects (which should be stored in $GOPATH/src) whereas you may want to store non-go repos elsewhere. I think that in the case where hermes is cloning a repo and unsure which repo_path to clone it to, the user should be prompted to select from the configured paths, but would be open to suggestions. I have also thought about adding support for .hermesrc files that could live in the target project which could specify an ideal repo_path but prompting would be a good starting point. I see a couple parts to this which could be done incrementally:

TheHipbot commented 5 years ago

Now that go supports builds outside of the gopath this is less of a priority