Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Windows file path#83

Closed
dduportal wants to merge 16 commits intodocker-archive-public:masterfrom
dduportal:windows-file-path
Closed

Windows file path#83
dduportal wants to merge 16 commits intodocker-archive-public:masterfrom
dduportal:windows-file-path

Conversation

@dduportal
Copy link
Copy Markdown
Contributor

Since we got some issues with the path on Windows, @johngossman found the problems and PR'ed on docker (mainly the docker API) :

I pushed the change on all path. occurences, moved to filepath, in order to well-handle all the cases wiith the "" path separator.

It builds, i (quickly) tested on windows 64 and linux 64 inside a centos7 VM.

Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
@bfirsh
Copy link
Copy Markdown
Contributor

bfirsh commented Dec 11, 2014

@dduportal great, thanks! getting test failures though.

Comment thread store.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

need to use filepath.Join for ".docker" and "hosts" here too

@jeffmendoza
Copy link
Copy Markdown
Contributor

store_test.go needs it's imports updated to fix tests.

@dduportal
Copy link
Copy Markdown
Contributor Author

Corrections in progress, i was too quick :)

Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
@dduportal
Copy link
Copy Markdown
Contributor Author

Test fixed, and some path.Join are fixed.

@bfirsh
Copy link
Copy Markdown
Contributor

bfirsh commented Dec 11, 2014

Great stuff, thanks @dduportal! Could you squash into a single commit?

@johngossman
Copy link
Copy Markdown

Built and run. Searched for "path." not converted. LGTM

Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
Fix #68. Homedir is now detected same as Docker.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
@bfirsh
Copy link
Copy Markdown
Contributor

bfirsh commented Dec 12, 2014

Needs a rebase due to #88

bfirsh and others added 9 commits December 12, 2014 01:14
Sort `machine ls` output by machine name
Remove mitchellh/go-homedir from godeps
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
# The first commit's message is:

Correcting filepathes to gain Windows compatibility

Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>

# This is the 2nd commit message:

Adding filepath imports

Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
…ndependant

Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>
@dduportal
Copy link
Copy Markdown
Contributor Author

Rebased with conflict merging + re-propagating filepath + join stuff to the rebased version.
Locally, build, tests, and validate* are running ok. Waiting for travis.

I need help with the squash rebase, because when I git rebase -i from the common ancestor, i have to re-run all my previous conflict-rebase work from the issue pull/63. I am probably missing something and i don't want to break the history

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.

4 participants