Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

Allow users to put folders #16

Open
heynemann opened this issue Jul 6, 2011 · 5 comments
Open

Allow users to put folders #16

heynemann opened this issue Jul 6, 2011 · 5 comments
Labels
Milestone

Comments

@heynemann
Copy link
Contributor

An user should be able to put a folder.

When that happens, provy must:
a) Compare local to remote, file by file;
b) If file exists locally but not remotely, copy it;
c) If file does not exist locally, but exists remotely, do nothing (on risk of losing stuff);
d) If file exists on both, but md5 differ, update it;

This way users can still use templates when putting folders.

@diogobaeder
Copy link
Contributor

What do you think of postponing this to 0.6.0? I'm asking for the same reason of the SecurityRole: it will take some time to build, and I'd like to have 0.5.0 released asap.

Sounds good to you?

@heynemann
Copy link
Contributor Author

Perfect.

On Mon, Oct 8, 2012 at 4:24 AM, Diogo Baeder notifications@github.comwrote:

What do you think of postponing this to 0.6.0? I'm asking for the same
reason of the SecurityRole: it will take some time to build, and I'd like
to have 0.5.0 released asap.

Sounds good to you?


Reply to this email directly or view it on GitHubhttps://github.com/heynemann/provy/issues/16#issuecomment-9218070.

@jbzdak
Copy link
Contributor

jbzdak commented Feb 1, 2013

Why not use rsync?

Pros:

  • Simple, just works,
  • Established standard
  • Support of partial transfer

Cons:

  • Opens new connection to host.
  • Needs to install packages on both machines.

@diogobaeder
Copy link
Contributor

That's a good idea, Jacek. +1 to using rsync, for me.

Regarding the 2nd con, I'd say we can provision rsync only if that role method is called.

@jbzdak
Copy link
Contributor

jbzdak commented Dec 27, 2013

I'll be doing this in the coming days.

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

No branches or pull requests

3 participants