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

refactor and improve file sorting on release page #1945

Merged
merged 1 commit into from Jul 9, 2017

Conversation

haarg
Copy link
Member

@haarg haarg commented Jul 7, 2017

Move all file sorting into one routine. Only link one one of a matching
pod/pm pair. Allow for other interesting files that aren't in the root
directory.

my @modules
= is_arrayref( $f->{module} ) ? @{ $f->{module} } : $f->{module};
for my $module ( grep {defined} @modules ) {
for my $f ( @files{@files} ) {
Copy link
Contributor

Choose a reason for hiding this comment

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

:)

Copy link
Contributor

Choose a reason for hiding this comment

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

isn't this just values %files? i don't see any code changing the hash or the array.

Copy link
Member Author

Choose a reason for hiding this comment

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

Left over from refactoring where I wanted sorting or removed items from @files. It could just be values in this case.

Move all file sorting into one routine.  Only link one one of a matching
pod/pm pair.  Allow for other interesting files that aren't in the root
directory.
@haarg haarg force-pushed the haarg/release-file-organizing branch from 2e278e4 to 84f1880 Compare July 9, 2017 22:15
@haarg haarg merged commit 7a10298 into master Jul 9, 2017
@haarg haarg deleted the haarg/release-file-organizing branch July 9, 2017 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants