[chirp_devel] Could we please get a "latest" symlink to the most recent daily build?
Nolan Darilek
Fri Mar 30 10:10:45 PDT 2018
That's fair. Didn't know about the LATEST directory. Even so, having a
chirp-daily-latest.tar.gz would be one less moving part in the CI manifest.
On 03/30/2018 12:04 PM, Dan Smith via chirp_devel wrote:
>> 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
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
>
More information about the chirp_devel
mailing list