azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
898 stars 63 forks source link

Relative path in sync ignored files/paths #623

Closed gullitmiranda closed 8 years ago

gullitmiranda commented 8 years ago

When azk reads a path from .syncignore or .gitignore, it cannot handle relative paths.

This decision would be a little tricky, because the user can be really wishing to ignore an file from root.

I believe that only for the .gitignore case, a . should be added before every starting /, making the path relative. After all, .gitignore consider all paths relative from its own location.