unnecessary fetch of whole repo

T.T.'s Avatar

T.T.

21 Apr, 2023 08:17 AM

on every commit, appveyor does full fetch of ref branch.
i.e. https://ci.appveyor.com/project/ccxt/ccxt/builds/46848154#L3
that is an unnecessary fetch of around 3 gb data on every commit.

However, in above lines show that there should be used depth 1: `git clone -q --depth=1`

the same can be easily confirmed by looking at counterpart travis log:
https://app.travis-ci.com/github/ccxt/ccxt/builds/262475672#L171 (see 171th line and thereafter, as it's around 3GB)

We have notified travis about this inefficiency and they are fixing that (will be implemented soon on travis).
so, maybe you can look into that too and fix it, you are wasting huge resources that alone ccxt repo gets commits once in every minute and that 3GB data being re-downloaded constantly, causing delays in build. plz fix it.

  1. Support Staff 1 Posted by Feodor Fitsner on 21 Apr, 2023 11:12 PM

    Feodor Fitsner's Avatar

    Hello,

    There is already --depth=1 in the clone command. Or you are referring to a different command? Please elaborate.

  2. Feodor Fitsner closed this discussion on 22 Jun, 2023 09:04 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac