<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Versioned Go paths are not valid"
href="https://bugs.llvm.org/show_bug.cgi?id=44550">44550</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Versioned Go paths are not valid
</td>
</tr>
<tr>
<th>Product</th>
<td>Website
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>General Website
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stephen.gutekanst@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, mike@sqlby.me
</td>
</tr></table>
<p>
<div>
<pre>According to the bindings/go/README.txt documentation:
<span class="quote">> The package path "llvm.org/llvm/bindings/go/llvm" can be used to
> import the latest development version of LLVM from SVN. Paths such as
> "llvm.org/llvm.v36/bindings/go/llvm" refer to released versions of LLVM.</span >
`llvm.org/llvm/bindings/go/llvm` does appear to be a valid Go package path as
godoc.org is able to fetch the package contents for documentation generation:
<a href="https://godoc.org/llvm.org/llvm/bindings/go/llvm">https://godoc.org/llvm.org/llvm/bindings/go/llvm</a>
But the versioned paths llvm.org/llvm.v36/bindings/go/llvm does not appear to
be valid:
<a href="https://godoc.org/llvm.org/llvm.v36/bindings/go/llvm">https://godoc.org/llvm.org/llvm.v36/bindings/go/llvm</a>
This is an issue with the llvm.org website which is not responding correctly to
the ?go-get=1 requests that are made. For example compare the `<meta>` tag
output of:
```sh
$ curl -L <a href="https://llvm.org/llvm/bindings/go/llvm?go-get=1">https://llvm.org/llvm/bindings/go/llvm?go-get=1</a>
...
<head>
<meta http-equiv="refresh" content="0; url=/">
<meta name="go-import" content="llvm.org/llvm svn
<a href="https://llvm.org/svn/llvm-project/llvm/trunk">https://llvm.org/svn/llvm-project/llvm/trunk</a>">
</head>
...
```
vs:
```sh
$ curl -L <a href="https://llvm.org/llvm.v36/bindings/go/llvm?go-get=1">https://llvm.org/llvm.v36/bindings/go/llvm?go-get=1</a>
...
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /llvm.v36/bindings/go/llvm was not found on this
server.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at llvm.org Port 443</address>
</body></html>
```</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>