Skip to content

Commit

Permalink
Stricter release plan: more checks
Browse files Browse the repository at this point in the history
Checked dist            DBI-1.647.tgz
Kwalitee rating         157.89% (30/19)
  • Loading branch information
Tux committed Jan 17, 2025
1 parent f0f9b38 commit 5845db5
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 18 deletions.
4 changes: 2 additions & 2 deletions DBI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use warnings;

our ($XS_VERSION, $VERSION);
BEGIN {
$VERSION = "1.646"; # ==> ALSO update the version in the pod text below!
$VERSION = "1.647"; # ==> ALSO update the version in the pod text below!
$XS_VERSION = $VERSION;
$VERSION =~ tr/_//d;
}
Expand Down Expand Up @@ -148,7 +148,7 @@ sure that your issue isn't related to the driver you're using.
=head2 NOTES
This is the DBI specification that corresponds to DBI version 1.646
This is the DBI specification that corresponds to DBI version 1.647
(see L<DBI::Changes> for details).
The DBI is evolving at a steady pace, so it's good to check that
Expand Down
20 changes: 13 additions & 7 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -381,19 +381,25 @@ checkkeywords:
find . -type f \( -name .svn -prune -o -name \*.pm -o -name \*.PL -o -name \*.pl \) \
-exec bash -c '[ -z "$$(svn pg svn:keywords {})" ] && echo svn propset svn:keywords \"Id Revision\" {}' \;
.PHONY: doc change changes spellcheck checkpod
.PHONY: doc change changes spellcheck checkpod newdist
changes: $(changes_pm1)
doc:
perl doc/make-doc.pl --pod
spellcheck checkpod: doc
pod-spell-check -i -a doc/*.pod
dbipport:
perl sandbox/genPPPort_h.pl
ppport: dbipport.h
perl dbipport.h --compat-version=5.8.0 DBI.xs
tgzdist: changes doc dist
spellcheck checkpod: doc
pod-spell-check -i -a doc/*.pod
perl dbipport.h --compat-version=5.8.1 DBI.xs
# make dist does not remove existing .tar.gz causing questions
newdist:
-@rm -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz
tgzdist: changes spellcheck newdist dist
-@mv -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz
-@cpants_lint.pl $(DISTVNAME).tgz
-@rm -f Debian_CPANTS.txt
};

return $xst;
Expand Down
2 changes: 1 addition & 1 deletion doc/DBD-Gofer-Transport-Base.3
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Returns true (would like to retry), false (must not retry), undef (no preference
.PP
If a true value is returned in the form of a CODE ref then, if DBD::Gofer does
decide to retry the request, it calls the code ref passing \f(CW$retry_count\fR, \f(CW$retry_limit\fR.
Can be used for logging and/or to implement exponential backoff behaviour.
Can be used for logging and/or to implement exponential back\-off behaviour.
Currently the called code must return using \f(CW\*(C`return;\*(C'\fR to allow for future extensions.
.SH AUTHOR
.IX Header "AUTHOR"
Expand Down
2 changes: 1 addition & 1 deletion doc/DBD-Gofer-Transport-Base.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h2 id="response_retry_preference">response_retry_preference</h2>

<p>Returns true (would like to retry), false (must not retry), undef (no preference).</p>

<p>If a true value is returned in the form of a CODE ref then, if DBD::Gofer does decide to retry the request, it calls the code ref passing $retry_count, $retry_limit. Can be used for logging and/or to implement exponential backoff behaviour. Currently the called code must return using <code>return;</code> to allow for future extensions.</p>
<p>If a true value is returned in the form of a CODE ref then, if DBD::Gofer does decide to retry the request, it calls the code ref passing $retry_count, $retry_limit. Can be used for logging and/or to implement exponential back-off behaviour. Currently the called code must return using <code>return;</code> to allow for future extensions.</p>

<h1 id="AUTHOR">AUTHOR</h1>

Expand Down
2 changes: 1 addition & 1 deletion doc/DBD-Gofer-Transport-Base.man
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ METHODS
If a true value is returned in the form of a CODE ref then, if
DBD::Gofer does decide to retry the request, it calls the code ref
passing $retry_count, $retry_limit. Can be used for logging and/or to
implement exponential backoff behaviour. Currently the called code
implement exponential back-off behaviour. Currently the called code
must return using "return;" to allow for future extensions.

AUTHOR
Expand Down
2 changes: 1 addition & 1 deletion doc/DBD-Gofer-Transport-Base.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Returns true (would like to retry), false (must not retry), undef (no preference

If a true value is returned in the form of a CODE ref then, if DBD::Gofer does
decide to retry the request, it calls the code ref passing $retry\_count, $retry\_limit.
Can be used for logging and/or to implement exponential backoff behaviour.
Can be used for logging and/or to implement exponential back-off behaviour.
Currently the called code must return using `return;` to allow for future extensions.

# AUTHOR
Expand Down
2 changes: 1 addition & 1 deletion doc/DBD-Multiplex.3
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ any errors, and returning all of the results.
\&\fBlast_result_most_common\fR
.Sp
Execute the requested method against each child handle, not stopping after
the errors, and returning the most common result (eg three\-way\-voting etc).
the errors, and returning the most common result (e.g. three\-way\-voting etc).
Not yet implemented.
.IP \fBmx_shuffle\fR 4
.IX Item "mx_shuffle"
Expand Down
2 changes: 1 addition & 1 deletion doc/DBD-Multiplex.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h1 id="SPECIFIC-ATTRIBUTES">SPECIFIC ATTRIBUTES</h1>

<p><b>last_result_most_common</b></p>

<p>Execute the requested method against each child handle, not stopping after the errors, and returning the most common result (eg three-way-voting etc). Not yet implemented.</p>
<p>Execute the requested method against each child handle, not stopping after the errors, and returning the most common result (e.g. three-way-voting etc). Not yet implemented.</p>

</dd>
<dt id="mx_shuffle"><b>mx_shuffle</b></dt>
Expand Down
4 changes: 2 additions & 2 deletions doc/DBD-Multiplex.man
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ SPECIFIC ATTRIBUTES
last_result_most_common

Execute the requested method against each child handle, not
stopping after the errors, and returning the most common result (eg
three-way-voting etc). Not yet implemented.
stopping after the errors, and returning the most common result
(e.g. three-way-voting etc). Not yet implemented.

mx_shuffle
Shuffles the list of child handles each time it's about to be used.
Expand Down
2 changes: 1 addition & 1 deletion doc/DBD-Multiplex.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ The following specific attributes can be set when connecting:
**last\_result\_most\_common**

Execute the requested method against each child handle, not stopping after
the errors, and returning the most common result (eg three-way-voting etc).
the errors, and returning the most common result (e.g. three-way-voting etc).
Not yet implemented.

- **mx\_shuffle**
Expand Down

0 comments on commit 5845db5

Please sign in to comment.