lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] VCS caching


From: Greg Chicares
Subject: Re: [lmi] VCS caching
Date: Sat, 14 Apr 2018 00:09:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 2018-04-13 22:51, Greg Chicares wrote:
> [...]
> +    default_url="$cache_dir"/"$wx_repository"
> +    # Now we could make a list of submodules...
> +    cd "$default_url"
> +    git show master:.gitmodules |sed -e'/\.git$/!d' -e's!.*\/!!'
> +    # ...and download any that are missing to local cache, but
> +    # that seems awfully fancy. Instead, we'll let the code that
> +    # follows download them to our clone, and if we're mindful,
> +    # we'll move them from there to the cache.

commit 330ca8f6f714 automates that.

I plan to do likewise for 'wxWidgets.git'.

Then we'll have established the invariant that anything retrieved
across the internet once is never retrieved again. That invariant
already holds for /cache_for_lmi/downloads/ , and will be extended
to /cache_for_lmi/vcs as well, IOW.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]