Re: bug? archive created via "ftp" method not usable via "http" method

"Andy Tai" <[email protected]> Sun, 29 Apr 2007 10:45:47 -0700
Newsgroups gmane.comp.version-control.arch.user
Message-ID <[email protected]>
Hi, thanks for the report.  Your description of the cause is likely
correct.  I will try to duplicate it and implement the fix as probably you
suggested.


On 4/28/07, Miles Bader <[email protected]> wrote:
>
> I created a mirror archive of my main archive "[email protected]"  using the
> following command:
>
>    tla make-archive --signed --listing --mirror [email protected]
> [email protected] ftp://USER:[email protected]/arch/[email protected]
>
> Then I mirrored some stuff to it:
>
>    $ tla archive-mirror [email protected] [email protected] tla-tools
>    * mirroring [email protected] to [email protected] with limit tla-tools
>    * creating version [email protected]/tla-tools--devo--0
>    ** adding revision tla-tools--devo--0--base-0
>    ** adding revision tla-tools--devo--0--patch-1
>    $ tla archive-mirror [email protected] [email protected] snogray
>    * mirroring [email protected] to [email protected] with limit snogray
>    * creating version [email protected]/snogray--devo--0
>    ** adding revision snogray--devo--0--base-0
>    ** adding revision snogray--devo--0--patch-1
>    ** adding revision snogray--devo--0--patch-2
>    ** adding revision snogray--devo--0--patch-3
>    ** adding revision snogray--devo--0--patch-4
>
> Abrowse works fine via ftp:
>
>    [email protected]
>      snogray
>        snogray--devo
>          snogray--devo--0
>            base-0 .. patch-4
>
>      tla-tools
>        tla-tools--devo
>          tla-tools--devo--0
>            base-0 .. patch-1
>
> Now, because this ftp dir is my ISP's web upload area, I should be able
> to see the same files via http, and in a browser, I can indeed see stuff
> with no problem.
>
> However, if I try to access the same archive using tla using the "http"
> access method, it doesn't work:
>
>
>
> Given that the following sequence of events happens:
>
>   (1) It reads the top-level .listing file (which works)
>
>   (2) It immediately gives the failed-to-access-.archive-version error,
>       without obviously _trying_ to access it
>
> I'm guessing that it actually expects ".archive-version" to be part of
> .listing, but it's not (so "failed to access" here really means "didn't
> find").  Is this a bug of the ftp method?  _Should_ it be putting
> ".archive-version" (etc) in .listing?
>
> Thanks,
>
> -Miles
>
>
>