A tool to migrate GitHub Repositories to Gitea including all issues
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.go 486B

1234567891011121314151617181920212223242526
  1. package main
  2. import (
  3. "fmt"
  4. "os"
  5. "github.com/sirupsen/logrus"
  6. "github.com/urfave/cli"
  7. )
  8. var (
  9. version = "0.0.0"
  10. build = "0"
  11. )
  12. func main() {
  13. app := cli.NewApp()
  14. app.Name = "gitea-github-migrator"
  15. app.Version = fmt.Sprintf("%s+%s", version, build)
  16. app.Usage = "GitHub to Gitea migrator for repositories"
  17. app.Description = `Migrate your GitHub repositories including issues to Gitea`
  18. app.Commands = cmds
  19. if err := app.Run(os.Args); err != nil {
  20. logrus.Panic(err)
  21. }
  22. }