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

local ignore settings start with / does not working #88

Open
kingori opened this issue Oct 8, 2021 · 1 comment
Open

local ignore settings start with / does not working #88

kingori opened this issue Oct 8, 2021 · 1 comment

Comments

@kingori
Copy link

kingori commented Oct 8, 2021

I'm using mirakle 1.4.3 on osX (10.15 catalina) with rsync 3.2.3.

I've adopted mirakle with my android project and most things works fine, but some of ignore settings not worked. And I found local ignore starts with / is not excluded in rsync.

I got rsync command log by run gradle with --debug option and command is like below

rsync /my_project_path build_host:~/mirakle --rsh ssh  --exclude=mirakle.gradle --archive --delete 
--stats -h -i --exclude=/a exclude=/b ...

Then I tested this command on command line and /a , /b was not excluded, too. If I change rsync path from /my_project_path to /my_project_path/. it worked well.

rsync /my_project_path/. build_host:~/mirakle --rsh ssh  --exclude=mirakle.gradle --archive --delete 
--stats -h -i --exclude=/a exclude=/b ...

So, could you fix rsync command to include /. in mirakle plugin?

@kingori
Copy link
Author

kingori commented Oct 8, 2021

I've tested again and this is right command

rsync /my_project_path/. build_host:~/mirakle/my_project_directory_name --rsh ssh  --exclude=mirakle.gradle --archive --delete 
--stats -h -i --exclude=/a exclude=/b ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant