G-Node / tonic

Framework for building services that interact with GIN
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

`templaterepo` as URL #30

Open jcolomb opened 3 years ago

jcolomb commented 3 years ago

the doc says : templaterepo should be of the form user/repository

If the form would be a url, one could use one single template repo for different gin instances, as long as the template repo is public.

achilleas-k commented 3 years ago

Good idea. I'd have to make some small changes to accommodate this, but I don't see any issues with it on first consideration.

jcolomb commented 3 years ago

would be nice to get this done, also for the submodules by the way. would help with testing. (the current template is on gin, I would need to redo one on each platform to test...)

achilleas-k commented 3 years ago

Submodules can be anywhere since they're fetched using the URL in .gitmodules.

One thing to point out: A URL for the repo would mean it would have to be public. This would also need to be the case if it's on the same server and part of the org.

jcolomb commented 1 year ago

.gitmodules is using relative links now, so this may not be right anymore.