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
11
votes
1 answer

How to build Android-x86 using the LineageOS codebase as a starting point?

I already have a directory with the entire source code for LineageOS, which was initialized with: repo init -u https://github.com/LineageOS/android.git -b lineage-15.1 After a couple builds, the directory is over 70GiB. Now I would like to build…
Marc.2377
  • 7,807
  • 7
  • 51
  • 95
10
votes
1 answer

Is there a tool to create repo manifest file with SHA based on current work directory?

I'm using repo, which is used by Android project, to manage my project. Is there a tool to create repo manifest file with SHA based on current work directory as the following?
gzh
  • 3,507
  • 2
  • 19
  • 23
8
votes
1 answer

What is gitc filesystem from repo's source code?

I used basic repo commands to download Android sources. Then decided to browse the source code of repo. Things looked straightforward but there are few things that I didn't find explanation for and Google search didn't help. What does gitc-init…
becks
  • 2,656
  • 8
  • 35
  • 64
8
votes
3 answers

AOSP repo sync error, bad object HEAD

I have worked with and successfully compiled and installed AOSP about a year or two ago. I'm trying to get back up and running in it to do some development. However, I keep getting this error: Fetching projects: 100% (486/486), done. Traceback…
jdods
  • 323
  • 7
  • 18
7
votes
2 answers

Not able to build grails 2.3.7 project since the maven central repository has moved to https

I am not able to build my 2.3.7 grails projects since the maven central repository has moved to https. I tried the recommandations on this post : Requests to http://repo1.maven.org/maven2/ return a 501 HTTPS Required status and a body However I'am…
Alioune
  • 71
  • 1
  • 2
7
votes
2 answers

Does Github pages have a built in way of accessing and caching the latest release from the API?

Learning Jekyll and hosting through Github Pages I'm trying to figure out how to access a private repo's latest release and cache the download URLs to a Jekyll page. I know how to access the data through the Github API with an access token using…
DᴀʀᴛʜVᴀᴅᴇʀ
  • 7,681
  • 17
  • 73
  • 127
7
votes
2 answers

How do I extend someone else's repo manifest?

In my project, I want to take an existing Yocto setup for the Automotive Grade Linux distribution and add some layers with recipes for our own components. There exists a manifest file, publicly available, on their gerrit site. What I'd like to do…
kdopen
  • 8,032
  • 7
  • 44
  • 52
7
votes
2 answers

Switching Git branches inside an Android Repo project

I have a question about switching branches using repo. I know that I can checkout a branch like this: $ repo init ... -b foo $ repo sync My understanding is that this will checkout the foo branch of the manifest repository, and then check out the…
mkasberg
  • 16,022
  • 3
  • 42
  • 46
7
votes
1 answer

How to update the repo version

This below is the message I see, when I try to repo sync. info: A new version of repo is available error: cannot run gpg: No such file or directory error: could not run gpg. error: could not verify the tag 'v1.12.17' warning: Skipped upgrade…
Khulja Sim Sim
  • 3,469
  • 1
  • 29
  • 28
6
votes
1 answer

How to print the latest commit ID from the git repo using shell script

I have the following shell script in linux environment, in which arr has the list of git repo paths and when I tried running this script, I am getting into that path through the line 3, but I am not able to get the latest commit ID and save in the…
6
votes
2 answers

Git error - fatal: fsync error on 'loose object file': Bad file descriptor

I am working on a chat app using ReactJs and nodeJs. I have deployed it on herokuapp using the git and I'm building the application in Visual studio code. When I tried to commit my changes, this error occurred and I'm not able to commit any changes…
Çrâzî Bøî
  • 103
  • 1
  • 7
6
votes
1 answer

How to properly run repo sync after forking AOSP manifest?

Recently I decided to dive into the Android Open Source Project world. This is how I picture my life will be with AOSP: In order to dig into the AOSP world, I need to get my hands dirty and modify code in the projects. And I am going to do it on…
darklord
  • 5,077
  • 12
  • 40
  • 65
6
votes
1 answer

Selectively download Android source code

I am following Google's documentation on how to download the source code for Android. But my ISP is very slow and I have been downloading things for 5 days now. I have noticed it downloads support for many devices that I don't want like LG nexus…
alcarv
  • 889
  • 6
  • 15
6
votes
2 answers

Reduce the Size of the Android Source Repository .repo Directory

I have been switching between several branches of the Android source code with the commands like: repo init -u https://android.googlesource.com/platform/manifest -b android-4.4_r1.2 repo sync The most recent tag was android-5.0.0_r2. I noticed my…
GrandAdmiral
  • 1,348
  • 2
  • 24
  • 52
5
votes
2 answers

Hung on Checking out when trying to clone git repository to xcode

I am trying to clone a git repository from GitHub to use in the xcode ide environment, however it seems to be stuck on the 'Checking out' phase. I've left it for an hour but it seems to be hung on this stage. I go to the Github repository, then copy…
CAF
  • 329
  • 3
  • 14
1
2
3
40 41