Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upswitch chromium to use github mirror #8930
Conversation
|
How up-to-date is the Chromium GitHub repo? If we wanted to speed up the clone time, we can try to do a clone without history. Since it would only be used for building, that should be fine and should shave a LOT of time off the clone cc: @bridiver |
|
@linhkikuchi what is the reason for this? Can you open a ticket for it and also please do not add skip CI tags unless the changes do not apply to those platforms. |
Issue is here #8929, we want to speed up the |
|
@linhkikuchi can you update the commit message to auto-close the ticket? You checked the box for |
updated, thanks |
|
it still seems to take a long time with github so maybe another possible solution is to create our own repo with just the tags we use and no other history? |
I have created our own codecommit repo to mirror chromium, but with full mirror, it is very slow. Do we have a list of the tags that we use? I can try to test with a mirror with just tags we use and no other history |
|
@linhkikuchi you'd have to go back through brave-browser history for https://github.com/brave/brave-browser/blame/master/package.json#L31 and get all the tags we've used. You can probably write some kind of script to do it |
|
@linhkikuchi you could even just trim the history back to |
|
@bridiver how would it speed things up by doing that on the git server? we can control what we fetch in npm init or gclient. |
|
as far as I can tell we can't control it. As I said above there is no option for gclient that allows us to make a shallow clone of a specific tag so we either get master (which is never what we want) or we get everything. So the idea is to make "everything" smaller
… On Mar 31, 2020, at 10:09 PM, Mihai PLESA ***@***.***> wrote:
@bridiver how would it speed things up by doing that on the git server? we can control what we fetch in npm init or gclient.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
@bridiver I recall we added |
|
Not very promising https://groups.google.com/a/chromium.org/forum/#!topic/infra-dev/hWJrrccCGhU |
linhkikuchi commentedMar 31, 2020
•
edited
Submitter Checklist:
git rebase master(if needed).git rebase -ito squash commits (if needed).added to
scripts/audit.js.Test Plan:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.