On 2007-11-17, Thomas Leonard <[EMAIL PROTECTED]> wrote:
> The svn version supports this (since 2007-09-18). I'll make a 0.31 
> release soon.

Nice.

> Since 0.28 you can do:
>
> $ alias man='0alias --manpage'

Ah, but it doesn't quite work. I have ion3-zi alias for the Ion3
ZeroInstall feed, and I get the Finnish man page in any locale.
I suppose it uses some unreliable heuristic to find manpages within
the packages? I saw a doc-dir option in the feed description, but 
no man-page option. Shouldn't there be a similar option for the 
man page? 

> BTW, the XML file currently lists the download location as "SITE", so it 
> doesn't work:

Works for me (0.29 from etch).

> You can check the feed like this:
>
> $ 0launch http://0install.net/2007/interfaces/FeedLint.xml \
>           http://iki.fi/tuomov/dl/Ion3.xml

Feedlint fails for me:

~$ 0launch http://0install.net/2007/interfaces/FeedLint.xml 
http://iki.fi/tuomov/dl/Ion3.xml
Checking http://iki.fi/tuomov/dl/Ion3.xml
  Checking key http://iki.fi/tuomov/dl/D00CA21EC004251B.gpg       [ OK ]
  Checking archive http://SITE/ion-3rc-20071109-bin-i386-linux.tar.gzTraceback 
(most recent call last):
  File 
"/home/tuomov/.cache/0install.net/implementations/sha1new=e6731132594dd536ecee432b116e88f549eb1303/feedlint",
 line 199, in ?
    check_source(source)
  File 
"/home/tuomov/.cache/0install.net/implementations/sha1new=e6731132594dd536ecee432b116e88f549eb1303/feedlint",
 line 128, in check_source
    actual_size = get_size(source.url)
  File 
"/home/tuomov/.cache/0install.net/implementations/sha1new=e6731132594dd536ecee432b116e88f549eb1303/feedlint",
 line 119, in get_size
    return get_http_size(url)
  File 
"/home/tuomov/.cache/0install.net/implementations/sha1new=e6731132594dd536ecee432b116e88f549eb1303/feedlint",
 line 79, in get_http_size
    http = httplib.HTTPConnection(address.netloc, address.port or 80)
AttributeError: 'tuple' object has no attribute 'netloc'

-- 
Tuomo

Reply via email to