Re: Re: ArchGenXML thought
Matt <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
On 9/04/2006, at 1:16 AM, Reinout van Rees wrote:
> Matt wrote:
>> Ok, I guess that's all a yes.
>> Are there any developer protocols you all adhere to? I'm very
>> familiar with plone test cases and selenium testing and pretty ok
>> on subversion branching and merging.
>
> Archgenxml is only very lightly tested. Basically only the
> PyParser.py is tested with unittests (and a few other utility
> methods). There's one big whopping 2000 line method in
> ArchetypesGenerator.py or so that does most of the work: that's not
> tested. So if you haven't looked at the code yet, be prepared for a
> nasty surprise.
heh, I've stepped through that method in pdb a number of times; it's
ok, I presume genesis will refactor on that thinking?
>
> In the end, it all works and it's not too bad. It is a mess, though.
>
>> I presume I need to set up a branch on http://svn.plone.org/svn/
>> archetypes/ArchGenXML/branches/ - say http://svn.plone.org/svn/
>> archetypes/ArchGenXML/branches/ form_controller_support ? ... and
>> some permissions to access it.
>
> If you don't have archetypes repository access yet, could you do it
> as a patch?
Yes, that's fine.
>
>> also, which specifications of XMI should be developed against?
>> xmi 2.0
>> xmi 2.1
>> xmi 1.3
>> xmi 1.2
>> xmi 1.1
>> and UML
>> uml 2.0
>> uml 1.5
>> I someone could edit that list it would help, or I could follow
>> my nose in the code.
>
> Just look at the code. This is actually a bit of a mess. There's a
> xmi 1.0, 1.1 and 1.2 reader, but basically only the 1.2 gets used.
> And that includes lots of if/else statements to support all the
> various UML products (including xmi 2.0 support for poseidon4.0).
> Best talk with Phil about how to structure that ('zwork' on irc).
>
Ok, basically I wanted to know how far back in xmi to be backwards
compatible.
cheers
Matt
> Reinout
>
> --
> Reinout van Rees r.van.rees @ zestsoftware.nl
> http://vanrees.org/weblog/ http://zestsoftware.nl/
> "Military engineers build missiles. Civil engineers build targets."
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the
> live webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Archetypes-devel mailing list
> Archetypes-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/archetypes-devel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642