Re: major issues with PEAR CVS
| From: | Pierre-Alain Joye | Date: | Thu, 08 Apr 2004 15:07:05 +0000 |
| Subject: | Re: major issues with PEAR CVS | ||
| References: | 1 2 | Groups: | php.pear.core |
| Request: | Send a blank email to pear-core+get-251@lists.php.net to get a copy of this message | ||
On Thu, 08 Apr 2004 16:00:20 +0200
stefan@neufeind.net (Stefan Neufeind) wrote:
> Had a look at the latest php4-snap, into go-pear.php. There are
> still several files fetched from cvs, which should imho be avoided
> / tried to be avoided. I especially mean that Getopt.php is
> fetched from cvs if it is not present in the bundle-directory.
> However, Archive_Tar is downloaded/unpacked already before, and
> the Getopt-package is also downloaded. So Getopt.php could be
> unpacked from the Getopt-package instead of fetched from CVS
> separately, am I right?
You are not totally right.
If there is no local packages/files, The local files are _not_
fetched from CVS HEAD (this is ugly as hell) but from the right
revision branch.
For the bundled files, they are extracted from the releases
archives at build time.
The reason why there was a cvs fetch (from http://cvs.php.net)
is due to a little bug in an old build script. Recent build script
fixed this issue months ago. I do not know if either Edin or Wez
have updated yet the build script. But it should as I sent a new one
on each release.
> Pierre promised to change this some while ago, however it doesn't
> yet seem to have found its way into CVS or the snaps.
Once again, it was done months/weeks ago. And, again, I do the
script, but have no access to the build machines (sounds pretty
safe btw). That's why I asked Edin/Wez to include my build script in
the build system and rely on an extern file to get the versions and
skip the annoying steps to mail a new script for each PHP release.
The next step is to do the same for the sources PHP distributions.
For now, the sources distros still rely on cvs. Chaning that
requires to change the makefiles and install-pear.php . It was not
the right time (and it is still not) to change it. It will be easier
and safer to do it after 4.3.6 and RC2 releases, same for a few
other required changes.
That seems to be done now. Thanks Wez!
By the way, Wez and Greg, do not forget to MFH the list and check
out the right branch for 4.3 and 5.0 releases. The versions are not
the same.
pierre