Skip to content

add filter configurations at a per-Source or per-Remote granularity #239

@ndhaller

Description

@ndhaller

edkrepo 3.2.0 release adds the --treeless and --blobless options to the edkrepo clone command.

This applies the git clone --filter=tree:0 and --filter=blob:none across all Source in a Combination.

I would like the option to specify 'blobless' and 'treeless' in the manifest file at the Source level or the Remote level.

Example:
--filter=blob:none on the Edk2Repo and Edk2PlatformsRepo, and --filter=tree:0 on the Edk2NonOsiRepo and FspRepo when cloning the Intel-MinPlatform project.

https://github.com/tianocore/edk2-edkrepo-manifest/blob/main/edk2-platforms/Intel-MinPlatform/IntelMinPlatformManifest.xml

    <Remote name="Edk2Repo">https://github.com/tianocore/edk2.git</Remote>
    <Remote name="Edk2PlatformsRepo">https://github.com/tianocore/edk2-platforms.git</Remote>
    <Remote name="Edk2NonOsiRepo">https://github.com/tianocore/edk2-non-osi.git</Remote>
    <Remote name="FspRepo">https://github.com/intel/FSP.git</Remote>
    <Combination name="master" description="the master branch from edk2 Repo, master branch from edk2-platforms repo, master branch from edk2-non-osi repo, master branch from FSP repo">
      <Source localRoot="edk2" remote="Edk2Repo" branch="master" sparseCheckout="true" enableSubmodule="true" />
      <Source localRoot="edk2-platforms" remote="Edk2PlatformsRepo" branch="master" sparseCheckout="true" />
      <Source localRoot="edk2-non-osi" remote="Edk2NonOsiRepo" branch="master" sparseCheckout="true" />
      <Source localRoot="FSP" remote="FspRepo" branch="master" sparseCheckout="false" />
    </Combination>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions