[chirp_devel] Could we please get a "latest" symlink to the most recent daily build?

Dan Smith
Fri Mar 30 10:04:47 PDT 2018


> I'm putting together a Flatpak distribution channel. Flatpaks are
> cross-distribution, containerized, desktop packages for Linux. I'm much
> of the way toward having this automated via GitLab CI, but I still have
> to change the URL *and* the SHA256 checksum between daily builds. What
> would be better is if the URL remained constant and I only trigger a
> build if the checksum changes, because calculating that is easy. Harder
> would be scraping the site to determine the latest daily build,
> constructing the download URL *and* updating the checksum. :)

You could pull this reliably, and when the checksum of the .tar.gz changes, pull the real file (which you have the filename for in the manifest):

https://trac.chirp.danplanet.com/chirp_daily/LATEST/SHA1SUM

That would mean you're polling a single URL, and pulling down a tiny file instead of the whole tarball periodically just to see if it has changed.

--Dan


More information about the chirp_devel mailing list