kkamara/php-github-to-bitbucket-backup-repo-updater

This package is abandoned and no longer maintained. No replacement package was suggested.

:computer: (29-Aug-2023) Compatible with Windows, MacOS & Linux.

dev-main 2025-01-20 07:27 UTC

This package is not auto-updated.

Last update: 2025-05-13 07:09:40 UTC


README

MainClass.png

php-github-to-bitbucket-backup-repo-updater

💻 (29-Aug-2023) Compatible with Windows, MacOS & Linux.

Quickstart

git clone https://github.com/kkamara/php-github-to-bitbucket-backup-repo-updater
cd php-github-to-bitbucket-backup-repo-updater
# Update config.json in your php-github-to-bitbucket-backup-repo-updater 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": "main"
      },
      "bitbucket": {
        "origin": "git@bitbucket.org:kkamara2/kelvinkamara.com",
        "branch": "main"
      }
    }
  }
}
git clone https://github.com/kkamara/php-github-to-bitbucket-backup-repo-updater
cd php-github-to-bitbucket-backup-repo-updater
# 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 PHP ReactJS Boilerplate.

See ReactJS Boilerplate.

See PHP Scraper.

See NodeJS ReactJS Boilerplate.

PHP Docker Skeleton.

Python Docker Skeleton.

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.

License

BSD