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

Allow users to put folders #16

Description

@heynemann

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.

Activity

  1. diogobaeder commented on Oct 8, 2012

    @diogobaeder
    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?

  2. heynemann commented on Oct 8, 2012

    @heynemann
    ContributorAuthor

    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.

  3. jbzdak commented on Feb 1, 2013

    @jbzdak
    Contributor

    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.
  4. diogobaeder commented on Feb 1, 2013

    @diogobaeder
    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.

  5. jbzdak commented on Dec 27, 2013

    @jbzdak
    Contributor

    I'll be doing this in the coming days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions