kkamara / ghbbupdater
:computer: (29-Aug-2023) Compatible with Windows, MacOS & Linux.
dev-main
2024-09-20 22:40 UTC
This package is not auto-updated.
Last update: 2024-09-23 02:33:43 UTC
README
github-to-bitbucket-backup-repo-updater
💻 (29-Aug-2023) Compatible with Windows, MacOS & Linux.
Quickstart
git clone https://github.com/kkamara/ghbbupdater cd ghbbupdater # Update config.json in your ghbbupdater directory. composer i composer start
Installation
If you're using Docker make sure you have Docker and Docker Compose installed.
Update config.json
with your github and bitbucket remote urls for your repos.
{ "repos": { "kelvinkamara.com": { "github": { "origin": "https://github.com/kkamara/kelvinkamara.com", "branch": "develop" }, "bitbucket": { "origin": "git@bitbucket.org:kkamara2/kelvinkamara.com", "branch": "develop" } } } }
git clone https://github.com/kkamara/ghbbupdater cd ghbbupdater # composer install composer i
Usage
# php src/MainClass.php
composer start
Using Linux with Docker?
make start # build & run your script make stop # stop your docker container
Using Windows with Docker?
.\ps\run.ps1 start # build & run your script .\ps\run.ps1 stop # stop your docker container
Misc
See Github to Bitbucket Backup Repo Updater made with NodeJS.
See NodeJS ReactJS Boilerplate.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.