Tk Library Source Code

View Ticket
Login
Ticket UUID: 674333
Title: smtpd: Tcl requirement not specified
Type: Bug Version: None
Submitter: dgp Created on: 2003-01-24 22:13:05
Subsystem: smtpd Assigned To: patthoyts
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-01-27 02:10:37
Resolution: Fixed Closed By: dgp
    Closed on: 2003-01-26 19:10:37
Description:
 package require Tcl $requiredVersion

should be added to the package. Would
be nice to add checks to the index script
(pkgIndex.tcl file) as in other tcllib packages
as well.
User Comments: dgp added on 2003-01-27 02:10:37:
Logged In: YES 
user_id=80530

Thanks, and that's fine for now.

For future reference, though, you should
use [package require Tcl $version] to 
record the Tcl needs of the code in your
package only.  Trying to chase down the
needs of the packages you depend on
(and the packages those pacakges depend on...)
is an unsustainable maintenance nightmare.
Let each package take care of its own
requirements for itself.  That's the
modular solution.

Indeed that's the reason I've regsitered these
bugs in the first place, so that smtpd will
take care of its own dependencies, so that
every user of the smtpd package out there
will not have to.

patthoyts added on 2003-01-26 06:58:11:
Logged In: YES 
user_id=202636

Minimum Tcl version 8.3 (we require the mime package and
it's minimum version is 8.3).