Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Add New Deploy Modules Flag that will deploy only New or Modifed Files #85

Closed
garyrusso opened this issue Mar 15, 2013 · 3 comments
Closed

Comments

@garyrusso
Copy link
Contributor

Add a new flag to the deploy modules command. The new flag will only copy the new or modifed files. The logic would need to compare the last modified datetime timestamp of the destination files to the source files. If the timestamp of the source file is greater then the file is deployed. Logic would need to use UTC time for the comparisons.

@dmcassel
Copy link
Collaborator

Good concept, though I think this might lead to problems when used with non-local environments on project with more than one developer (a common scenario). Probably need to track the last deploy time on the filesystem (deploy/last-deploy). That file ought to stay out of git. If the last deploy time were tracked in the modules database, then we'd run into trouble if I deployed and then you did to the same environment.

@sjcrook
Copy link

sjcrook commented Sep 16, 2013

+1

@grtjn
Copy link
Contributor

grtjn commented Jun 13, 2017

Resolved in #551 + #777

@grtjn grtjn closed this as completed Jun 13, 2017
@grtjn grtjn self-assigned this Jun 13, 2017
@grtjn grtjn added this to the July 2017 milestone Jun 13, 2017
@grtjn grtjn added the deployer label Jun 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants