Git Product home page Git Product logo

github-mirror's Introduction

GitHub Mirror

mirror License

Mirrors repositories to GitHub.

Note: Action runs on branches other than main execute a dry run and wont update the remote repository.

Add Mirror

⚠️ All branches which aren't in the upstream repository are lost.

  1. Create a fork (if on GitHub) or an empty destination repository, same name as upstream is recommended
  2. Generate SSH keys: ssh-keygen -t ed25519 -C github-mirror
    • Add the private key as a new secret to this project (SSH_PRIVATE_KEY_<Repo ID>, all uppercase)
    • Add the public key as writeable deployment key github-mirror to the destination repository
  3. Add configuration to mirror.yml
  4. (Optional) Set default branch of the destination repository according to upstream

Example

mirror_config:
    - {
        src_repo: "<Upstream Git URL>",
        dest_repo: "<Destination Repo Name>",
        key_id: "<Repo ID>",
    }
    - ...

github-mirror's People

Contributors

h5b avatar iniesta8 avatar offa avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

github-mirror's Issues

Mirroring enhancements

Mirroring enhancements

  • Tags (by option) ❓ --> should work already?
  • Prune (by option) ❓ --> should work already?
  • #4

Don't fail fast

If one mirror build fails it's going to terminate all others, thus preventing them from a update.

Add new mirrors for nxp

meta-freescale
meta-freescale-3rdparty
meta-freescale-distro
meta-imx
meta-nxp-demo-experience
meta-qt6

Refresh meta-qt and openembedded forks too?

Since almost all related repos are updated regularly, shall we update the remaining forks (meta-qt and openembedded) too?

It should work to just enable mirroring without re-creating the forks.


  • meta-qt
    • ⚠️ Keep backport branches (needs testing)
  • ✔️ openembedded #28

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.