`hugo import jekyll` fails if unrecognized files exist #1705

Closed
antifuchs opened this Issue Dec 13, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@antifuchs

Congrats on the new release, I couldn't be more excited about the new import jekyll command! I just tried it out on my existing octopress blog, but it reported an error - it sounds like I opened the _posts directory in Finder one time:

$ hugo import jekyll --verbose --log=true ~/Documents/Blog/ ./
Importing...
ERROR: 2015/12/13 Parse filename error: .DS_Store
filename not match

Not sure what behavior would be best there (I suppose this is to catch the case where the importer isn't able to infer what kind of file it's seeing), but maybe this could be made a warning and not an error.

@bep bep added the Bug label Dec 14, 2015

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Dec 14, 2015

Member

Yes, it should be a warning. Thanks for the report.

Member

bep commented Dec 14, 2015

Yes, it should be a warning. Thanks for the report.

@bep bep added this to the v0.16 milestone Dec 14, 2015

@bep bep closed this in d1bec54 Dec 14, 2015

bramp added a commit to bramp/hugo that referenced this issue Dec 17, 2015

tychoish added a commit to tychoish/hugo that referenced this issue Aug 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment