File tree 4 files changed +36
-5
lines changed
4 files changed +36
-5
lines changed Original file line number Diff line number Diff line change 1
- 1.648 - 2025-02-14 , H.Merijn Brand
1
+ 1.648 - 2025-03-11 , H.Merijn Brand
2
2
* Correct sprintf usage for trace_msg (issue#132)
3
+ * Add DBIXS_VERSION & DBIXS_RELEASE to dbixs_rev.h
3
4
4
5
1.647 - 2025-01-20, H.Merijn Brand
5
6
* Spellcheck
Original file line number Diff line number Diff line change 1
- /* Fri Jan 17 15:09:59 2025 */
2
- #define DBIXS_REVISION 1698
1
+ /* Tue Mar 11 10:51:15 2025 */
2
+ /* M dbixs_rev.pl */
3
+ /* M lib/DBI/Changes.pm */
4
+ #define DBIXS_VERSION 1
5
+ #define DBIXS_RELEASE 648
6
+ #define DBIXS_REVISION 1703
Original file line number Diff line number Diff line change @@ -14,17 +14,29 @@ sub skip_update {
14
14
15
15
-d " .git" or skip_update (" No git env" );
16
16
17
+ my ($dbiv , $dbir );
18
+ open my $fh , " <" , " DBI.pm" or die " DBI.pm: $! \n " ;
19
+ while (<$fh >) {
20
+ m /\b VERSION \s *=\s * (["']) ([0-9]+) \. ([0-9]+) \1 / x or next ;
21
+ ($dbiv , $dbir ) = ($2 , $3 );
22
+ close $fh ;
23
+ last ;
24
+ }
25
+ $dbiv or die " Cannot fetch DBI version from DBI.pm\n " ;
26
+
17
27
my @n = eval { qx{ git log --pretty=oneline} };
18
28
@n or skip_update (" Git log was empty" );
19
29
20
- open my $fh , " >$dbixs_rev_file " or die " Can't open $dbixs_rev_file : $! \n " ;
30
+ open $fh , " >$dbixs_rev_file " or die " Can't open $dbixs_rev_file : $! \n " ;
21
31
print $fh " /* " , scalar localtime , " */\n " ;
22
32
23
33
chomp (my @st = qx{ git status -s --show-stash} );
24
34
print $fh " /* $_ */\n " for grep { !m /\b $dbixs_rev_file \b / } @st ;
25
35
26
36
my $def = " DBIXS_REVISION" ;
27
37
my $rev = scalar @n ;
38
+ print $fh " #define DBIXS_VERSION $dbiv \n " ;
39
+ print $fh " #define DBIXS_RELEASE $dbir \n " ;
28
40
print $fh " #define $def $rev \n " ;
29
41
close $fh or die " Error closing $dbixs_rev_file : $! \n " ;
30
- print " Wrote $def $rev to $dbixs_rev_file \n " ;
42
+ print " Wrote $def $rev to $dbixs_rev_file for DBI- $dbiv . $dbir \n " ;
Original file line number Diff line number Diff line change @@ -12,6 +12,20 @@ DBI::Changes - List of significant changes to the DBI
12
12
13
13
=encoding UTF-8
14
14
15
+ =head2 Changes in DBI 1.648 - 11 Mar 2025
16
+
17
+ =over 2
18
+
19
+ =item *
20
+
21
+ Correct sprintf usage for trace_msg (issue#132)
22
+
23
+ =item *
24
+
25
+ Add DBIXS_VERSION & DBIXS_RELEASE to dbixs_rev.h
26
+
27
+ =back
28
+
15
29
=head2 Changes in DBI 1.647 - 20 Jan 2025
16
30
17
31
=over 2
You can’t perform that action at this time.
0 commit comments