bastille
bastille copied to clipboard
Basic Gitea/Git-Web/universal template bootstrapping.
I use a Gitea repository for my Bastille templates. It would be nice to be able to use that repository instead of just GitLab or GitHub for bastille bootstrap [template]
.
My "fix" is very basic and could probably be improved. It still assumes that the last two segments of the URL are the repo user and repo name.
This should also work for Git Web installations although I have only tested it with Gitea. It also works on the LAN, where the repository URL contains an IP address and port number.
Thank you for the PR. I like this idea.
I really like the simplicity of it. Thank you!
One little thought, which might not be part of this pull request altogether: For my personal bastille templates I decided for one repository to keep all my templates inside sub-directories. Right now I clone it manually into the correct directory, but it would be nice to set it up more easily somehow.
I really like the simplicity of it. Thank you!
One little thought, which might not be part of this pull request altogether: For my personal bastille templates I decided for one repository to keep all my templates inside sub-directories. Right now I clone it manually into the correct directory, but it would be nice to set it up more easily somehow.
This was something I had considered but instead I created a git organization/team that owned the template repositories. It's a nice way of keeping them all together but I can still bootstrap or clone a single template if I or someone else doesn't want all of them.
Closed as duplicate of implemented functionality.
Thank you @53hornet for the confirmation. I didn't want to close it without you making SURE what I was seeing had been implemented.