Skip to content

Commit 1dcb472

Browse files
committed
release v0.023
[Added] - Added a `version` argument to release resultsets to filter per-release summary data by dist _and_version. - Added classes for the Perl version metadata tables. These classes allow access to the `perl_version` table which stores metadata about known Perl 5 releases. - Added method to search for test summary rows by the Perl maturity [Fixed] - Fixed "patch" Perls to be considered "development" Perls. This is how the existing site and backend treats them, even though the two flags are different. "Patch" Perls are changed from the official P5P releases, and should therefore be treated differently. - Fixed Travis config to use MySQL 5.7. This MySQL version is required for the tests to run. Thanks @paultcochrane [Github #21] - Fixed "created" date in test reports being set to impossible values. We were allowing this to come from reporters, but we want this to be the time that we got the report. Later, if we want, we can add another field for when the reporter claims to have created the report. [Github #19]
1 parent c27a2d4 commit 1dcb472

File tree

5 files changed

+63
-23
lines changed

5 files changed

+63
-23
lines changed

CHANGES

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@ Changelog for CPAN-Testers-Schema
22

33
{{ $NEXT }}
44

5+
[Added]
6+
7+
- Added a `version` argument to release resultsets to filter
8+
per-release summary data by dist _and_version.
9+
- Added classes for the Perl version metadata tables. These classes
10+
allow access to the `perl_version` table which stores metadata
11+
about known Perl 5 releases.
12+
- Added method to search for test summary rows by the Perl maturity
13+
14+
[Fixed]
15+
16+
- Fixed "patch" Perls to be considered "development" Perls. This is
17+
how the existing site and backend treats them, even though the two
18+
flags are different. "Patch" Perls are changed from the official
19+
P5P releases, and should therefore be treated differently.
20+
- Fixed Travis config to use MySQL 5.7. This MySQL version is
21+
required for the tests to run. Thanks @paultcochrane [Github #21]
22+
- Fixed "created" date in test reports being set to impossible
23+
values. We were allowing this to come from reporters, but we want
24+
this to be the time that we got the report. Later, if we want, we
25+
can add another field for when the reporter claims to have created
26+
the report. [Github #19]
27+
528
0.022 2018-04-19 14:26:24+02:00 Europe/Oslo
629

730
[Added]

META.json

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"Doug Bell <[email protected]>"
66
],
77
"dynamic_config" : 0,
8-
"generated_by" : "Dist::Zilla version 6.011, CPAN::Meta::Converter version 2.150010",
8+
"generated_by" : "Dist::Zilla version 6.013, CPAN::Meta::Converter version 2.150010",
99
"license" : [
1010
"perl_5"
1111
],
@@ -74,55 +74,63 @@
7474
"provides" : {
7575
"CPAN::Testers::Schema" : {
7676
"file" : "lib/CPAN/Testers/Schema.pm",
77-
"version" : "0.022"
77+
"version" : "0.023"
7878
},
7979
"CPAN::Testers::Schema::Base" : {
8080
"file" : "lib/CPAN/Testers/Schema/Base.pm",
81-
"version" : "0.022"
81+
"version" : "0.023"
8282
},
8383
"CPAN::Testers::Schema::Result::LatestIndex" : {
8484
"file" : "lib/CPAN/Testers/Schema/Result/LatestIndex.pm",
85-
"version" : "0.022"
85+
"version" : "0.023"
8686
},
8787
"CPAN::Testers::Schema::Result::MetabaseUser" : {
8888
"file" : "lib/CPAN/Testers/Schema/Result/MetabaseUser.pm",
89-
"version" : "0.022"
89+
"version" : "0.023"
90+
},
91+
"CPAN::Testers::Schema::Result::PerlVersion" : {
92+
"file" : "lib/CPAN/Testers/Schema/Result/PerlVersion.pm",
93+
"version" : "0.023"
9094
},
9195
"CPAN::Testers::Schema::Result::Release" : {
9296
"file" : "lib/CPAN/Testers/Schema/Result/Release.pm",
93-
"version" : "0.022"
97+
"version" : "0.023"
9498
},
9599
"CPAN::Testers::Schema::Result::ReleaseStat" : {
96100
"file" : "lib/CPAN/Testers/Schema/Result/ReleaseStat.pm",
97-
"version" : "0.022"
101+
"version" : "0.023"
98102
},
99103
"CPAN::Testers::Schema::Result::Stats" : {
100104
"file" : "lib/CPAN/Testers/Schema/Result/Stats.pm",
101-
"version" : "0.022"
105+
"version" : "0.023"
102106
},
103107
"CPAN::Testers::Schema::Result::TestReport" : {
104108
"file" : "lib/CPAN/Testers/Schema/Result/TestReport.pm",
105-
"version" : "0.022"
109+
"version" : "0.023"
106110
},
107111
"CPAN::Testers::Schema::Result::Upload" : {
108112
"file" : "lib/CPAN/Testers/Schema/Result/Upload.pm",
109-
"version" : "0.022"
113+
"version" : "0.023"
114+
},
115+
"CPAN::Testers::Schema::ResultSet::PerlVersion" : {
116+
"file" : "lib/CPAN/Testers/Schema/ResultSet/PerlVersion.pm",
117+
"version" : "0.023"
110118
},
111119
"CPAN::Testers::Schema::ResultSet::Release" : {
112120
"file" : "lib/CPAN/Testers/Schema/ResultSet/Release.pm",
113-
"version" : "0.022"
121+
"version" : "0.023"
114122
},
115123
"CPAN::Testers::Schema::ResultSet::Stats" : {
116124
"file" : "lib/CPAN/Testers/Schema/ResultSet/Stats.pm",
117-
"version" : "0.022"
125+
"version" : "0.023"
118126
},
119127
"CPAN::Testers::Schema::ResultSet::TestReport" : {
120128
"file" : "lib/CPAN/Testers/Schema/ResultSet/TestReport.pm",
121-
"version" : "0.022"
129+
"version" : "0.023"
122130
},
123131
"CPAN::Testers::Schema::ResultSet::Upload" : {
124132
"file" : "lib/CPAN/Testers/Schema/ResultSet/Upload.pm",
125-
"version" : "0.022"
133+
"version" : "0.023"
126134
}
127135
},
128136
"release_status" : "stable",
@@ -138,14 +146,16 @@
138146
},
139147
"x_IRC" : "irc://irc.perl.org/#cpantesters-discuss"
140148
},
141-
"version" : "0.022",
149+
"version" : "0.023",
142150
"x_authority" : "cpan:PREACTION",
143151
"x_contributors" : [
144152
"Breno G. de Oliveira <[email protected]>",
145153
"Joel Berger <[email protected]>",
146154
"Mohammad S Anwar <[email protected]>",
147-
"Nick Tonkin <[email protected]>"
155+
"Nick Tonkin <[email protected]>",
156+
"Paul Cochrane <[email protected]>"
148157
],
149-
"x_serialization_backend" : "Cpanel::JSON::XS version 4.02"
158+
"x_generated_by_perl" : "v5.26.1",
159+
"x_serialization_backend" : "Cpanel::JSON::XS version 4.05"
150160
}
151161

