Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.
/ aosp_gerrit_sync Public archive

Simple python script to push changes from repo (i.e. Android) into gerrit

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE
GPL-3.0
LICENSE_GPL
LGPL-3.0
LICENSE_LGPL
Notifications You must be signed in to change notification settings

ArrEssJay/aosp_gerrit_sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

repo_gerrit_sync

###Python script to push changes from repo (i.e. Android) into gerrit

It is still in early development, takes no options and is hard-coded to connect to servers specified at the top of the script.

It was written to automate mirroring of the Android Source Project in gerrit

  • It requests lists of projects from a repo mirror project and a gerrit installation
  • Those lists are compared, and any new projects from repo are created it gerrit
  • The gerrit git remote is added to any new projects
  • Each repo project is pushed to gerrit

##Cool stuff

  • Handles differences in namespaces between repo and repo ** This is useful when putting upstream mirrors in a sub-project in gerrit

##Requirements:

  • repo initiated with the --mirror (i.e. bare git projects) option
  • gerrit installation accessible via SSH with CLI access

##Todo:

  • More intelligent changing of gerrit URL in each repo project
  • Ignore list
  • Use a config file
  • Dependency management
  • Tidying
  • Better ssh handling
  • Handle git description file in gerrit description

About

Simple python script to push changes from repo (i.e. Android) into gerrit

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE
GPL-3.0
LICENSE_GPL
LGPL-3.0
LICENSE_LGPL

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages