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
Changes from 1 commit
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
Prev Previous commit
Next Next commit
stringify directory, for String::Flogger
  • Loading branch information
karenetheridge authored and rjbs committed Apr 21, 2018
commit 7bde3934ebe39967d92a9bf20c2b19b9925830ac
6 changes: 3 additions & 3 deletions lib/Dist/Zilla/Dist/Builder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -676,16 +676,16 @@ sub _create_build_symlinks {
$latest = path( $symlink_root, 'latest' );
if( -l $previous ) {
$previous->remove
or $self->log([ 'cannot remove old %s/previous link', $symlink_root ]);
or $self->log([ 'cannot remove old %s/previous link', "$symlink_root" ]);
}
if( -l $latest ) {
rename $latest, $previous
or $self->log([ 'cannot move %s/latest link to .build/previous', $symlink_root ]);
or $self->log([ 'cannot move %s/latest link to .build/previous', "$symlink_root" ]);
}

my $link_dest = path($build_target)->relative(path($latest)->parent);
symlink $link_dest->stringify, $latest
or $self->log([ 'cannot create link %s/latest', $symlink_root ]);
or $self->log([ 'cannot create link %s/latest', "$symlink_root" ]);
}

return ($latest, $previous);
Expand Down