Skip to content

Commit d2d6206

Browse files
authored
Merge pull request #3321 from metacpan/haarg/yaml-config
convert config file to YAML
2 parents 958ee63 + 94e1213 commit d2d6206

File tree

5 files changed

+17
-36
lines changed

5 files changed

+17
-36
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/cover_db/
1111
/local/
1212
/log4perl_local.conf
13-
/metacpan_web_local.conf
13+
/metacpan_web_local.*
1414
/node_modules/
1515
/perltidy.LOG
1616
/pm_to_blib

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ EOT
4949
ENV PERL5LIB="/app/local/lib/perl5"
5050
ENV PATH="/app/local/bin:${PATH}"
5151

52-
COPY *.md app.psgi *.conf ./
52+
COPY *.md app.psgi log4perl* metacpan_web.* metacpan_web_local.* ./
5353
COPY bin bin
5454
COPY lib lib
5555
COPY root root

cpanfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ requires 'URI::Escape';
7878
requires 'With::Roles', '0.001002';
7979
requires 'WWW::Form::UrlEncoded::XS';
8080
requires 'XML::FeedPP';
81+
requires 'YAML::XS';
8182

8283
on test => sub {
8384
requires 'App::Prove';

metacpan_web.conf

Lines changed: 0 additions & 34 deletions
This file was deleted.

metacpan_web.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: MetaCPAN::Web
2+
3+
api: https://fastapi.metacpan.org
4+
source_host: https://st.aticpan.org
5+
web_host: https://metacpan.org
6+
consumer_key: metacpan.dev
7+
cookie_secret: seekrit
8+
consumer_secret: ClearAirTurbulence
9+
log4perl_file: log4perl.conf
10+
11+
mark_unauthorized_releases: 0
12+
13+
View::Xslate:
14+
cache: 1

0 commit comments

Comments
 (0)