in reply to pmdev: patches to consider (feature idea)

This looks like a fine idea.

On a different note though, (about testing a patch) - The other day I installed everything locally, but I can't seem to find a way to test pm patches, how can this be done? should I go through all the nodetypes, nodelets, opcodes... here and copy the code to my local everything and then start from there?

Someone suggested that pm nodeballs should be made so that one can have perlmonks-like everything to test on, but I don't know what happened to the idea, is there such nodeballs?

He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady |
  • Comment on Re: pmdev: patches to consider (feature idea)

Replies are listed 'Best First'.
Re: Re: pmdev: patches to consider (feature idea)
by PodMaster (Abbot) on Mar 12, 2003 at 12:21 UTC
    When i'm testing I'm mostly testing for syntactic/logic corectness, for which all that's required is creating ghost htmlcodes and the like (that part can usually be commented out).

    Testing superdocs, like blakem's improved newest nodes lister (link to go here) is easier, since it's more self contained.

    Most patches don't require a working copy of perlmonks to test ;), a working copy of everything will sufice, but even that's not entirely neccessary (fake a few global vars and you're in business).

    A nodeball might not be a bad idea -- back in the day when we were trying to port perlmonks to the latest everything, there was a dump of the database going around, I still got that, but it's dated December 16, 2001. I don't know if it's a no-no to distribute it, or how usefull it would be.

    I'm hoping if you wrote the snippet (shouldn't be hard, mysqldump database htmlcode container nodetype opcode superdoc;), the gods wouldn't mind dumping containers/nodetypes/opcodes/htmlcodes/superdocs, which is all you'd need to get a working clone going (minus settings as there seems to be some issues regarding revealing settings, not sure why). The rest is html fluf, and really isn't needed.

    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.