Quantcast

Zend Framework Composer Pakages

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Zend Framework Composer Pakages

umpirsky
I would like to add dependency to zendframework/zend-db package, so I added
it to my composer.json:

"repositories": [
    {
        "type": "composer",
        "url": "http://packages.zendframework.com/"
    }
],
"require": {
    "php": ">=5.3.2",

    "symfony/class-loader":  "dev-master",
    "symfony/console":       "dev-master",
    "symfony/filesystem":    "dev-master",
    "symfony/finder":        "dev-master",
    "symfony/locale":        "dev-master",
    "symfony/yaml":          "dev-master",
    "doctrine/dbal":         "dev-master",
    "zendframework/zend-db": "dev-master"
}

The problem is that composer instals entire zendframework/zendframework
package.

Any idea why?

BTW, maybe because of the size of entire package, it also goes to timeout:

- Installing zendframework/zendframework (dev-master)
    Cloning 310ade9f083fd8444b6c026e0d973054d320620

  [RuntimeException]
  The process timed out.

But that is not the question, just one additional info.
---
Regards,
Saša Stamenković
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Zend Framework Composer Pakages

weierophinney
Administrator
-- Саша Стаменковић <[hidden email]> wrote
(on Tuesday, 31 July 2012, 10:40 PM +0200):

> I would like to add dependency to zendframework/zend-db package, so I added
> it to my composer.json:
>
> "repositories": [
>     {
>         "type": "composer",
>         "url": "http://packages.zendframework.com/"
>     }
> ],
> "require": {
>     "php": ">=5.3.2",
>
>     "symfony/class-loader":  "dev-master",
>     "symfony/console":       "dev-master",
>     "symfony/filesystem":    "dev-master",
>     "symfony/finder":        "dev-master",
>     "symfony/locale":        "dev-master",
>     "symfony/yaml":          "dev-master",
>     "doctrine/dbal":         "dev-master",
>     "zendframework/zend-db": "dev-master"
> }
>
> The problem is that composer instals entire zendframework/zendframework
> package.
>
> Any idea why?

Dev packages go to the zf2 github repo, and since composer/packagist
don't have a way to do packages from subtrees of a module yet, that
means you get the full framework.

Release packages, however, go to packages.zendframework.com, which
downloads individual zips for each component.

So, either pin to a 2.0.0* version, or get the entire framework.

--
Matthew Weier O'Phinney
Project Lead            | [hidden email]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

--
List: [hidden email]
Info: http://framework.zend.com/archives
Unsubscribe: [hidden email]


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Zend Framework Composer Pakages

Dennis Winter
In reply to this post by umpirsky
Hi, sadly I can't help you about your issue with zend-db, but for your composer timeout problem, there is an easy fix!

You can set the timeout in your config parameter of composer.json!

{"config":{"process-timeout":300}}

Where 300 is the default value!

For more information see here:

http://getcomposer.org/doc/04-schema.md#config

Am 31.07.2012 um 22:40 schrieb Саша Стаменковић<[hidden email]>:

> I would like to add dependency to zendframework/zend-db package, so I added
> it to my composer.json:
>
> "repositories": [
>    {
>        "type": "composer",
>        "url": "http://packages.zendframework.com/"
>    }
> ],
> "require": {
>    "php": ">=5.3.2",
>
>    "symfony/class-loader":  "dev-master",
>    "symfony/console":       "dev-master",
>    "symfony/filesystem":    "dev-master",
>    "symfony/finder":        "dev-master",
>    "symfony/locale":        "dev-master",
>    "symfony/yaml":          "dev-master",
>    "doctrine/dbal":         "dev-master",
>    "zendframework/zend-db": "dev-master"
> }
>
> The problem is that composer instals entire zendframework/zendframework
> package.
>
> Any idea why?
>
> BTW, maybe because of the size of entire package, it also goes to timeout:
>
> - Installing zendframework/zendframework (dev-master)
>    Cloning 310ade9f083fd8444b6c026e0d973054d320620
>
>  [RuntimeException]
>  The process timed out.
>
> But that is not the question, just one additional info.
> ---
> Regards,
> Saša Stamenković
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Zend Framework Composer Pakages

umpirsky
Ah, great, didn't know about that particular option.

Still waiting for answer regarding zend-db package.

Thanks a lot!
---
Regards,
Saša Stamenković


On Tue, Jul 31, 2012 at 11:31 PM, Dennis Winter
<[hidden email]>wrote:

