[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dealing with 404 vendor packages



On Sun, Mar 15, 2020 at 1:46 PM Tong Sun <suntong001@gmail.com> wrote:
>
> On Sun, Mar 15, 2020 at 1:36 PM Shengjing Zhu <zhsj@debian.org> wrote:
> >
> > On Mon, Mar 16, 2020 at 1:30 AM Tong Sun <suntong001@gmail.com> wrote:
> > [...]
> > > https://github.com/kubernetes/api/archive/vkubernetes-1.14.0-beta.0.tar.gz
> > > 2020/03/15 13:05:42 Could not create a tarball of the upstream source:
> > > 404 Not Found
> >
> > I think the log is pretty clear.
> > It has nothing to do with k8s.io/api 404, but the tarball url is 404.
>
> And that in turn is caused by
>
> > 2020/03/15 13:05:41 Found latest tag "kubernetes-1.14.0-beta.0"
>
> Which is not quite accurate, according to https://github.com/kubernetes/api/tags
>
> because k8s.io/api has switched its tagging theme in the middle from
> 1.1x to V1.1x.
>
> I am more interested in how to move on and overcome the issue, rather
> than knowing why it stopped working.

$ dh-make-golang make -type=l -git_revision=v0.17.4 k8s.io/api
2020/03/15 13:48:11 Starting "dh-make-golang v0.3.3 linux/amd64"
2020/03/15 13:48:11 Downloading "k8s.io/api/..."
2020/03/15 13:48:23 Determining upstream version number
2020/03/15 13:48:23 Found latest tag "kubernetes-1.17.4"
2020/03/15 13:48:23 WARNING: Latest tag "kubernetes-1.17.4" is not a
valid SemVer version
2020/03/15 13:48:23 Latest tag "kubernetes-1.17.4" matches master
2020/03/15 13:48:23 Package version is "kubernetes-1.17.4"
2020/03/15 13:48:23 Determining dependencies
2020/03/15 13:48:24 Downloading
https://github.com/kubernetes/api/archive/vkubernetes-1.17.4.tar.gz
2020/03/15 13:48:24 Could not create a tarball of the upstream source:
404 Not Found

$ dh-make-golang make -type=l -git_revision=kubernetes-1.17.4 k8s.io/api
2020/03/15 13:49:12 Starting "dh-make-golang v0.3.3 linux/amd64"
2020/03/15 13:49:12 Downloading "k8s.io/api/..."
2020/03/15 13:49:23 Determining upstream version number
2020/03/15 13:49:23 Found latest tag "kubernetes-1.17.4"
2020/03/15 13:49:23 WARNING: Latest tag "kubernetes-1.17.4" is not a
valid SemVer version
2020/03/15 13:49:23 Latest tag "kubernetes-1.17.4" matches master
2020/03/15 13:49:23 Package version is "kubernetes-1.17.4"
2020/03/15 13:49:24 Determining dependencies
2020/03/15 13:49:24 Downloading
https://github.com/kubernetes/api/archive/vkubernetes-1.17.4.tar.gz
2020/03/15 13:49:25 Could not create a tarball of the upstream source:
404 Not Found


Reply to: