Re: Need suggestions for terminology

David Golden <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <CAOeq1c-QOYGowUMNaoWJRVBo-QXxjCV8-37ygtBMKj8YB4uCTg@mail.gmail.com>
On Mon, Dec 5, 2011 at 6:27 PM, Ricardo Signes <[email protected]> wrote:
> We have a tool to do this, at work.  It isn't really in a state that I'd
> suggest others use it, but I would love to see something better than it become
> popular, as it has been *very* useful.  So, I will be happy to help, at least
> by telling you what we learned.
>
>  https://github.com/pobox/xpan

I remember you telling me a bit about it and I'll check it out again.

Frankly, I'm less concerned about constructing indices as that's a
relatively easily iterated problem.  The big hurdle I want to bridge
is to get regular old cpan(plus|m) using a new form of index that maps
packages to URLs (possibly URI::cpan::distfile) allowing any of these
as targets for fulfilling a request for a package:

  * cpan:///distfile/AUTHOR/Foo-Bar-1.23.tar.gz (e.g. a default CPAN repo)
  * cpan://backpan.perl.org/AUTHOR/Foo-Bar-1.23.tar.gz (e.g. alternate repo)
  * http://dev.example.com/Foo-Bar-1.23.tar.gz (e.g. internal tarball repo)

The point is that all we really need is "package -> tarball location"
map and if we teach CPAN clients to work from that, then we just need
to play around with index CRUD tools for PAUSE and private use.

-- David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.