Giter VIP home page Giter VIP logo

github-archive's Introduction

github-archive's People

Contributors

kennethwussmann avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

github-archive's Issues

Job Type: Archive personal GitHub repos to Gitea

With #1 github-archive is prepared to take different types of jobs.

WHY

I want to backup all the repos that I have at GitHub to a personal Gitea instance. I want github-archive to monitor what repos exist in my GitHub account and sync them to Gitea.

WHAT

  1. Create a new job type repos
  2. That job, when run, should fetch all repos the given configured user has
  3. Match repos found against the existing repos at Gitea
  4. Create Gitea repo mirrors just like for starred repos, but for the repos found on the user account

Configuration

Some configs that should be possible:

jobs:
  - type: repos
    name: "My public repos"
    schedule: "*/10 * * * *"
    githubSource:
      # Notice that for purely public repos, no access token is required
      user: "KennethWussmann"
  - type: repos
    name: "My private & public repos"
    schedule: "*/10 * * * *"
    githubSource:
      accessTokens: "fill-me"
      user: "KennethWussmann"
  - type: repos
    name: "My private repos"
    schedule: "*/10 * * * *"
    githubSource:
      accessTokens: "fill-me"
      user: "KennethWussmann"
      filter: 
        visibility: # Usual default, private & public
         - private
  - type: repos
    name: "Someone's public repos"
    schedule: "*/10 * * * *"
    githubSource:
      user: "Someone"

All the currently supported mirror settings should continue to be supported for this job type as well.

Out of scope

  • Organization Support. Start with user-level archival first.

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.