Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376781 - dev-php/symfony version bump to 2.0
Summary: dev-php/symfony version bump to 2.0
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Jamie Learmonth
URL: http://symfony.com/blog/symfony-2-0
Whiteboard:
Keywords:
: 473570 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-28 16:29 UTC by Denny Reeh
Modified: 2013-06-17 10:23 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
symfony2-2.0.0.ebuild (symfony2-2.0.0.ebuild,832 bytes, text/plain)
2011-07-30 11:41 UTC, Denny Reeh
Details
dev-php.tgz: archive with ebuilds for dev-php (dev-php.tgz,8.34 KB, text/plain)
2011-08-29 10:06 UTC, Denny Reeh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denny Reeh 2011-07-28 16:29:29 UTC
Request for version bump

Symfony 2.0 is released today.

Reproducible: Always
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2011-07-29 09:10:02 UTC
I do not see this as a version bump really. Not even a new slot. Symfony 2 is fundamentaly different from Symfony 1 and porting is non-trivial.

I'll add a new package when I see new ebuilds :)
Comment 2 Denny Reeh 2011-07-30 11:40:19 UTC
it's a good idea to create a new package for it.
as attachment my first attempt.

what do you think?  maybe it's better to install as webapp?
Comment 3 Denny Reeh 2011-07-30 11:41:03 UTC
Created attachment 281555 [details]
symfony2-2.0.0.ebuild
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2011-07-30 11:55:37 UTC
I have not looked much into symfony 2 yet. If the recommended way of using symfony 2 is to bundle it with the project, then we should not provide it as a package at all.

If it is okay that it lives in /usr/share/php, then it is okay.

Installing it as a webapp does not make much sense to me since either it is installed as a "shared library" or it is bundled with the actual application.

Regarding the ebuild, you should use php-pear-lib-r1 eclass, I believe.
Also, should it not install an executable?

If we want this package in the tree, I think it makes the most sense to provide the version without vendors and it should be installed from http://pear.symfony.com/, each component alone :)

This one may help you create the ebuilds, but need to be hacked a little to support channels etc. Also, you should probably create an ebuild that installs (discovers) the channel. I have been meaning to do that, but not had the time yet.
https://github.com/olemarkus/epear
Comment 5 Denny Reeh 2011-08-29 10:06:07 UTC
Created attachment 284981 [details]
dev-php.tgz: archive with ebuilds for dev-php
Comment 6 Denny Reeh 2011-08-29 10:07:40 UTC
I've used the epear tool. looks great.

In attchment there are the changed symfony2 and related pear packages as standalone packages.
Comment 7 Jamie Learmonth 2011-12-14 13:42:21 UTC
I think we need a prefix for all these components. Names like "Form" and "Process" are far too generic and stops other frameworks from having the same approach if we go down this route.

I also think we should hold off on a "symfony2" ebuild until we can add any value, such as a way to bootstrap a new project with that version. Because of how symfony does the "distributions" (ie. a skeleton app), /usr/share/php does not seem like the right place for this as you'd basically start a project with:

cp -r /usr/share/php/Symfony/Symfony ./

Which isn't really ideal? Not sure of a more elegant way at the moment.
Comment 8 Jamie Learmonth 2012-02-26 01:50:50 UTC
I'm currently maintaining all the Symfony2 Components in an overlay[1] whilst it's debated whether to include them in the tree. Any suggestions on some value that Gentoo can add apart from having them readily available on the system "the Gentoo way" are welcome.

[1] https://github.com/jamiel/gentoo-overlay
Comment 9 Jamie Learmonth 2012-10-22 02:19:24 UTC
I've stopped supported these ebuilds in my overlay in favour of composer. If you think it's a good idea to have composer in the tree voice your opinion in bug 439206 .

I think we can close this bug as no-one is going to maintain Symfony2 directly in the tree and it doesn't make much sense anymore.
Comment 10 Jamie Learmonth 2012-10-31 07:29:38 UTC
Closing - please re-open if there is a strong argument to have this in the tree.
Comment 11 Ole Markus With (RETIRED) gentoo-dev 2013-06-17 10:23:12 UTC
*** Bug 473570 has been marked as a duplicate of this bug. ***