Symfony plugin

6 views
Skip to first unread message

Fábio Rehm

unread,
Jan 28, 2010, 4:26:14 PM1/28/10
to pear...@googlegroups.com
Hi all,

A friend of mine just told me that Symfony uses PEAR packages for its plugins and I thought that we could create this integration. I've never used the framework but I could try to do that. Any Symfony users out there willing to help out?

Doing some more research I've found out some plugins that helps generating package.xml but could find one that is at least as easy as our approach:
http://www.symfony-project.org/plugins/filter?filter[sf_1_0]=on&filter[sf_1_1]=on&filter[sf_1_2]=on&filter[propel]=on&filter[doctrine]=on&filter[category_id]=&filter[name]=package


--
Fábio Rehm

Gilmar

unread,
Mar 8, 2010, 7:41:32 AM3/8/10
to PEAR Farm
Hi.

i'm set the spec :

<?php

$spec =
Pearfarm_PackageSpec::create(array(Pearfarm_PackageSpec::OPT_BASEDIR
=> dirname(__FILE__)))
->setName('sfG1mrEditorPlugin')
->setChannel('plugins.symfony-project.org')
->setSummary('Rich Text Editor with sending pictures/
uploads to tex')
->setDescription('To easily use the Yahoo Rich Text
Editor with sending pictures/uploads to text, on the forms.')
->setReleaseVersion('0.0.1')
->setReleaseStability('alpha')
->setApiVersion('0.0.1')
->setApiStability('alpha')
->setLicense(Pearfarm_PackageSpec::LICENSE_MIT)
->setNotes("\n* gpupo: Initial release.\n")
->addMaintainer('lead', 'Gilmar Pupo', 'gpupo',
'g...@g1mr.com')
->addFilesSimple(array('README', 'LICENSE'), 'data')
->addFilesRegex('/.php$/', 'data', $options = array())
->addPackageDependency('symfony', 'pear.symfony-
project.com', array('min'=>1.2, 'max'=>1.4))
;


But the changelog im need to do manualy.


Cordial,
Gilmar

Alan Pinstein

unread,
Mar 8, 2010, 9:32:48 AM3/8/10
to pear...@googlegroups.com
IIRC we don't support the "changelog" feature of PEAR. Is it needed
for Symfony?

You are welcome to look into adding it, but I feel like I didn't do it
for a good reason. I think it required a lot of maintenance, and it
seems silly to have to manage a changelog in a file *and* in PEAR.
Seems more appropriate to just manage the CHANGELOG in a file
accessible via the web site.

That's my recollection...

Alan

Gilmar

unread,
Mar 8, 2010, 9:48:02 AM3/8/10
to PEAR Farm
hi Alan.

From what I saw, I need to copy what already exists in <release> tag
and create the tag <changelog>.
A decorator must solve.

Manual to package symfony plugin:
http://www.symfony-project.org/plugins/FAQ#Q8


Gilmar

> > '...@g1mr.com')

Reply all
Reply to author
Forward
0 new messages