{"push_id":1022141754,"size":1,"distinct_size":1,"ref":"refs/heads/shallow-simplify","head":"4d7bbd419992a2723f85a78d59351ef715e782fe","before":"eac0bd786df7d52531c2207ba4a9d09a47acd937","commits":[{"sha":"4d7bbd419992a2723f85a78d59351ef715e782fe","author":{"email":"4c8c411260e601995081b113a5ef94a26eff2b25@mentor.com","name":"Christopher Larson"},"message":"bitbake: bb.fetch.git: add support for shallow mirror tarballs\n\nVariables:\n\n    BB_GIT_SHALLOW: enable/disable shallow support as a whole, boolean\n    BB_GIT_SHALLOW_DEPTH: specify commit depth for the included refs. defaults to 1 (the top commit alone)\n    BB_GIT_SHALLOW_DEPTH_<name>: specify commit depth for a specific named url/branch. This overrides BB_GIT_SHALLOW_DEPTH, and can be set to 0 or the empty string to avoid making this shallow\n    BB_GIT_SHALLOW_REVS: specific revisions whose history should be removed, beyond that specified by refs+depth\n    BB_GIT_SHALLOW_TRIM_REFS: by default, unused refs/branches are removed. set this to 0 or the empty string to keep all refs around. This is required for linux-yocto kernel repositories\n    BB_GIT_SHALLOW_EXTRA_REFS: additional refs to include beyond those referenced in SRC_URI, when trimming refs\n    BB_GENERATE_SHALLOW_TARBALLS: explicitly control creation of shallow mirror tarballs. this defaults to enabled when BB_GENERATE_MIRROR_TARBALLS is enabled\n\nExample usage:\n\n    BB_GIT_SHALLOW ?= \"1\"\n    BB_GIT_SHALLOW_DEPTH ?= \"10\"\n\n    # Usage in a recipe with multiple named uris or multiple named branches\n    BB_GIT_SHALLOW_DEPTH_doc = \"\"\n\n    # Remove the upstream history from our kernel repo, keeping our own\n    BB_GIT_SHALLOW_REVS_pn-linux-mel_mx6 = \"v3.14\"\n    BB_GIT_SHALLOW_DEPTH_pn-linux-mel_mx6 = \"\"\n\nBB_GIT_SHALLOW affects both the tarballs being fetched and the mirror tarball\nwhich is created when BB_GENERATE_MIRROR_TARBALLS is enabled. If the shallow\nmirror tarball cannot be fetched, it will try to fetch the full mirror tarball\nand use that.\n\nLimitations:\n\nThis implements support for shallow mirror tarballs, not shallow clones.\nSupporting shallow clones directly would be rather more problematic, as we'd\nneed to hardcode the depth between branch HEAD and the SRCREV, and that depth\nwould change as the branch is updated.\n\nSigned-off-by: Christopher Larson <chris_larson@mentor.com>","distinct":true,"url":"https://api.github.com/repos/kergoth/poky/commits/4d7bbd419992a2723f85a78d59351ef715e782fe"}]}