Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448576 - dev-php/ZendFramework 1.12.5 2.3.0 version bump
Summary: dev-php/ZendFramework 1.12.5 2.3.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
: 505130 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-25 18:35 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2014-10-07 18:42 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreis Vinogradovs ( slepnoga ) 2012-12-25 18:35:59 UTC
dev-php/ZendFramework bump please - new major version ( 2.0. 6 ) available
Comment 1 Ole Markus With (RETIRED) gentoo-dev 2012-12-26 11:47:26 UTC
Just as with Symfony2, we feel that Zend Framework is best installed out-of-tree through composer or similar, and that having a system-wide installation does not make much sense.
Comment 2 Marcin Mirosław 2014-01-10 10:13:57 UTC
Ole, does it also apply to ZendFramework-1.12.3? If not I'd like to ask you to add new ebuild for version 1.12.3 of ZendFramework.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-20 14:08:18 UTC
*** Bug 505130 has been marked as a duplicate of this bug. ***
Comment 4 Bartosz Krzeszewski 2014-03-20 18:22:00 UTC
(In reply to Ole Markus With from comment #1)
> Just as with Symfony2, we feel that Zend Framework is best installed
> out-of-tree through composer or similar, and that having a system-wide
> installation does not make much sense.

Why do you feel like that? Try to think and you maybe figure it out that system wide installer of this library is much better. I will give you an example: "Few years ago when I had training in ZF 1 we had to install ZF on ours computers. I just typed emerge ZendFramework and everything was working because I had Gentoo but my friends who had Ubuntu had to download it manually and copy it to some location on theirs disks. And they failed to do it, they didn't have proper dependencies installed. They had to install them manually one by one. They had a lot of work and I was just sitting there smiling." Now you maybe "feel" why there should be ebuild for ZendFramework.
Comment 5 Matthew Schultz 2014-03-20 18:41:25 UTC
(In reply to Bartosz Krzeszewski from comment #4)
> (In reply to Ole Markus With from comment #1)
> > Just as with Symfony2, we feel that Zend Framework is best installed
> > out-of-tree through composer or similar, and that having a system-wide
> > installation does not make much sense.
> 
> Why do you feel like that? Try to think and you maybe figure it out that
> system wide installer of this library is much better. I will give you an
> example: "Few years ago when I had training in ZF 1 we had to install ZF on
> ours computers. I just typed emerge ZendFramework and everything was working
> because I had Gentoo but my friends who had Ubuntu had to download it
> manually and copy it to some location on theirs disks. And they failed to do
> it, they didn't have proper dependencies installed. They had to install them
> manually one by one. They had a lot of work and I was just sitting there
> smiling." Now you maybe "feel" why there should be ebuild for ZendFramework.

The dependencies are managed through composer so this is not an issue.  Most projects would rather bundle these libraries anyway because sometimes these libraries make incompatible changes.  As a result, when the system library is upgraded, it will break your code.  This way the developer has more control of what dependencies and versions of dependencies the software needs and can upgrade it when he has a chance to migrate the code as opposed to a system upgrade forcing him into it.
Comment 6 Bartosz Krzeszewski 2014-03-21 05:48:18 UTC
(In reply to Matthew Schultz from comment #5)
> (In reply to Bartosz Krzeszewski from comment #4)
> > (In reply to Ole Markus With from comment #1)
> > > Just as with Symfony2, we feel that Zend Framework is best installed
> > > out-of-tree through composer or similar, and that having a system-wide
> > > installation does not make much sense.
> > 
> > Why do you feel like that? Try to think and you maybe figure it out that
> > system wide installer of this library is much better. I will give you an
> > example: "Few years ago when I had training in ZF 1 we had to install ZF on
> > ours computers. I just typed emerge ZendFramework and everything was working
> > because I had Gentoo but my friends who had Ubuntu had to download it
> > manually and copy it to some location on theirs disks. And they failed to do
> > it, they didn't have proper dependencies installed. They had to install them
> > manually one by one. They had a lot of work and I was just sitting there
> > smiling." Now you maybe "feel" why there should be ebuild for ZendFramework.
> 
> The dependencies are managed through composer so this is not an issue.  Most
> projects would rather bundle these libraries anyway because sometimes these
> libraries make incompatible changes.  As a result, when the system library
> is upgraded, it will break your code.  This way the developer has more
> control of what dependencies and versions of dependencies the software needs
> and can upgrade it when he has a chance to migrate the code as opposed to a
> system upgrade forcing him into it.

1. "As a result, when the system library is upgraded, it will break your code.  This way the developer has more control of what dependencies and versions of dependencies the software needs and can upgrade it when he has a chance to migrate the code as opposed to a system upgrade forcing him into it."
 So in short you say that we don't use package.mask and package.use anymore? So why use Gentoo?
2. "Starting with Zend Framework 2, you may now install Zend Framework or any of its individual components and their dependencies, using the dependency management tool Composer." Composer is ZF 2 feature, in bug: 505130 I requested new version of ebuild for ZF 1 which dosen't have this tool.
3. ZF 1 is in portage (be consistent and remove it).
4. When I speak about dependencies I think about php, apache and various use flags.
5. I use ZF 1 on my development computer and I have a lot of projects on it. Having system wide ZF 1 library saves a lot of disk space and copy time.
6. I use ZF 1 for a few years and there haven't been even one situation when upgrade broke things. I upgraded it recently to the latest version and everything just works.
7. I really think that bug: 505130 should not be a duplicate of this bug. ZF 1 and ZF 2 are two different libraries.
Comment 7 Brian Evans (RETIRED) gentoo-dev 2014-10-07 18:42:22 UTC
+*ZendFramework-1.12.9 (07 Oct 2014)
+
+  07 Oct 2014;  <grknight@gentoo.org> +ZendFramework-1.12.9.ebuild,
+  -ZendFramework-1.11.6.ebuild:
+  Version bump for wrt bug 448576 and security bugs 451060, 505276 and 523198

ZF2 will remain uncommitted as it is meant to be done via composer