bastille icon indicating copy to clipboard operation
bastille copied to clipboard

Basic Gitea/Git-Web/universal template bootstrapping.

Open 53hornet opened this issue 4 years ago • 3 comments

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.

53hornet avatar Jan 29 '21 20:01 53hornet

Thank you for the PR. I like this idea.

cedwards avatar Jan 29 '21 20:01 cedwards

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.

tobiastom avatar Feb 02 '21 07:02 tobiastom

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.

53hornet avatar Feb 02 '21 12:02 53hornet

Closed as duplicate of implemented functionality.

53hornet avatar Oct 24 '23 22:10 53hornet

Thank you @53hornet for the confirmation. I didn't want to close it without you making SURE what I was seeing had been implemented.

bmac2 avatar Oct 25 '23 05:10 bmac2