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

Replace File::Find with Path::Tiny #1610

Merged
merged 5 commits into from
Apr 15, 2021
Merged

Replace File::Find with Path::Tiny #1610

merged 5 commits into from
Apr 15, 2021

Conversation

cromedome
Copy link
Contributor

"The journey of a thousand miles begins with a single step." We have discussed migrating to Path::Tiny (and started, see #1264 and #1544 for details), and this is the first concrete, discrete step in doing so. It takes a problem of small scope (app scaffolding and File::Find) to set the stage for the rest of the migration.

There are a few TODO items here, and if there are better ways to handle them, I am all ears. If not, I will remove my comments when I merge.

Feedback welcome/needed!

"The journey of a thousand miles begins with a single step." We have
discussed migrating to Path::Tiny (and started, see #1264 and #1544 for
details), and this is the first concrete, discrete step in doing so. It
takes a problem of small scope (app scaffolding and File::Find) to set
the stage for the rest of the migration.

There are a few TODO items here, and if there are better ways to handle
them, I am all ears. If not, I will remove my comments when I merge.

Feedback welcome/needed!
Copy link
Member

@SysPete SysPete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to see us start to use Path::Tiny, thanks @cromedome! Some ideas added.

lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
Copy link
Member

@SysPete SysPete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one last comment, otherwise 👍

lib/Dancer2/CLI/Gen.pm Outdated Show resolved Hide resolved
Copy link
Contributor

@yanick yanick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks cromulent. And yay to Path::Tiny!

@cromedome cromedome merged commit 41467d3 into master Apr 15, 2021
@cromedome cromedome deleted the enhancement/path-tiny branch April 15, 2021 03:18
cromedome added a commit that referenced this pull request Apr 18, 2021
    [ BUG FIXES ]
    * None

    [ ENHANCEMENTS ]
    * GH #1593: Log files used to build config (Nick Tonkin)
    * PR #1608: Migrate CLI to CLI::Osprey (Jason A. Crome)
    # PR #1610: Replace File::Find with Path::Tiny in CLI (Jason A. Crome)

    [ DOCUMENTATION ]
    * PR #1597: Update Core/Hook.pm Pod (Paul Clements)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants