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
323
votes
19 answers

cocoapods - 'pod install' takes forever

I was trying to update the existing pods with the pod install command, but it takes forever to run. The verbose mode shows it was stuck at the following line (forever) Updating spec repo master $ /usr/bin/git pull --no-rebase --no-commit There is…
Hai Feng Kao
  • 5,219
  • 2
  • 27
  • 38
49
votes
5 answers

What is Repo and Why does Google use it?

When I wanted to get Android source code, I knew that I have to use "repo". So what is repo? Why do they use repo and not just use GIT?, and is there a GUI for repo that enables me to pause/resume syncing, because every time I get disconnected…
Osama Gamal
  • 1,161
  • 4
  • 12
  • 18
35
votes
1 answer

What to do about curl clone.bundle error on AOSP repo sync

Upon downloading the master branch from AOSP I get the following error: curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring. Why is this error coming? Log: * [new tag] …
powder366
  • 4,351
  • 7
  • 47
  • 79
31
votes
7 answers

When running repo sync error: Exited sync due to fetch errors

I'm trying to sync my jb repository but I receive this odd error. funny thing is that it does not always crash at the same point (though it might be just a synchronization issue since I add -j10). command: $ repo sync -j10 error: error: Exited sync…
dolbi
  • 2,180
  • 1
  • 19
  • 25
30
votes
5 answers

Where is the source code of Android Architecture Components?

Can't find the source code of new Android Architecture Components. Was it published? If it was, where? If the source is in AOSP, please specify which specific repo project should I use with repo sync [PROJ_NAME] in order to get it.
Vasiliy
  • 16,221
  • 11
  • 71
  • 127
29
votes
9 answers

SyntaxError: invalid syntax to repo init in the AOSP code

I have tried to repo init the source code Ubuntu build machine and it is successfully able to clone the code. repo init -u git@github.com:xxx/xx_manifest.git -b xxx Now I am trying repo init the source code in VM Ubuntu machine. In between getting…
GNK
  • 1,036
  • 2
  • 10
  • 29
25
votes
2 answers

What are the pros and cons of Git submodule and Repo?

It just so happens that we share a library between 3 different mobile platforms. There is much debate within the office on what is the best tool to use to manage this library. Repo (Android) from what I read is a tool built on top of Git used for…
binarycreations
  • 3,091
  • 6
  • 32
  • 38
22
votes
1 answer

What are the main differences betwen repo and jiri?

Google has been promoting since some time repo in Android context and has been adopted for some other projects non Android related. In Google's operating system Fuchsia Jiri is being introduced. What is the backround of these two tools? If they…
urnenfeld
  • 1,030
  • 9
  • 25
19
votes
5 answers

How to install Android's repo on my Ubuntu system?

I want to install repo for working with the Android source files. How to install repo?
Subrat
  • 3,928
  • 6
  • 39
  • 48
16
votes
3 answers

I worked on a private repo in GitHub then made it public. Can I make my activity visible?

I had a private repo for 6 months that I worked on. Today I finally made it public after submitting a paper. Is it possible to make the activity (those green square) visible? I tried clicking on contribution setting and got the message Visitors will…
Penguin
  • 1,923
  • 3
  • 21
  • 51
15
votes
5 answers

git error fatal: fetch-pack: invalid index-pack output

I have been trying to clone the aosp repo, it worked fine last week but hasn't been for the last two days. I narrowed it down to the deqp dependecy. With the however I got multiple errors but always resulting in "fatal: fetch-pack: invalid…
koniety
  • 153
  • 1
  • 1
  • 7
15
votes
6 answers

Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

I tried to create a git repo with the instructions from "source.android.com/source/downloading.html#installing-repo" but I get the following error when trying to initialize the repo in the working directory (using Ubuntu): :~/workdir$ repo init -u…
user1032187
  • 201
  • 1
  • 2
  • 8
14
votes
7 answers

repo: command not found?

I am new to git and repo. I am in window 7 so I use cygwin. I have installed git from cygwin setup. After that I try to repo with the following command in cygwin. $ repo init-u git://android.git.kernel.org/platform/manifest.git I get an error…
aemon
  • 789
  • 2
  • 7
  • 13
14
votes
2 answers

alternative to git-repo ( aosp repo )

I have recently started to look into android development (aosp) and read about "repo" tool/wrapper that takes care of all the android's sub projects . While I think repo does a fairly good job at what it does, I wanted to know if there are any…
k0n3ru
  • 683
  • 1
  • 8
  • 25
13
votes
5 answers

Git cannot create shallow-since locally

I am trying to create a --shallow-since working clone from a local bare clone but it keeps pulling everything. --depth=N works fine. I'm thinking the issue is I'm using the wrong format? I've tried searching but no where does it explicitly say what…
arthur doe
  • 281
  • 1
  • 2
  • 6
1
2 3
40 41