Re: packaging with composer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 14/07/2014 22:17, Igor Gnatenko a écrit :
> Hi,
> 
> I want to update some packages. Sometimes ago it's used pear, now
> composer.
> 
> Because packager of swiftmailer is non-responsive I've tried update
> myself, but can't find documentation. Can you fix this bugs or let me
> know howto?
> 
> [0]https://bugzilla.redhat.com/show_bug.cgi?id=1119446
> [1]https://bugzilla.redhat.com/show_bug.cgi?id=1119451
> 

As discussed on IRC (and here for memory)

We don't use composer in Fedora.

So composer libraries are installed like any other libraries, new
Guildelines is just about dependencies (simpler to use packagist
registered name than package name which is sometime not obvious).

Composer.json provides lot of useful information.

So move from PEAR to Composer, is mostly a move of source from pear to
git(hub) and scripts from /usr/share/pear to /usrs/share/php

Example: see various spec file of packages already switched (doctrine,
symfony, phpunit, ...)

Notice:
- check dependent packages
- check autoloader stuff (often provided in pear, but not in git(hub),
as composer provides an autoloader. Need to be provided for
compatibility if some dependent packages uses it.

Remi.


> 
> 
> _______________________________________________
> php-devel mailing list
> php-devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/php-devel
> 

_______________________________________________
php-devel mailing list
php-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/php-devel





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora KDE]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux