On Mon, Feb 26, 2018 at 12:31:05PM +0100, Marc Espie wrote: > On Sat, Feb 24, 2018 at 02:32:27PM +0200, Svyatoslav Mishyn wrote: > > Hi, > > > > (Sat, 24 Feb 10:10) Stuart Henderson: > > > On 2018/02/24 00:05, Stuart Cassoff wrote: > > > > Chiselapp is Fossil. > > > > I'm just starting to look into this and so far I can get what seems to > > > > be a tarball from this very pretty url: > > > > > > > > https://chiselapp.com/user/schelte/repository/dbus/tarball/dbus-92d71c1d63.tar.gz?uuid=92d71c1d639645ab73811e7edfd946d3e449ad695510ff6abfc1c9bff9a372c3 > > > > > > > > These two extensions are now on Chiselapp and I know there will be > > > > others. > > > > (most?) Tcler's prefer Chiselapp over GitHub. > > > > Maybe there's a way to fit this nicely into the ports system, like is > > > > currently done with GitHub? > > > > > > It works ok without the uuid parameter, I would try > > > > > > MASTER_SITES= > > > https://chiselapp.com/user/schelte/repository/dbus/tarball/ > > > DISTNAME= dbus-92d71c1d63 > > > > if without uuid, then default will be "trunk" branch. > > see: https://chiselapp.com/user/schelte/repository/dbus/help?cmd=/tarball > > > > So, in that case DISTNAME should be "dbus-trunk". > > I fail to see how being required to specify a full uid in non ambiguous > cases is a win... > > Maybe talk to the people a chiselapp ? there's a reason most modern version > systems allow shortened uuid... >
chiselapp is based on fossil repository (same as devel/fossil in port tree). the /tarball URL manual page is at http://fossil-scm.org/index.html/help?cmd=/tarball "r=" (or "uuid=" which is kept for backwards compatibility) is mandatory for querying a specific version (if omit, the default value is "trunk"). It could be a full uid *or* a shorten one. The name (passed as "name=" query parameter or directly in the URL) is whatever you want (no need to include the revision in the name). The following are the same (modulo the filename, which is present in the tarball, resulting different checksum): - https://chiselapp.com/user/schelte/repository/dbus/tarball/dbus-92d71c1d63.tar.gz?uuid=92d71c1d639645ab73811e7edfd946d3e449ad695510ff6abfc1c9bff9a372c3 - https://chiselapp.com/user/schelte/repository/dbus/tarball/dbus.tar.gz?uuid=92d71c1d639645ab73811e7edfd946d3e449ad695510ff6abfc1c9bff9a372c3 - https://chiselapp.com/user/schelte/repository/dbus/tarball/dbus.tar.gz?uuid=92d71c1d63 - https://chiselapp.com/user/schelte/repository/dbus/tarball/dbus.tar.gz?r=92d71c1d63 Thanks. -- Sebastien Marie
