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

Option to have bare repositories without .git in name #530

Open
wbrijesh opened this issue May 24, 2024 · 1 comment
Open

Option to have bare repositories without .git in name #530

wbrijesh opened this issue May 24, 2024 · 1 comment

Comments

@wbrijesh
Copy link

I use soft serve and legit but every few months I end up setting up my server again (not because of git) and I end up rewriting legit code to work with .git extension and not show it in URL

I only have issue with .git in url because go-import meta tag (to go get packages) only works if there isn't a .git in the meta tag and the URL

I know it is standard practice to use the .git suffix in bare repositories but could you please add a flag in config file for soft serve to not use .git extension

@aymanbagabas
Copy link
Member

@wbrijesh Soft Serve has support for proper go-import meta tag curl https://YOUR_SOFT_SERVE_SERVER/REPO. Given that Soft Serve doesn't have a web interface yet you could redirect Legit go-import requests to your Soft Serve instance to get a working meta tag requests.

With that being said, I really admire Legit and wouldn't mind some sort of a port for its UI to Soft Serve with custom templates. That's always been the vision for Soft Serve web UI. If that something you're interested in, you're more than welcome to send a PR. Personally, we don't have the capacity right now to work on such a big feature.

Related: #215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants