Project

General

Profile

Actions

Feature #24728

open

Can't checkout ceph with --shallow-submodules due to ceph-erasure-code-corpus

Added by Yaniv Kaul almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

git clone --recursive --shallow-submodules :ceph/ceph.git fails due to:
...
remote: Counting objects: 466, done.
remote: Compressing objects: 100% (421/421), done.
remote: Total 466 (delta 86), reused 127 (delta 12), pack-reused 0
Receiving objects: 100% (466/466), 1.61 MiB | 482.00 KiB/s, done.
Resolving deltas: 100% (86/86), done.
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
error: Server does not allow request for unadvertised object 2d7d78b9cc52e8a9529d8cc2d2954c7d375d5dd7
Fetched in submodule path 'ceph-erasure-code-corpus', but it did not contain 2d7d78b9cc52e8a9529d8cc2d2954c7d375d5dd7. Direct fetching of that commit failed.

It'd be great to look into it, as it should allow much quicker cloning (which is useful for CI).
Note that using '--depth 1' seems to work fine, and also reduces size nicely (several hundred of MBs less to clone).

No data to display

Actions

Also available in: Atom PDF