tech-pkg archive

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

Re: creating unique urls for binary packages

* On 2017-05-18 at 06:24 BST, matthew sporleder wrote:

> A few days ago we ran into a situation where some packages were
> rebuilt but not given new names, causing pkgin and friends to be upset
> about checksums of files not matching pkg_summary because
> had the packages cached from the previous build.
> There are a few ways to resolve this, but the easiest one is to have
> the client (pkgin) append a unique identifier (like the build date) to
> the package's url:
> bash-
> when it fetched that package.
> Thoughts?

This seems like a bug in the CDN?  pkgin itself should handle rebuilt
packages ok, as long as you are running a version with this commit:

Are you not enabling ETags or something?

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index