[Pkg-electronics-devel] Reviving the fped package in Debian
Paul Boddie
paul at boddie.org.uk
Fri Jul 5 22:20:34 BST 2019
On Sunday 30. June 2019 22.17.57 Paul Boddie wrote:
> On Sunday 30. June 2019 21.56.32 Carsten Schoenert wrote:
> >
> > uscan is very flexible as long there is some url to look at something,
> > given the old fped git repo isn't alive anymore adding a watch is
> > depending on some new source url.
>
> The old repository does work, though:
>
> git://projects.qi-hardware.com/fped.git
>
> I have cloned it and have been working out of that clone with the newer
> packaging files. But the problem may well be how to obtain release archives
> when they are made available on subpages of the links found on the downloads
> page:
>
> http://projects.qi-hardware.com/index.php/p/fped/downloads/
In fact, it may just be easier to target the repository directly using recent
versions of uscan. The Web page with downloads labels the links with filenames
that might be usable, such as...
fped_0.0+201205.orig.tar.gz
...but the actual link targets (href attribute values) are fashioned
differently and are not helpful, such as...
/index.php/p/fped/downloads/84/get/
If uscan can be made to retrieve the labels, then the HTML-based approach is
still viable. I did look at the documentation and the code for uscan and
wasn't particularly encouraged.
Of course, the repository would ideally provide tagged versions, but since
there aren't any tags then it appears that something like this is necessary:
opts="mode=git, pretty=0.1+%cd" git://projects.qi-hardware.com/fped.git HEAD
Anyway, I've submitted a pull request to the GitHub repository:
https://github.com/xiangfu/deb-pkg/pull/1
I would rather not have to do things through GitHub, but let us see whether
this path leads anywhere first.
Paul
More information about the Pkg-electronics-devel
mailing list