Request for Makefile feature

With the upgrade from 2.0.1 to 2.0.2, a new dependency was added. I
personally consider this out of the norm given the minor release
number change, and a bit surprising. Not that it is a big deal,
though.

I think that the “make upgrade” target might do well to run testdeps
-quiet, and fail if dependencies are not satisfied. Something like
this:

upgrade: checkdeps dirs config-replace upgrade-noclobber

checkdeps:
$(PERL) ./tools/testdeps -quiet $(DB_TYPE)

should do nicely to prevent us from running into problems during an
upgrade which may introduce new dependencies unexpectedly.

Thanks.

I agree with this a well. I burned on this from 2.0.0 to 2.0.1 because the
Cookie module was switched from CGI to Apache. It would be good if the
testdeps dies on install or upgrade.

-RobertOn Tue, Jul 24, 2001 at 11:45:04AM -0400, Vivek Khera wrote:

I think that the “make upgrade” target might do well to run testdeps
-quiet, and fail if dependencies are not satisfied. Something like
this:

upgrade: checkdeps dirs config-replace upgrade-noclobber

checkdeps:
$(PERL) ./tools/testdeps -quiet $(DB_TYPE)

should do nicely to prevent us from running into problems during an
upgrade which may introduce new dependencies unexpectedly.

I hate say it, but the README is pretty clear - Upgrading is step 5b - you shouldn’t be there without checking all the preceding steps first.
Upgrades mean changes - always find out what those changes are before committing to them.

-Feargal.On Tue, 24 Jul 2001 08:53:47 -0700 Robert Shaw rshaw@mxim.com wrote:

I agree with this a well. I burned on this from 2.0.0 to 2.0.1 because the
Cookie module was switched from CGI to Apache. It would be good if the
testdeps dies on install or upgrade.

-Robert

On Tue, Jul 24, 2001 at 11:45:04AM -0400, Vivek Khera wrote:

I think that the “make upgrade” target might do well to run testdeps
-quiet, and fail if dependencies are not satisfied. Something like
this:

upgrade: checkdeps dirs config-replace upgrade-noclobber

checkdeps:
$(PERL) ./tools/testdeps -quiet $(DB_TYPE)

should do nicely to prevent us from running into problems during an
upgrade which may introduce new dependencies unexpectedly.


Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

Feargal Reilly,
Systems Administrator,
The CIA.