Forums / Extensions / eZ Newsletter / Packages vs. SVN checkout

Packages vs. SVN checkout

Author Message

Piotrek Karaś

Thursday 07 August 2008 2:31:24 pm

Hi there,

After 2 years with eZ Publish, I still don't have much clue about packages, especially for we had some problems with them in our team.

Now, I've noticed that eZ Newsletter installation involves some package installation. Can anyone explain how that differs from SVN checkout of newsletter extension? Do I miss anything that way? If so, why and what?

Thanks in advance!
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Maxime Thomas

Sunday 31 August 2008 11:41:42 pm

Hi Piotrek,

Same question here, but I think we got a clue : you can do more things with packages. It means that importing package will allow you to init for example a fresh install f eZPublish for a particular way or add just some content in an existing site.
eZNewsletter is the perfect example, the packages are creating content classes, content and special configuration like a new siteaccess. It is a way to programmatically create content and configuration.
However, I haven't found any docs on how flexible this functionnality is, and if you can by this way export things like roles and policies or workflows...

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Piotrek Karaś

Tuesday 09 September 2008 9:04:31 pm

Thanks Maxime,

I haven't had any time to experiment with this topic ever since, but it's too weird that this is so not documented (both packages alone as well as newsletter packages). If you find anything, please share!

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Maxime Thomas

Tuesday 09 September 2008 11:57:41 pm

Hi,

As far as I know, a ezpkg file is a zipped xml.
The XML is formatted to receive content class definition or content.
For extension package and site design package, I'm not sure that it works like this.
I can try it and share.

Max

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas