Re: [PATCH] New library wmgeneral

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
On 08/17/2015 06:32 AM, Alexey I. Froloff wrote:
> Thank you.  If only there would be reliable tarball source, I'd
> be happy.
> 
> $ wget -O libdockapp-0.7.0.tar.gz-one http://windowmaker.org/dockapps/\?download\=libdockapp-0.7.0.tar.gz
> ...
> $ sleep 4
> $ wget -O libdockapp-0.7.0.tar.gz-two http://windowmaker.org/dockapps/\?download\=libdockapp-0.7.0.tar.gz
> ...
> $ md5sum libdockapp-0.7.0.tar.gz-*
> ad0d25267cd1442e1e08eb345f94f153  libdockapp-0.7.0.tar.gz-one
> a59c24a41f8f4fc81c7ac26df7029f2e  libdockapp-0.7.0.tar.gz-two
> $ tar tf libdockapp-0.7.0.tar.gz-one | head -1
> dockapps-bc1223a/
> 
> Does it look like "source tarball" to you?

I'll admit this is an ugly hack I came up with when I put together the
dockapps webpage a while ago.

The update-dockapps.pl script in the dockapps repo identifies the
appropriate subdirectory at the appropriate commit and creates links for
the webpage which use repo.or.cz's snapshot feature to fetch a tarball.
 It has the nasty side effects of a not-very-useful filename/directory
and differing timestamps.

It is, however, easy to maintain and avoids having to host the tarballs
somewhere.

I'm definitely open to ideas for improvement.

Doug


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.