tdbc::odbc

Check-in [e8ac920205]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Updated recipe for release management and packager for Windows binaries to include Postgres
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | 1.0b13
Files: files | file ages | folders
SHA1: e8ac92020505a8b497fbd0ef53f8ac405d5ad0bd
User & Date: 200002852 2009-09-29 14:56:32
Context
2010-12-02
01:16
open a branch for Tcl 8.5 compatibility Leaf check-in: 06098f3881 user: kennykb tags: tcl8.5-branch
2009-10-27
01:06
* README:			Advanced version number to 1.0b14.
* configure.in:
* library/tdbcsqlite3.tcl:
* configure:			autoconf 2.59
* tests/tdbcsqlite3.test:	Added test cases (known bugs) for
				duplicate column names in results.
* doc/tdbcsqlite3.n:		Added a BUGS section documenting the
				known problem with duplicate column
				names.
check-in: 000071b07b user: 200002852 tags: trunk
2009-09-29
14:56
Updated recipe for release management and packager for Windows binaries to include Postgres check-in: e8ac920205 user: 200002852 tags: trunk, 1.0b13
14:44
Finished advancing release number to 1.0b13. Upgraded tdbcodbc for better portability to legacy drivers. Revised tests so that separate drivers test suites have separate environment variables, and rationalized DRIVER= selection on the ODBC tests. check-in: f4b760f215 user: 200002852 tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to MakingReleases.txt.

55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
    Result is a /tmp/dist/tdbc-${VERSION}-win32/ directory that can be
    zipped and uploaded to SF

(7) Make the HTML manual

    tclsh86 tdbc/tools/tdbc-man2html.tcl \
        --srcdir=. --htmldir=/tmp/dist/tdbc${VERSION}-doc \
        --tdbc --tdbcmysql --tdbcodbc --tdbcsqlite3

    Result is a /tmp/dist/tdbc${VERSION}-doc directory containing the 
    HTML manual.

(8) Sync with tdbc.tcl.tk

(9) Make win32 and doc ZIPS and upload to
    https://frs.sourceforge.net/webupload






|








55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
    Result is a /tmp/dist/tdbc-${VERSION}-win32/ directory that can be
    zipped and uploaded to SF

(7) Make the HTML manual

    tclsh86 tdbc/tools/tdbc-man2html.tcl \
        --srcdir=. --htmldir=/tmp/dist/tdbc${VERSION}-doc \
        --tdbc --tdbcmysql --tdbcodbc --tdbcpostgres --tdbcsqlite3

    Result is a /tmp/dist/tdbc${VERSION}-doc directory containing the 
    HTML manual.

(8) Sync with tdbc.tcl.tk

(9) Make win32 and doc ZIPS and upload to
    https://frs.sourceforge.net/webupload

Changes to makeWinBinaries.tcl.

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
..
19
20
21
22
23
24
25

26
27
28
29
30
31
32
set instdir [file normalize [file join  $::tcl_library ..]]
set pathlist tdbc${ver}
lappend pathlist {*}[glob -types d \
		  -directory $instdir \
		  -tails 1 \
		  {tdbc[a-z]*}]
lappend pathlist sqlite33.6.4
lappend pathlist tcl8/8.6/tdbc

set distdir d:/tmp/dist/tdbc${ver}-win32
file mkdir $distdir
set f [open [file join $distdir INSTALL.tcl] w]
puts $f {
    package require Tcl 8.6
................................................................................
    package require Tk
    grid [label .l -text "Installing TDBC drivers"]
    set distdir [file dirname [info script]]
    set instdir [file normalize [file join $::tcl_library ..]]
}

foreach dir $pathlist {

    file mkdir [file join $distdir $dir]
    puts $f "file mkdir \[file join \$instdir [list $dir]\]"
    foreach file [glob -directory [file join $instdir $dir] -tails *] {
	file copy -force [file join $instdir $dir $file] \
	    [file join $distdir $dir $file]
	puts $f "file copy -force \
                           \[file join \$distdir $dir $file\] \






|







 







>







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
..
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
set instdir [file normalize [file join  $::tcl_library ..]]
set pathlist tdbc${ver}
lappend pathlist {*}[glob -types d \
		  -directory $instdir \
		  -tails 1 \
		  {tdbc[a-z]*}]
lappend pathlist sqlite33.6.14.2
lappend pathlist tcl8/8.6/tdbc

set distdir d:/tmp/dist/tdbc${ver}-win32
file mkdir $distdir
set f [open [file join $distdir INSTALL.tcl] w]
puts $f {
    package require Tcl 8.6
................................................................................
    package require Tk
    grid [label .l -text "Installing TDBC drivers"]
    set distdir [file dirname [info script]]
    set instdir [file normalize [file join $::tcl_library ..]]
}

foreach dir $pathlist {
    puts "processing $dir"
    file mkdir [file join $distdir $dir]
    puts $f "file mkdir \[file join \$instdir [list $dir]\]"
    foreach file [glob -directory [file join $instdir $dir] -tails *] {
	file copy -force [file join $instdir $dir $file] \
	    [file join $distdir $dir $file]
	puts $f "file copy -force \
                           \[file join \$distdir $dir $file\] \