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
Some custom git engines are not supported #3058
Comments
can you paste the error output? |
Sure, sorry that i didn't it before $ goreleaser check
• loading config file file=.goreleaser.yaml
• checking config:
⨯ config is invalid error=unsupported repository URL: ssh://quenbyako@git.example.com/myapp
⨯ command failed error=invalid config: unsupported repository URL: ssh://quenbyako@git.example.com/myapp Same error for build command. I already made #3060 pull request which fixes this problem. |
I don't think its that simple, this is used in other places, such as releases... we'll likely need to provide a better error message (or warning) and disable things that might use that option if the repo does not consist in two parts. that said, officially, goreleaser only works with github, gitlab and gitea... so we'll need to look into how much it makes sense to dedicate time looking into this... |
I don't want to argue with you (it's honestly, goreleaser helped me a lot), but i think that this tool could be more flexible without concentrating on git hub/lab/ea. Show warning instead of silent pass through is a good thing, cause in most of cases, urls like this sounds definitely like error. but not in all cases, you know) I want to contribute a bit, so maybe we can find a way how to deal with this issue (cuz i don't want to fork whole project for this tiny problem) |
not arguing, just saying it might not be trivial to do so, although yeap it would be cool... one possible workaroud is to set a fake a git url and disable some pipes (release, brew, etc), it should work then, I believe if that works, we might be able to merge something similar to your pr, but with a big warning instructing that things might break, and what those things are |
possible fix: #3088 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
We are using gerrit in our team (in legacy terms, but this is not main point), and gerrit allows to create repository links with single path item (e.g.
ssh://quenbyako@git.example.com/myapp
, and it's a valid git repo url). But goreleaser requires (for some reason, why?) just building task requires a valid git repo with valid remote url. Why? Who knows. But it interferes with setting up the environment with goreleaser.How can we reproduce this?
goreleaser version
GoReleaser Check
Search
Code of Conduct
Additional context
I lied about goreleaser check shows no errors) but you know, even with error message, it's still a bug.
I also made a fix, will push it shortly
The text was updated successfully, but these errors were encountered: