Jacob created MYNEWT-877: ---------------------------- Summary: newt install should clone shallow Key: MYNEWT-877 URL: https://issues.apache.org/jira/browse/MYNEWT-877 Project: Mynewt Issue Type: Improvement Security Level: Public (Viewable by anyone) Components: Newt Reporter: Jacob Assignee: Sterling Hughes Priority: Minor
On an intial glance, it seems like newt install might be cloning with depth one https://github.com/apache/mynewt-newt/commit/d8c6a397ba6859dfd192dbb91b06201e2fb74733 but it sure takes forever and the size looks full depth $ newt new test $ cd test/ $ newt install $ git count-objects -v -H count: 0 size: 0 bytes in-pack: 75195 packs: 1 size-pack: 86.02 MiB prune-packable: 0 garbage: 0 size-garbage: 0 bytes indeed a shallow clone outside of a newt install comes in much smaller $ git clone --depth 1 g...@github.com:apache/mynewt-core.git ... $ git count-objects -v -H count: 0 size: 0 bytes in-pack: 4876 packs: 1 size-pack: 10.24 MiB prune-packable: 0 garbage: 0 size-garbage: 0 bytes I havent looked closer but perhaps newt install follows a different code path that could be --depth 1 as well? -- This message was sent by Atlassian JIRA (v6.4.14#64029)