Questions tagged [repo]

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.

604 questions
4
votes
0 answers

Android repo tool: is there any way to apply a patch command during the repo sync operation

First of all I would like to describe an environment that is related to my question (as simple as it could be). Android repo tool should be used to deal with 2 repositories git repository A contains a simple txt file, file.txt git repository B…
Alex Konkin
  • 618
  • 1
  • 7
  • 15
4
votes
0 answers

How to work with Git repositories without network connection?

Supposing I have to work in an isolated subnetwork without connection to source repo. As start of development, I can do "git clone" in somewhere where has connection and then copy over ".git" directory by USB stick. Then I can use this ".git"…
M2014
  • 1,094
  • 1
  • 9
  • 16
4
votes
1 answer

Repo, gerrit & Jenkins co-working

I have a problem with getting Google's Repo, gerrit & Jenkins working together. our setup: we have a Repo build out of few git repositories, which are all on our gerrit server. Manifest is also there. Workflow: user do changes in few files which…
Ilan
  • 41
  • 1
4
votes
1 answer

repo tool unable to pull based on tags

Im using repo tool to manage multiple repositories. Here is my sample manifest file and I have given a tag name in my revision - 'firsttag'. When I do a repo sync it says - Fetching project repo1 fatal: Couldn't find remote ref…
user1050619
  • 19,822
  • 85
  • 237
  • 413
4
votes
2 answers

How are Code Aurora source archives organized?

I hit up Code Aurora while trying to find the kernel sources for Qualcomm MSM devices. The listing at Code Aurora sources is overwhelming. I couldn't spot any documentation explaining what is what. What are all these projects? What's the naming…
sherlock
  • 2,397
  • 3
  • 27
  • 44
4
votes
1 answer

Open repo using gitkraken got stuck in a loop

I have cloned a repo using gitkraken successfully but unable to open that repo. It is in a loop. Please let me know what need to be done to open repo. Thank you
Ashoka
  • 41
  • 1
  • 3
4
votes
1 answer

Can repo recurse submodules?

We are starting to use repo ( https://source.android.com/source/using-repo.html ) to manage our multi-repository projects, however some of these repositories are using git submodules. When I do a repo sync, is there a way to basically pass…
yano
  • 4,095
  • 3
  • 35
  • 68
4
votes
2 answers

How can I avoid fetching of .repo/manifest.xml?

How can I avoid fetching of .repo/manifest.xml (which is modified intentionally)? I do not want to get it modified during a repo sync. I have done a repo init, This step is completed. I did a small modification on the manifest.xml, removed some…
DanThoms
  • 41
  • 1
  • 4
4
votes
3 answers

How to install google repo on mac

I just got a new mac like two weeks back. I am trying to install Google Repo I am not into android development but my company uses this repo to store its codebase. do I still need to carry out all the instructions from Establishing a Build…
user1079065
  • 2,085
  • 9
  • 30
  • 53
4
votes
1 answer

how to overwrite the defaul.xml after repo init

I need to do the following steps,i need to update the default.xml to change the revision of some projects and then sync the code,is there a repo option to sync to local default.xml files?if not can you please advise how to deal with this…
user5007670
4
votes
1 answer

New repo command ( 1.22) is available

I started getting the below warning message suddenly in my repo when I do repo init. I spent enough time searching about it in forums but no luck! A new repo command ( 1.22) is available. ... You should upgrade soon: What it is about?
Bhargav Kumar R
  • 2,190
  • 3
  • 22
  • 38
4
votes
1 answer

Creating local branches with Repo

We've started using Repo (described here: https://source.android.com/source/developing.html) to manage our set of git repositories. After doing init and sync, all the repositories have detached HEADs. When the manifest version of a repository is a…
anr78
  • 1,308
  • 2
  • 17
  • 31
4
votes
5 answers

repo sync error: .repo/manifests/: contains uncommitted changes

After issued repo sync, I got a error message like error: .repo/manifests/: contains uncommitted changes, but git status or git diff showed nothing changed. What's cause of the problem and why it happened?
xuehui
  • 825
  • 1
  • 8
  • 17
4
votes
1 answer

repo: command not found in automated bash script to build cyanogenmod

I am running linux mint 17.2, I have repo installed and the path to repo is added to my .bashrc. I have previously initiated my repo. I have followed the instructions on the Android Source Downloading and How to Build CyanogenMod pages. The problem…
Michael
  • 41
  • 1
  • 6
4
votes
2 answers

What does "urlopen error [Errno -2] Name or service not known" mean?

When I execute the command repo upload . I get this error message: [FAILED] device/path/to/repository/ branchname (ssh://gerrit.foo.com/: ) Does anybody know what this means, or how…
Edward Falk
  • 9,991
  • 11
  • 77
  • 112