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

Ability to have one Branch copied to two ftp locations #37

Open
bonelifer opened this issue Jul 11, 2011 · 3 comments
Open

Ability to have one Branch copied to two ftp locations #37

bonelifer opened this issue Jul 11, 2011 · 3 comments

Comments

@bonelifer
Copy link

It would be nice to have the ability to have one Branch copied to two ftp locations. For instance I have two forums that use the same forum software + modifications. It would be nice to be able to update them both using git-ftp.py.

@ezyang
Copy link
Owner

ezyang commented Jul 11, 2011

Sounds like we should generalize the branch interface to a "source" -> "destination" list.

@bonelifer
Copy link
Author

So something like this:

[server1]
branch=master
username=me
password=s00perP4zzw0rd
hostname=ftp.hostname.com
remotepath=/htdocs

[server2]
branch=master
username=me
password=s00perP4zzw0rd
hostname=ftp.hostname.net
remotepath=/htdocs/

in this case server1 and server2 are really just SECTION names to separate each one.

Also, nice script. All I could find are BASH scripts and I'm on a windows machine.

@ezyang
Copy link
Owner

ezyang commented Jul 16, 2011

Not interested in implementing this in the near future, but sounds like a nice, simple patch for someone looking to develop Python skills to do. Do try to maintain backwards compatibility with existing config files (do something sensible when branch is missing.)

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

2 participants