Re: Wildcards in Interface URI

Thomas Leonard <[email protected]> Sat, 15 Oct 2016 15:38:30 +0100
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy8sxyqFw8xdweFCLcXUK5oKT7MPW-oF848DuKibkV7deA@mail.gmail.com>
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