Re: Cannnot fetch net-im/scli

From: Michael Gmelin <grembo_at_freebsd.org>
Date: Sun, 02 Jan 2022 22:29:17 UTC

On Sun, 2 Jan 2022 18:11:05 +0000
Graham Perrin <grahamperrin@gmail.com> wrote:

> On 02/01/2022 11:55, Andrea Venturoli wrote:
> 
> > => Fetched file size mismatch (expected 140278, actual 140271)   
> 
> 
> Maybe compare with 
> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260852> where I 
> imagined an issue with GitHub, later investigation (linked) in
> FreeBSD Forums found things that I do not pretend to understand; "not
> that github regenerated tarball, but sources indeed changed" etc..

I checked the contents, the one file that changed is:

./usr/local/share/scli/VERSION

-d2f437a  (HEAD -> master, tag: v0.6.5, develop)
+d2f437a  (tag: v0.6.5)

This is due to the fact that VERSION contains:

$Format:%h %d$

which changes based on the state of the repo (right after the 0.6.5
release HEAD; master, develop and the tag were all the same, this
changed with additional commits).

git-archive (which github uses, or at least something to that
effect) creates archives dynamically based on this content. Good news
is that 0.6.5 will stay stable for now.

There is a description/discussion on this general issue here:
https://github.com/python-versioneer/python-versioneer/issues/217

I opened a task to discuss the issue with the author and tagged 0mp in
it: https://github.com/isamert/scli/issues/151

I also pushed a corrected distinfo:
https://cgit.freebsd.org/ports/commit/?id=a22bf332

Best
Michael


-- 
Michael Gmelin