Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
17223fe
Link RT subject tag style ticket references, i.e. "[rt.cpan.org #NNN]…
tsibley Jan 24, 2014
46b80e1
Link PR#NN, PR:NN, and PR-NN to Github in changelogs
tsibley Jan 24, 2014
5bb09fd
Try carton for travis build
rwstauner Jan 26, 2014
5c280d8
Remove unlisted_prereqs.pl
rwstauner Jan 26, 2014
41021d4
Update cpanfile.snapshot via carton update
rwstauner Jan 26, 2014
3512024
Ignore carton dir when reporting coverage
rwstauner Jan 26, 2014
6472bcb
These aren't patterns, they're substrings. Escape any metachars.
tsibley Jan 28, 2014
48cc94f
Test new RT and Github link formats in changelogs
tsibley Jan 28, 2014
0875a09
Merge pull request #1044 from tsibley/link-more-bug-refs-in-changes
oalders Jan 28, 2014
ece0e6b
Adds Carton instructions to README.
oalders Jan 29, 2014
b6b3814
s/MetaCPAN Logo/meta::cpan/
oalders Jan 29, 2014
dc7febb
Reinstate outline on focused elements
ilmari Jan 30, 2014
5c8c315
Merge pull request #1048 from ilmari/dont-hide-focus
oalders Jan 30, 2014
3c021a1
Use country name instead of 2-letter code in Author sidebar
neilb Jan 17, 2014
79fc389
Added dependency info for Locale::Country
neilb Jan 17, 2014
7b75e90
Tidy Author controller.
oalders Jan 31, 2014
3033db7
Use full country name for flag on author page.
oalders Jan 31, 2014
2b2f0ff
Tidies Account controller.
oalders Jan 31, 2014
f72cf99
Revert "Revert "add rel=author links to Google+ to pod and release pa…
ioncache Jan 31, 2014
54aa629
Hide the google plus under the Author pictures
ioncache Jan 31, 2014
ddeb116
fixes #987, introduces html escaping on rss feed module abstracts.
Jan 31, 2014
5ae21ad
Merge pull request #1049 from mattp-/master
oalders Jan 31, 2014
e0e5b23
Merge pull request #1050 from ioncache/master
oalders Jan 31, 2014
093750d
Merge branch 'trs/bootstrap-nits' into mo/bootstrap
tsibley Feb 2, 2014
ac8526f
Bring .travis.yml up to speed with master.
oalders Feb 2, 2014
604d3b0
Merges master into mo/bootstrap.
oalders Feb 3, 2014
08c9dda
Merge branch 'master' into mo/bootstrap
oalders Feb 3, 2014
d3d7ff8
Fix breadcrumb author link on release page
rwstauner Feb 3, 2014
042bb35
Re-add less install to travis setup.
oalders Feb 3, 2014
a8a84b5
Fix #1058
ranguard Feb 3, 2014
eb8e637
Fix #1057
ranguard Feb 3, 2014
dcedd7c
Fix #1056
ranguard Feb 3, 2014
db55e2a
Fix #1054 - add link to changes back
ranguard Feb 3, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,27 @@ perl:
- "5.12"
- "5.10"


before_install:
- npm install -g less
- cpanm http://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.6.tar.gz
# As of 2013-11-02 travis doesn't seem to find this one yet.
- cpanm http://cpan.metacpan.org/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm Carton

install:
- carton install


script:
- cover -test -report coveralls
# Devel::Cover isn't in the cpanfile
# but if it's installed into the global dirs this should work.
- HARNESS_PERL_SWITCHES=-MDevel::Cover=+ignore,local carton exec prove -lrv t

after_success:
- cover -report coveralls


notifications:
email:
Expand Down
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,21 @@ Start server on port 5001 (which you want to make authentication work)

$ plackup -p 5001 -r

The backend defaults to C<api.metacpan.org>. Running a local API server is optional and not required to hack on the front-end.
The address to the API user can be changed in the metacpan_web.conf file.
Ideally you would create a new file called C<metacpan_web_local.conf> that contains
## Installing manually via carton

If you prefer to use carton to manage your dependencies, then the above
commands can be converted to:

$ carton install
$ carton exec prove -lr t/
$ carton exec plackup -p 5001 -r

## Local configuration changes

The backend defaults to C<api.metacpan.org>. Running a local API server is
optional and not required to hack on the front-end. The address to the API
user can be changed in the metacpan_web.conf file. Ideally you would create a
new file called C<metacpan_web_local.conf> that contains

api http://127.0.0.1:5000
api_secure http://127.0.0.1:5000
Expand All @@ -32,4 +44,7 @@ which will be loaded on top of the existing config file.

## COMPATIBILITY NOTES

On Win32 (and possibly also on other platforms) when using Perl < 5.12, the server started with plackup will generate warnings relating to date parsing. These are caused by Plack due to a bug in the gmtime implementation and can be removed by upgrading to Perl 5.12.
On Win32 (and possibly also on other platforms) when using Perl < 5.12, the
server started with plackup will generate warnings relating to date parsing.
These are caused by Plack due to a bug in the gmtime implementation and can be
removed by upgrading to Perl 5.12.
92 changes: 0 additions & 92 deletions bin/unlisted_prereqs.pl

This file was deleted.

18 changes: 8 additions & 10 deletions cpanfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
author_requires 'CPAN::Meta::Requirements';
author_requires 'File::Find::Rule::Perl';
requires 'AnyEvent::Curl::Multi';
requires 'CHI';
requires 'CPAN::Changes', '0.21';
requires 'Captcha::reCAPTCHA', '0.94';
requires 'Capture::Tiny';
requires 'Catalyst', '5.90053';
Expand All @@ -13,9 +17,7 @@ requires 'Catalyst::TraitFor::Request::REST::ForBrowsers';
requires 'Catalyst::View::JSON';
requires 'Catalyst::View::TT::Alloy';
requires 'CatalystX::RoleApplicator';
requires 'CHI';
requires 'Config::General';
requires 'CPAN::Changes', '0.21';
requires 'Data::Dumper';
requires 'DateTime';
requires 'DateTime::Format::HTTP';
Expand All @@ -26,20 +28,21 @@ requires 'Encode', '2.51';
requires 'Exporter';
requires 'File::Path';
requires 'Gravatar::URL';
requires 'Hash::AsObject';
requires 'Hash::Merge';
requires 'HTML::Escape';
requires 'HTML::Restrict', '2.1.8';
requires 'HTML::Tree';
requires 'HTTP::Message::PSGI';
requires 'HTTP::Request';
requires 'HTTP::Request::Common';
requires 'Hash::AsObject';
requires 'Hash::Merge';
requires 'JSON::XS';
requires 'List::MoreUtils';
requires 'List::Util';
requires 'Locale::Country','3.28';
requires 'Moose';
requires 'MooseX::ClassAttribute';
requires 'MooseX::Role::Parameterized', '1.02';
requires 'Perl::PrereqScanner','1.014';
requires 'Plack::Middleware::Assets';
requires 'Plack::Middleware::ReverseProxy';
requires 'Plack::Middleware::Runtime';
Expand All @@ -60,11 +63,6 @@ requires 'Template::Plugin::Page';
requires 'Try::Tiny', '0.09';
requires 'URI';
requires 'XML::Feed';

test_requires 'Test::MockObject','1.09';
test_requires 'Test::More', '0.96';
test_requires 'Test::XPath', '0.15';

# bin/unlisted_prereqs.pl
author_requires 'CPAN::Meta::Requirements';
author_requires 'File::Find::Rule::Perl';
Loading