Hi all,

Is there a way to grab the "latest" version of a SQLite source file?

In this instance, we have an automatic nightly process (shell script)
that builds the DB Browser for SQLite nightly builds.

One of the steps uses curl to download fileio.c, test_windirent.c/.h
from fossil, so the fileio extension can be included in the nightly
builds.

It's using a specific commit for each of the downloads at the moment,
as that's the only thing I was able to figure out at the time of
creating the script:

curl -L -o src/extensions/fileio.c https://sqlite.org/src/raw/ext/misc/fileio.c?name=288e7230e0fe464d71b0694e2d8bdd3a353118ac2e31da3964b95f460f09915f curl -L -o src/extensions/test_windirent.c https://sqlite.org/src/raw/src/test_windirent.c?name=a895e2c068a06644eef91a7f0a32182445a893b9a0f33d0cdb4283dca2486ac1 curl -L -o src/extensions/test_windirent.h https://sqlite.org/src/raw/src/test_windirent.h?name=90dfbe95442c9762357fe128dc7ae3dc199d006de93eb33ba3972e0a90484215

Leaving off the `name=...` argument just returns a HTML page, instead
of giving the expect latest version too.

Is there a way to always get "the latest" version of the file? :)

Regards and best wishes,

Justin Clift
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to