aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

split repo

Open babyface001 opened this issue 2 years ago • 4 comments

🚀 Feature Request

split big repo

Motivation

framework dep is too long to download.

babyface001 avatar Oct 25 '22 11:10 babyface001

Can you provide more details? Parts of our repo require the move and framework deps, so this is unavoidable for these.

JoshLind avatar Nov 14 '22 22:11 JoshLind

@JoshLind download framework dep will clone entry git repo, it 's too big.

if we split it into a separate repo, it will be small download.

babyface001 avatar Nov 15 '22 05:11 babyface001

we just need download framework repo, not entry aptos_core big repo.

babyface001 avatar Nov 15 '22 05:11 babyface001

The solution here is to use on-chain instead of git deps in the Move.toml. It is true that there is a large overhead here because for each Move package referenced, the full aptos-core repo needs to be downloaded.

wrwg avatar Nov 15 '22 05:11 wrwg

Similar as #5909

wrwg avatar Feb 18 '23 03:02 wrwg

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

github-actions[bot] avatar Apr 28 '23 01:04 github-actions[bot]

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

github-actions[bot] avatar Jun 13 '23 02:06 github-actions[bot]

I note that there is a --skip-fetch-latest-git-deps flag which you can use in case of poor network connection.

brmataptos avatar Jul 24 '23 19:07 brmataptos

Update: there's been more discussions on this issue recently, and here's what we plan to do to address this issue

  • Setting up a mirror repo that serves only the framework packages
    • This will be a read-only repo, with changes automatically synced from aptos-core using copy-bara
  • Exploring git shallow cloning so to avoid downloading unnecessary histories

vgao1996 avatar Jul 08 '24 16:07 vgao1996