akzhan / DBIx-Class-ResultClass-HashRefInflator-UTF8

DBIx-Class-ResultClass-HashRefInflator-UTF8
1 stars 0 forks source link

contains big number of unneeded directories #2

Open chorny opened 7 years ago

chorny commented 7 years ago

See https://metacpan.org/source/AKZHAN/DBIx-Class-ResultClass-HashRefInflator-UTF8-1.000005

.build  
DBIx-Class-ResultClass-HashRefInflator-UTF8-1.000001    
DBIx-Class-ResultClass-HashRefInflator-UTF8-1.000002    
DBIx-Class-ResultClass-HashRefInflator-UTF8-1.000003    
DBIx-Class-ResultClass-HashRefInflator-UTF8-1.000004

and all subdirectories.

akzhan commented 7 years ago

Thanks, @chorny, Will remove useless data in days (may be now).

akzhan commented 7 years ago

@Wu-Wu have you any suggestion why and how to fix?

Wu-Wu commented 7 years ago

It seems like the .gitignore file is not correct. I think the patterns should not start with the slash (/) character. For example, take a look at some of mine https://github.com/Wu-Wu/Dist-Zilla-Plugin-TravisCI-StatusBadge/blob/master/.gitignore

The DZ grabs all files on build. You allow to it to grab dotfiles (see GatherDir options) so the .build directory would be in the release.

Also check options for Git::Check plugin. It would be able to die on untracked files on release.

akzhan commented 7 years ago

@Wu-Wu "/" at pattern start said GIT to match only from root of the repo. It's Git feature.

is DZ not compatible with?

Wu-Wu commented 7 years ago

Compatible, of course..

Check GatherDir options.