Stars: 101
Forks: 22
Pull Requests: 9
Issues: 23
Watchers: 11
Last Updated: 2022-07-20 18:13:23
FTPbucket is a PHP script that enables you to sync your BitBucket or GitHub repository with any web-server
License:
Languages: PHP
FTPbucket is a PHP script that enables you to sync your BitBucket or GitHub repository with any web-server. It works with Git and Mercurial.
How does it work? When you push to a GitHub or BitBucket repository, you can setup a hook that will be called after every push. This hook will send a payload containing what is changed to the server hosting the FTPbucket folder. FTPbucket can apply the modifications on the same host or to another one through FTP or SSH (SFTP).
From one FTPbucket folder, you can manage an infinite number of hosts and repos.
- release notes -
v0.8
If you are updating, you should go for a fresh install. Erase everything except the config file.
v0.7
If you are updating, you should go for a fresh install. Erase everything except the .txt files if you want to keep your logs.
v0.6
If you are updating, you should go for a fresh install. Erase everything except the .txt files if you want to keep your logs.
If you want to use SSH, you must install the SSH2 extension available from PECL on the server hosting FTPbucket.
Note: On BitBucket, POST hooks are still supported by FTPbucket (not working with version 0.7+).
You can see and clear the logs by connecting to http://myserver/ftpbucket/ You have to setup a password in the config file.
The script only copies the files you are pushing. It means that if you start with this tool when you already have files in your repo, they won't be copied on the server. I'm looking for solutions on a full deploy.
I'm sure a lot of improvements can be made to my code so don't hesitate to fork and improve it! I would be glad to hear about your tests and issues too.
Copyright (c) 2014-2016 Thomas Malicet
This code is an open-sourced software licensed under the [BEER-WARE LICENCE] (https://fedoraproject.org/wiki/Licensing/Beerware)