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

2.1.0: the same name used as branch name and git tag #245

Open
kloczek opened this issue Dec 3, 2022 · 4 comments
Open

2.1.0: the same name used as branch name and git tag #245

kloczek opened this issue Dec 3, 2022 · 4 comments

Comments

@kloczek
Copy link

kloczek commented Dec 3, 2022

Because of that

[tkloczko@devel-g2v SPECS]$ wget https://github.com/lloyd/yajl//archive/2.1.0/yajl-2.1.0.tar.gz
--2022-12-03 08:35:39--  https://github.com/lloyd/yajl//archive/2.1.0/yajl-2.1.0.tar.gz
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 300 Multiple Choices
Length: 105 [text/plain]
Saving to: ‘yajl-2.1.0.tar.gz’

yajl-2.1.0.tar.gz                          100%[========================================================================================>]     105  --.-KB/s    in 0s

2022-12-03 08:35:40 (33.1 MB/s) - ‘yajl-2.1.0.tar.gz’ saved [105/105]

[tkloczko@devel-g2v SPECS]$ cat yajl-2.1.0.tar.gz; echo
the given path has multiple possibilities: #<Git::Ref:0x00007fd90e5de0a0>, #<Git::Ref:0x00007fd90e51a100>

Solution could be rename 2.1.0 branch to 2.1 or 2.1.x.

@timnolte
Copy link

This issue is now causing ModSecurity build failures when trying to build OpenLiteSpeed. This is causing a major problem.

@michaelolbrich
Copy link

Possibly related, the tarball referenced here no longer works:

$ wget https://github.com/lloyd/yajl/archive/refs/tags/2.1.0.tar.gz
--2024-11-27 08:28:28--  https://github.com/lloyd/yajl/archive/refs/tags/2.1.0.tar.gz
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/lloyd/yajl/tar.gz/2.1.0/tags/2.1.0 [following]
--2024-11-27 08:28:28--  https://codeload.github.com/lloyd/yajl/tar.gz/2.1.0/tags/2.1.0
Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-11-27 08:28:28 ERROR 404: Not Found.

@duhow
Copy link

duhow commented Dec 3, 2024

Same here. The only solution is to download the branch. Change tags to heads.
https://github.com/lloyd/yajl/archive/refs/heads/2.1.0.tar.gz

@michaelolbrich
Copy link

Same here. The only solution is to download the branch. Change tags to heads. https://github.com/lloyd/yajl/archive/refs/heads/2.1.0.tar.gz

That's not the same thing. This will get you the tip of the branch not the tag. And it can change any time.

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

4 participants