Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Documentation] - Clarification regarding LOCAL_MIRROR #691

Open
OdinVex opened this issue Oct 1, 2024 · 3 comments
Open

[Documentation] - Clarification regarding LOCAL_MIRROR #691

OdinVex opened this issue Oct 1, 2024 · 3 comments

Comments

@OdinVex
Copy link

OdinVex commented Oct 1, 2024

When using LOCAL_MIRROR=true, will this clone the entire repo or just the branch(es) used?

By the way, thank you very much for this project, I'm quite excited to test it out.

@OdinVex
Copy link
Author

OdinVex commented Oct 2, 2024

(I know that LOCAL_MIRROR is not yet working, I meant when it's finally used. ^_^)

@petefoth
Copy link
Contributor

petefoth commented Oct 2, 2024

Sorry - I don't know.

In my personal builds, before I got involved here as a project maintainer, I never used a local mirror, and I am very hazy about how it works and what it actually does.

Our monthly builds did use a local mirror, but when we had to restructure our main build script to fix #677, I originally left the 'USE_LOCAL_MIRROR' handling alone, hoping it would work in the new build structure, but it didn't. I did not have time then (and I don;t have time now) to debug and fix it, so I removed it, and we now make our builds without using a local mirror.

I would welcome a Pull Request which re-instated the ability to use a local mirror, but It's not something I have the time (or knowledge and expertise TBH) to work on myself. The project has more pressing problems which need to be fixed (see here

Agaim, sorry of this is not what you want to hear

@petefoth
Copy link
Contributor

LOCAL_MIRROR is now working. I still don't know the answer to your question, but I did a bit more digging when I was fixing #679

This post is the reference on how the --mirror flag should be used:
https://source.android.com/docs/setup/download/troubleshoot-sync#use-mirror

And this on how to use it with LineageOS
https://github.com/LineageOS/mirror

If those dont answer your question, you could maybe try it and see what happens 😄

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants