Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dump configs in all plugins that have one #276

Open
wants to merge 21 commits into
base: v7-in-progress
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
88abb04
the release-testing branch no longer exists
karenetheridge Apr 21, 2018
1ef6b8f
use v5.20.0 and Dist::Zilla::Dialect
rjbs Apr 21, 2018
e1e0fac
in v7, we stop handling the v6 Path::Class compat stuff
rjbs Apr 21, 2018
741b482
methods that should not return refs: plugins_with, plugins
rjbs Apr 21, 2018
dece0f5
methods that should not return refs: authors
rjbs Apr 21, 2018
7e273a2
better standardize dereference style
rjbs Apr 21, 2018
c6d8420
eliminate coderef where lexical sub will do
rjbs Apr 21, 2018
91bc26a
clean up some sub definitions
rjbs Apr 21, 2018
75674cf
remove all uses of File::HomeDir
karenetheridge Dec 10, 2017
fd6e0ee
do not chdir into the source dir when building
karenetheridge May 18, 2016
c24316f
prohibit _ in non-decimal versions
karenetheridge Dec 17, 2016
cee59bf
VersionStr type: very slightly simplification of check
rjbs Apr 21, 2018
48fe7a0
homedir: on v5.20, we can just use glob("~") for homedir
karenetheridge May 12, 2017
a91a223
skip an intermediary step, as the tempdir is guaranteed to be unique
karenetheridge Jul 27, 2015
e5adadd
create a symlink in .build/latest for all builds
karenetheridge Jul 27, 2015
7bde393
stringify directory, for String::Flogger
karenetheridge Apr 21, 2016
9e2d250
Merge branch 'latest-symlink'
rjbs Apr 21, 2018
1a77ae1
avoid use of @_ where practical
rjbs Apr 22, 2018
6bbe36c
v7 only supports perl 5.20+
karenetheridge Dec 16, 2018
2f836ca
dump configs in all plugins that have one
karenetheridge Jan 31, 2014
39e0856
more tests if you want em
karenetheridge Feb 1, 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
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ perl:
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
before_install:
- git clone git://github.com/rjbs/travis-perl-helpers -b release-testing ~/travis-perl-helpers
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
Expand Down
24 changes: 24 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
Revision history for {{$dist->name}}

{{$NEXT}}
[THIS RELEASE MIGHT BREAK YOUR BUILD]
- now requires perl v5.20.0
- the "plugins" and "plugins_with" methods, along with a few others,
now are meant to be called in list context rather than scalar; you
should update to calling in list context, as Dist::Zilla v8 will stop
returning references

[LESS TERRIFYING CHANGES]
- Introducing Dist::Zilla::Dialect! This library turns on the features
being used by core Dist::Zilla code. Probably don't just use this
blindly in your code, but there it is.
- replace uses of File::HomeDir with a simple glob() (thanks, Karen
Etheridge)
- Dist::Zilla::Tester no longer changes into the source directory when
building. This may break some plugins that do not prepend
$zilla->root to paths when they should. (thanks, Karen Etheridge)
- version strings must now pass version.pm's is_strict checks, which
eliminates such discouraged constructs as v1.23_01 (thanks, Karen
Etheridge)
- the test generated by [MetaTests] is now an author test, not a
release test (thanks, Karen Etheridge)
- all builds now result in a .build/latest symlink (thanks again,
Karen)
- more plugins add their config to metadata when [MetaConfig] is used

6.012 2018-04-21 10:20:21+02:00 Europe/Oslo
- revert addition of Archive::Tar::Wrapper as a mandatory prereq (in
Expand Down
2 changes: 2 additions & 0 deletions corpus/dist/AuthorDeps/dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ skip = ^DZPA::Skip
:version = 5.0
encoding = bytes
filename = t/data.bin

[MetaConfig]
2 changes: 2 additions & 0 deletions corpus/dist/AutoPrereqs/dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ Archive::Tar::Wrapper = 0.15

[Prereqs / RuntimeSuggests]
PPI::XS = 1.23

[MetaConfig]
1 change: 1 addition & 0 deletions corpus/dist/DZ-NonAscii/dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ copyright_holder = ภูมิพลอดุลยเดช
[@Classic]
[MetaJSON]
[NextRelease]
[MetaConfig]
1 change: 1 addition & 0 deletions corpus/dist/DZ1/dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ license = Perl_5
copyright_holder = E. Xavier Ample

[@Classic]
[MetaConfig]
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Data::OptList = 0.110
PPI::XS = 0

[Prereqs]
perl = v5.14.0 ; how tempted am I to set this to v5.20? very!
perl = v5.20.0 ; how tempted am I to set this to v5.24? somewhat!

parent = 0 ; used by the AutoPrereq test corpus

Expand Down
Loading