[sane-devel] [janitorial] CI now builds snapshots with "funny" versions

Olaf Meeuwissen paddy-hack at member.fsf.org
Sat Jul 1 12:32:12 UTC 2017


Hi Allan,

About two weeks ago I wrote on the sane-devel mailing list:

> Dear list,
>
> [ ... creating `git describe --dirty` versioned tarballs ...]
>
> So then, what does happen on Alioth when the daily snapshots are made?
> These snapshots are, unsurprisingly, courtesy of a daily cron job.  It
> runs something close to
>
>   git archive --format=tar master | gzip > sane-backends-$DATE.tar.gz
>
> I've tried to run `make dist` on Alioth.  No such luck.  [...]
>
> The fact you cannot run `make dist` on Alioth is probably why the daily
> snapshots are just `git archive`s, but those archives are not made the
> way as our release tarballs.  And that bugs me.  Maybe I should change
> that cron job to pull the tarballs from GitLab.com ...

Well, I did just that and ran it manually without any hitch.  There is
now an extra snapshot[1] that is made the same way we roll our release
tarballs.

 [1] http://sane-project.org/snapshots/

This snapshot corresponds to the most current git checkout that passed
the CI build at GitLab.com.

The updated make-git-snapshots.sh should (famous last words!) run
without any trouble and produce no output.  If, however, you start
receiving mail from your daily sane cronjob, just forward it to me
and I'll fix it up.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list