Project

munkey

0.0
No commit activity in last 3 years
No release in over 3 years
Use git to push and pull from ftp servers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.4.2
 Project Readme

Munkey¶ ↑

Uses git to mirror an ftp server and track local changes. These can then be pushed back up to the ftp server or additional changes pulled down from the ftp server.

Solves my problem of working on a website locally but needing to interact with other developers editing directly the server via ftp.

This is not very efficient yet since it downloads all the (non-.gitignore’d) files each time.

Note: Depends on net-ftp-list gem so be sure to install that as well

Usage¶ ↑

munkey clone [–ignore=ignoresfile] usr:pwd@host/dir [dst]

munkey pull [–no-merge] [–full-download] - pulls in new changes from ftp

munkey push - pushes changes back into ftp server. Important to have pulled

recent changes from ftp since munkey will overwrite locally
modified files.

Caveats¶ ↑

  • Gitignore support doesn’t understand inverse (!…) lines – patches welcome

  • Probably doesn’t work on Windows (or any non-unix platform)