> Hi, sadly I can't help you about your issue with zend-db, but for your
> composer timeout problem, there is an easy fix!
>
> You can set the timeout in your config parameter of composer.json!
>
> {"config":{*"**process-timeout":300}}*
> *
> *
> *Where 300 is the default value!*
> *
> *
> *For more information see here:*
> *
> *
> http://getcomposer.org/doc/04-schema.md#config
>
> Am 31.07.2012 um 22:40 schrieb Саша Стаменковић<[hidden email]>:
>
> I would like to add dependency to zendframework/zend-db package, so I added
> it to my composer.json:
>
> "repositories": [
>    {
>        "type": "composer",
>        "url": "http://packages.zendframework.com/"
>     }
> ],
> "require": {
>    "php": ">=5.3.2",
>
>    "symfony/class-loader":  "dev-master",
>     "symfony/console":       "dev-master",
>    "symfony/filesystem":    "dev-master",
>    "symfony/finder":        "dev-master",
>     "symfony/locale":        "dev-master",
>    "symfony/yaml":          "dev-master",
>    "doctrine/dbal":         "dev-master",
>     "zendframework/zend-db": "dev-master"
> }
>
> The problem is that composer instals entire zendframework/zendframework
> package.
>
> Any idea why?
>
> BTW, maybe because of the size of entire package, it also goes to timeout:
>
> - Installing zendframework/zendframework (dev-master)
>     Cloning 310ade9f083fd8444b6c026e0d973054d320620
>
>  [RuntimeException]
>  The process timed out.
>
> But that is not the question, just one additional info.
> ---
> Regards,
> Saša Stamenković
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Zend Framework Composer Pakages

umpirsky
This post has NOT been accepted by the mailing list yet.
In reply to this post by weierophinney
Ah, ok, thanks.

BTW, why aren't there zf packages on http://packagist.org/ ?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Zend Framework Composer Pakages

weierophinney
Administrator
In reply to this post by umpirsky
-- Саша Стаменковић <[hidden email]> wrote
(on Tuesday, 31 July 2012, 11:50 PM +0200):
> Ah, great, didn't know about that particular option.
>
> Still waiting for answer regarding zend-db package.

I sent you an answer yesterday:

http://zend-framework-community.634137.n4.nabble.com/Zend-Framework-Composer-Pakages-tp4656012p4656014.html


> On Tue, Jul 31, 2012 at 11:31 PM, Dennis Winter
> <[hidden email]>wrote:
>
> > Hi, sadly I can't help you about your issue with zend-db, but for your
> > composer timeout problem, there is an easy fix!
> >
> > You can set the timeout in your config parameter of composer.json!
> >
> > {"config":{*"**process-timeout":300}}*
> > *
> > *
> > *Where 300 is the default value!*
> > *
> > *
> > *For more information see here:*
> > *
> > *
> > http://getcomposer.org/doc/04-schema.md#config
> >
> > Am 31.07.2012 um 22:40 schrieb Саша Стаменковић<[hidden email]>:
> >
> > I would like to add dependency to zendframework/zend-db package, so I added
> > it to my composer.json:
> >
> > "repositories": [
> >    {
> >        "type": "composer",
> >        "url": "http://packages.zendframework.com/"
> >     }
> > ],
> > "require": {
> >    "php": ">=5.3.2",
> >
> >    "symfony/class-loader":  "dev-master",
> >     "symfony/console":       "dev-master",
> >    "symfony/filesystem":    "dev-master",
> >    "symfony/finder":        "dev-master",
> >     "symfony/locale":        "dev-master",
> >    "symfony/yaml":          "dev-master",
> >    "doctrine/dbal":         "dev-master",
> >     "zendframework/zend-db": "dev-master"
> > }
> >
> > The problem is that composer instals entire zendframework/zendframework
> > package.
> >
> > Any idea why?
> >
> > BTW, maybe because of the size of entire package, it also goes to timeout:
> >
> > - Installing zendframework/zendframework (dev-master)
> >     Cloning 310ade9f083fd8444b6c026e0d973054d320620
> >
> >  [RuntimeException]
> >  The process timed out.
> >
> > But that is not the question, just one additional info.
> > ---
> > Regards,
> > Saša Stamenković
> >
> >

--
Matthew Weier O'Phinney
Project Lead            | [hidden email]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

--
List: [hidden email]
Info: http://framework.zend.com/archives
Unsubscribe: [hidden email]


Loading...