Structural Changes

1 view
Skip to first unread message

Christian Scholz

unread,
May 22, 2008, 12:56:02 PM5/22/08
to pydataportability
Hi!

I just wanted to inform everybody that I changed the structure a bit:

- a new egg was introduced: pydataportability.model.socialgraph
- This new egg contains the VCard class and 2 interfaces. IVCard and
IVCardAddress
- proper address support (with subobject) still needs to get
implemented
- pydataportability.microformats.hcard was changed to use that new
VCard class
- the VCard class from the hCard parser was removed
- a testrunner was put into the buildout to search and run tests
- the test in pydataportability.microformats.hcard was updated so that
it actually works

To test all this you need to checkout the buildout:

$ svn co https://pydataportability.googlecode.com/svn/buildouts/microformats

(actually it is misnamed now, it should be more named "development")

Right now this only works for people with write access to the
repository. I will soon create another buildout which only uses http://
URLs so that everybody can retrieve it.

Then bootstrap the buildout by running

$ cd microformats
$ python bootstrap.py

And run the buildout:

$ bin/buildout

After that you should have the known scripts in the bin/ directoy plus
the additional bin/test script for running the existing 2 unit/
doctests.


The goal of all this is to be able to reuse the VCard model from
different modules. Next thing to add might be a FOAF module which can
reuse it. There might even be the possibility to easily write
converters from e.g. microformats to FOAF.

So much for my updates.

-- Christian
Reply all
Reply to author
Forward
0 new messages