Re: [dev] Re: [stali] updating package source

From: Kamil Cholewiński <>
Date: Thu, 15 Sep 2016 09:30:37 +0200

On Thu, 15 Sep 2016, Anselm R Garbe <> wrote:
> Let's call the tool metasrc, it consists of a metafile that contains the format:
> # comment
> local/path/situation:git-url[#tag|ref|branch]
> ...


> This has also the advantage, that in theory one could also deal with
> other source control systems, if some repo is not available as git but
> instead as hg or even just a tarball.

Gets interesting from here. The metafile format would have to specify
how to interpret the "*-url[#...]" part and invoke the correct helper
tool. Something like:

> some/local/path:scm:url#ref


> vendor/asdf:git:
> vendor/qwer:svn:

Next, how do we handle extracting tarballs? In:

> vendor/zxcv:tgz:

Assuming zxcv.tgz has contents:

> zxcv/readme.txt
> zxcv/zxcv.c

How does this get extracted? Like this?

> vendor/zxcv/zxcv/readme.txt
> vendor/zxcv/zxcv/zxcv.c

Or like this?

> vendor/zxcv/readme.txt
> vendor/zxcv/zxcv.c

What if the "zxcv" in "vendor/zxcv" doesn't match the "zxcv" in

Received on Thu Sep 15 2016 - 09:30:37 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 15 2016 - 09:36:11 CEST