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

Packaging multiple version of cakephp



I'm adopting cakephp. Upstream maintains three branchs: 

* the 1.3.x series which receives only bugfixes.
* the 2.x series which is actively maintained.
* and the future 3.x series (coming soon).

For each series, backward compatibility with previous versions in the
series is usually maintained.

I plan to package the three branch into Debian (probably named
cakephp1.3, cakephp2 and cakephp3). Mainly because I don't want to force
users to migrate to a 2.x (or 3.x) branch if the 1.3.x or 2.x branch is
still maintained upstream. And, according with popcon, version 1.3.x
still has users.

The three branches should be co-installable. So, each package will want
to install itself into /usr/share/php. To avoid names clashes, I think
using a subdirectory by package and with a patch in the app templates to
fix the include path can fix the problem.

And shell utilities will be suffixed by the version number
(e.g. bake1.3, bake2, bake3)

What do you think about it ?

-- 
Maxime Chatelle (xakz)
gpg: 5111 3F15 362E 13C6 CCDE  03BE BFBA B6E3 24AE 0C5B


Reply to: