Re: Wildcards in Interface URI

Thomas Leonard <[email protected]> Fri, 21 Oct 2016 11:38:53 +0100
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy-mbvY_HkijrgZvo=8sfbyCXuBrd8Yt2XLfZexfGxsEeg@mail.gmail.com>
Was probably fixed in 2.5 when we switched from Python's urllib to libcurl.

On 21 October 2016 at 07:47, Eric Duhamel <[email protected]> wrote:
> My Beaglebone is running 2.7, which seems to download the archive just fine,
> so this must be already fixed in newer Zeroinstall versions.
>
> On Sun, Oct 16, 2016 at 1:40 AM, Eric Duhamel <[email protected]> wrote:
>>
>> Looks like I'm running zeroinstall-injector 2.3.3 - unfortunately it looks
>> like that's a rather old version provided by Ubuntu 14.04
>>
>> On Sat, Oct 15, 2016 at 7:38 AM, Thomas Leonard <[email protected]> wrote:
>>>
>>> On 9 October 2016 at 21:36, Eric Duhamel <[email protected]> wrote:
>>> > I'm using a web archiving service (archive.org) that redirects to a
>>> > mirror
>>> > when resolving a URL. I've noticed Zeroinstall supports redirects by
>>> > matching '*.archive.org' when checking the URL, but archive.org is
>>> > redirecting to a URL that has two prefixes
>>> > --'ia601500.us.archive.org'--
>>> > that apparently doesn't match '*.archive.org'. Is there any way to
>>> > resolve
>>> > or work around this issue?
>>> >
>>> > The feed I'm having the problem with is
>>> > http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml,
>>> > implementation
>>> > released 2016-10-09 for Linux-i686
>>>
>>> It works for me:
>>>
>>> [user@untrusted ~]$ 0install download
>>> http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml --cpu=i686
>>> -vc --show
>>> info: 0install (OCaml version): verbose mode on
>>> info: Getting new selections for
>>> http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml
>>> info: Missing selection of
>>> http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml:
>>> <implementation> at
>>>
>>> /home/user/.cache/0install.net/interfaces/http%3a%2f%2fwww.noxbanners.net%2fzeroinstall-feeds%2fAtariXLXE.xml:69:130
>>> info: Starting download of feed
>>> 'http://www.noxbanners.net/zeroinstall-feeds/xf25.xml'
>>> info: Starting download of feed
>>> 'http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml'
>>> info: Download 'http://www.noxbanners.net/zeroinstall-feeds/xf25.xml'
>>> completed successfully (2544 bytes)
>>> info: Running GnuPG: /usr/bin/gpg --no-secmem-warning --batch
>>> --status-fd 1 --keyserver-options no-auto-key-retrieve --verify
>>> /tmp/0install-f84f66-gpg -
>>> info: Download
>>> 'http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml'
>>> completed successfully (4126 bytes)
>>> info: Running GnuPG: /usr/bin/gpg --no-secmem-warning --batch
>>> --status-fd 1 --keyserver-options no-auto-key-retrieve --verify
>>> /tmp/0install-19d2c6-gpg -
>>> info: Updated feed cache checked time for
>>> http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml (modified
>>> 2016-10-10 06:36)
>>> info: Updated feed cache checked time for
>>> http://www.noxbanners.net/zeroinstall-feeds/xf25.xml (modified
>>> 2016-09-11 20:28)
>>> info: Missing selection of
>>> http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml:
>>> <implementation> at
>>> http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml:69:130
>>> info: Redirect from
>>>
>>> 'https://archive.org/download/atari800-emulator-releases/atari800-3.1.0-i686.tar.lzma'
>>> to
>>> 'https://ia801500.us.archive.org/27/items/atari800-emulator-releases/atari800-3.1.0-i686.tar.lzma'
>>> info: Download
>>> 'https://ia801500.us.archive.org/27/items/atari800-emulator-releases/atari800-3.1.0-i686.tar.lzma'
>>> completed successfully (396097 bytes)
>>> info: Will run: tar --version
>>> info: Will run: tar -xf /tmp/0install-5d8c5b-download -C
>>> /home/user/.cache/0install.net/implementations/0install-unpack-9ac9f9e
>>> --no-same-owner --no-same-permissions
>>> "--use-compress-program=/usr/bin/../share/0install.net/unlzma"
>>> atari800-3.1.0
>>> info: Target is on a different filesystem so can't rename; copy and
>>> delete instead
>>> info: '0store-secure-add-helper' command not found. Not adding to system
>>> cache.
>>> - URI: http://www.noxbanners.net/zeroinstall-feeds/AtariXLXE.xml
>>>   Version: 3.1.0
>>>   Path:
>>> /home/user/.cache/0install.net/implementations/sha256new_G7MAYSX7E2P33SJUJSGKOZY7JVBJ7QZY6I2UVXELRDKT35LRCCWQ
>>>
>>>   - URI: http://www.noxbanners.net/zeroinstall-feeds/xf25.xml
>>>     Version: 2.5
>>>     Path:
>>> /home/user/.cache/0install.net/implementations/sha256new_OA4X7DKJEOMUL4BM2DITSUTTECZALKZBLG5MW4Y6T5K5KZAGB4VA
>>>
>>> What version of 0install are you using?


-- 
talex5 (GitHub/Twitter)        http://roscidus.com/blog/
GPG: 5DD5 8D70 899C 454A 966D  6A51 7513 3C8F 94F6 E0CC
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot