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

Fix various Windows-issues #699

Closed
wants to merge 1 commit into from
Closed

Fix various Windows-issues #699

wants to merge 1 commit into from

Conversation

bep
Copy link
Member

@bep bep commented Dec 7, 2014

File handling was broken on Windows. This commit contains a revision of the path handling with separation of file paths and urls where needed.

There may be remaining issues and there may be better ways to do this, but it is easier to start that refactoring job with a set of passing tests.

Fixes #687
Fixes #660

@bep
Copy link
Member Author

bep commented Dec 7, 2014

@spf13 the build still fails, but for another reason.

#696 should fix that -- I can rebase this one once that is sorted.

@bep bep force-pushed the windows-fixes branch 3 times, most recently from 0db5c5b to 0b6594c Compare December 8, 2014 02:17
@bep
Copy link
Member Author

bep commented Dec 8, 2014

I've done some quick, manual testing of 4-5 Hugo sites on both Win and Linux -- and It doesn't look like I have broken "anything important".

File handling was broken on Windows. This commit contains a revision of the path handling with separation of file paths and urls where needed.

There may be remaining issues and there may be better ways to do this, but it is easier to start that refactoring job with a set of passing tests.

Fixes gohugoio#687
Fixes gohugoio#660
@bep
Copy link
Member Author

bep commented Dec 8, 2014

@spf13 and then the build was all green.

@spf13
Copy link
Contributor

spf13 commented Dec 8, 2014

@bjornerik Awesome job. Thanks so much for taking the time and effort to resolve this.

@bep bep mentioned this pull request Dec 8, 2014
@halostatue
Copy link
Contributor

👍 Yes, yes, yes.

@derekperkins
Copy link
Contributor

👍

@spf13
Copy link
Contributor

spf13 commented Dec 9, 2014

Merged as 9f77f93

@spf13 spf13 closed this Dec 9, 2014
@bep bep deleted the windows-fixes branch April 18, 2017 09:19
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MakePermalink generate backslash on Windows Failing unit tests on windows due forward slash vs back slash
4 participants