Makefile.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.011.
1+
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.013.
22
use strict;
33
use warnings;
44

README.mkdn

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CPAN::Testers::Schema - Schema for CPANTesters database processed from test repo
44

55
# VERSION
66

7-
version 0.022
7+
version 0.023
88

99
# STATUS
1010

@@ -36,7 +36,7 @@ processing, data APIs, and the frontend web application.
3636

3737
## connect\_from\_config
3838

39-
my $schema = CPAN::Testers::Schema->connect_from_config;
39+
my $schema = CPAN::Testers::Schema->connect_from_config( %extra_conf );
4040

4141
Connect to the MySQL database using a local MySQL configuration file
4242
in `$HOME/.cpanstats.cnf`. This configuration file should look like:
@@ -49,6 +49,10 @@ in `$HOME/.cpanstats.cnf`. This configuration file should look like:
4949

5050
See ["mysql\_read\_default\_file" in DBD::mysql](https://metacpan.org/pod/DBD::mysql#mysql_read_default_file).
5151

52+
`%extra_conf` will be added to the ["connect" in DBIx::Class::Schema](https://metacpan.org/pod/DBIx::Class::Schema#connect)
53+
method in the `%dbi_attributes` hashref (see
54+
["connect\_info" in DBIx::Class::Storage::DBI](https://metacpan.org/pod/DBIx::Class::Storage::DBI#connect_info)).
55+
5256
## ordered\_schema\_versions
5357

5458
Get the available schema versions by reading the files in the share
@@ -59,17 +63,17 @@ directory. These versions can then be upgraded to using the
5963

6064
[CPAN::Testers::Schema::Result::Stats](https://metacpan.org/pod/CPAN::Testers::Schema::Result::Stats), [DBIx::Class](https://metacpan.org/pod/DBIx::Class)
6165

62-
# AUTHORS
66+
# AUTHOR
6367

64-
- Oriol Soriano <[email protected]>
65-
- Doug Bell <[email protected]>
68+
Oriol Soriano <[email protected]>
6669

6770
# CONTRIBUTORS
6871

6972
- Breno G. de Oliveira <[email protected]>
7073
- Joel Berger <[email protected]>
7174
- Mohammad S Anwar <[email protected]>
7275
- Nick Tonkin <[email protected]>
76+
- Paul Cochrane <[email protected]>
7377

7478
# COPYRIGHT AND LICENSE
7579

cpanfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.013
2+
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
3+
14
requires "DBIx::Class" => "0";
25
requires "DBIx::Class::Candy" => "0";
36
requires "Data::UUID" => "0";

0 commit comments

Comments
 (0)