Repo is a repository management tool that Android built on top of Git. Repo unifies the many Git repositories when necessary, does the uploads to our revision control system, and automates parts of the Android development workflow. Repo is not meant to replace Git, only to make it easier to work with Git in the context of Android. The repo command is an executable Python script that you can put anywhere in your path.
Questions tagged [repo]
604 questions
5
votes
0 answers
Repo.insert returning preloaded associations?
Repo.insert(changeset)
returns {:ok, struct}, but struct has no preloaded associations.
Am I forced to select query to preload it's associations? Or can I avoid a useless query somehow?

icra
- 460
- 3
- 14
5
votes
1 answer
Android repo tool `repo update` without Gerrit
We are using the Android repo tool for our own non-Android software. We are using GitLab, not Gerrit for code review. With GitLab, I only need to do an ordinary push of the topic branch, as if I had done git push in each repository of my…

John McGehee
- 9,117
- 9
- 42
- 50
5
votes
2 answers
What is the meaning of the gpgcheck in repo file?
In the .repo file:
[centos]
name=centos7.2
baseurl=http://10.0.0.1/centos7.2/7.2/xxx/x86_64/
enabled=1
gpgcheck=0
You can see there is some key-value analogy things, I know the name, baseurl and enable representative for what, but I…

user7693832
- 6,119
- 19
- 63
- 114
5
votes
0 answers
Jenkins Gerrit polling fails: constantly triggering builds
So we're using Gerrit Trigger (2.23.0) on our Jenkins CI build manager & using docker containers for the actual builds.
The issue that has recently popped up in some of our branches the Gerrit Repo polling is failing and causing it to "detect…

TemporalWolf
- 7,727
- 1
- 30
- 50
5
votes
0 answers
Jenkins Slave Swap Space
In my Jenkins setup there is a single upstream build that triggers several downstream projects that run on slave nodes. I recently added an additional slave node with the same settings (except IP and labels) as currently working slaves. When the new…

William
- 79
- 2
- 9
5
votes
1 answer
Tips and tricks useful to "checkout" (download) the Android source code more quickly
Viewing and searching the Android source code is simple. You simply visit the AndroidXRef website.
But, if you want to build and run the bleeding-edge version of Superuser, you must first download an entire Android source tree.
Imagine that I want…

unforgettableidSupportsMonica
- 257
- 2
- 17
5
votes
2 answers
How to add bitbucket private Git repository to AOSP?
my bitbucket ssh url:
git@bitbucket.org:MY_USERNAME/PROJECT_NAME.git
.repo/local_manifests/manifest.xml

user1236048
- 5,542
- 7
- 50
- 87
4
votes
2 answers
GH cli - how to get current repo?
Use GitHub cli (gh), how do I get a current repo name?
I can get a listing of the repos I have but how do I get the current repo?

DFBerry
- 1,818
- 1
- 19
- 37
4
votes
0 answers
How to index github repo in google? (Not a github pages)
I got Apollo GraphQL Express boilerplate
https://github.com/aryawpratama/apollographql-boilerplate
And I want to make my repo is indexed by google as well as this repo
https://github.com/hagopj13/node-express-boilerplate
will appear on search result…

Arya W Pratama
- 51
- 1
4
votes
2 answers
Do you need to re-clone your repo if you transfer a github repo to a new owner?
For Github , I transferred my repo to another owner (and was given admin rights to it). Before that I had already cloned it to my desktop using Github Desktop. Now after the transfer, do I need to delete my local files and re-clone it from the new…

omega
- 40,311
- 81
- 251
- 474
4
votes
1 answer
Why is repo sync not checking out the branch I had specified in the manifest file?
Suppose I have the following manifest file for the repo tool (MCVE
script is included at the end of this post):

bgoodr
- 2,744
- 1
- 30
- 51
4
votes
1 answer
Why does `repo init` fail with a GitError?
I am trying to test out using repo, but it does not seem to work very well for me. If I run repo init -u https://android.googlesource.com/platform/manifest then I get the following output:
[localhost] 10:03 $ REPO_TRACE=1 repo init -u…

Simon Rose
- 381
- 5
- 11
4
votes
1 answer
What will be the alternative for repo sync command?
I am new to git and I want to execute manifest file manually after doing repo init, instead of doing repo sync. To measure the time difference between normal git commands and repo sync in different cases. But I am not sure which git command to does…

tushar_ecmc
- 186
- 2
- 21
4
votes
1 answer
Clone a repo directly from manifest xml file without a git repository
I would like to clone a repo without having the manifest on a branch.
My build system creates static manifest files with repo manifest -o static.xml -r I'm looking for a smart way of checking out a workspace the exact same contents from those…

Simson
- 3,373
- 2
- 24
- 38
4
votes
2 answers
multiple android repo sync fatal errors
I am using repo sync for syncing Lineage OS 15.1 with
repo init -u https://github.com/LineageOS/android.git -b lineage-15.1
and I am getting a lot of the below errors repeatedly for different repositories
1:
curl: (22) The requested URL returned…

paulplusx
- 213
- 4
- 13