in reply to Re: Building a local 'ppm' repository (Windows)
in thread Building a local 'ppm' repository (Windows)

"you could use the URL http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/, which will give you all the PPD's"

Actually, that is the URL which gave me all my zip files (please see original post).

I now have some combined code which builds the repository from zip files and then builds the 'package.lst' file from the repository.
See What is the format of a .packlist file for a PPM repository?.
This works fine with 5.8 ppm; about to test with 5.10 ppm.
The code is really nasty, but I probably don't have time to clean it up.
The code was developed at least partially on work time, so I will have to check to see if there are any issues with posting it.
If not, I will post it as an example of how not to write Perl (but still get the job done in a slow, rude, crude and disgusting way).

Please note that one of the 'rude, crude and disgusting' design decisions was to use DOS command line utilities invoked via Perl where possible to minimise coding time.
A future project (when I have some spare time) is to replace all the DOS dross with Perl code including handling Zip files.
Until then I will use 7-zip because I can do what I want with a single line of Perl :-).

Cheers

Dave R

Nothing succeeds like a budgie with no teeth.
  • Comment on Re^2: Building a local 'ppm' repository (Windows)

Replies are listed 'Best First'.
Re^3: Building a local 'ppm' repository (Windows)
by anthonyl (Initiate) on Nov 19, 2008 at 05:50 UTC

    I am facing the same firewall issue, and had exactly the same thoughts about setting up a local repo. Did you seek/get permission to post the code? It would save me a whole load of time - and most likely the same for others in our situation.

    Cheers,
    Anthony.

      Ditto that last. Please, people, do kindly share your solutions after having gotten help here. Thus do I find myself two years ex-post-facto the above seekers assumed victory, having read through the entire thread only to find that he who assumably solved this vexing issue elected neither to share their final results nor to explain why they couldn't. Grrr.

      Yes, of course I can exert a similar effort myself and put it together on my own...except for a pressing time constraint within which narrow window I must either effect this solution or else do without.

      My own such howtos, few though they may be, are all posted here link and here link...both of which lists, do admittedly, need updating and some broken links fixed (I just last week moved some domains). But at least I bothered in the first place.

        Just returning to the Monastery for a fleeting visit.

        I will have a look in my historical bits to see if I still have the code (although as it was built and tested on XP may have a limited shelf life).

        IIRC there were issues about me posting code developed in work time.

        However, that was long ago and in another country.
        And besides, the wench is dead.

        Cheers

        Dave R

        Nothing succeeds like a budgie with no teeth.