Skip to content

Unify shallow clone options across rootfs scripts to reduce traffic and storage requirements #2894

Description

@pawiecz

Are clone options intended to reduce traffic or do they serve some additional purpose?

Yes, to help reduce network traffic and speed up clones in CI systems, where complete history is not required.

Originally posted by @vigneshraman in #2826 (comment)

Rootfs builder scripts use various approaches to running shallow clones. This task focuses on providing a set of sane defaults for such an operation.

  • Check git clones across rootfs scripts
  • Extract optimum set of git options
  • Document it as a best practice
  • (Optionally) Provide it as a shell function shared across scripts

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions