- Add `scm.git.distance_scope` and `scm.git.distance_count`, restricting the 
distance count to the commits that touch a monorepo project (and optionally 
further shared directories) instead of every commit in the repository. Counting 
uses `--full-history` by default, or `--first-parent`; git's default history 
simplification is not offered because it can make the distance shrink across a 
merge. Git only.

- Select file finders by the VCS marker their entry point is named for (`.git`, 
`.hg`, `.jj`) instead of running every backend's command in turn. A tree with 
no VCS marker -- an unpacked sdist, say -- now spawns no subprocess at all, so 
a slow `hg` on `PATH` can no longer fail an unrelated build.

  The finders also survive a subprocess timeout: `subprocess.TimeoutExpired` 
was uncaught and aborted the build, and is now treated like any other failed 
probe.
- Prefer the fallback metadata nearest the project directory. A 
`.git_archival.txt` or `PKG-INFO` at the VCS root no longer shadows a monorepo 
project's own, which silently produced the root project's version.

Signed-off-by: Richard Purdie <[email protected]>
---
 ...-vcs-versioning_2.3.4.bb => python3-vcs-versioning_2.4.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-vcs-versioning_2.3.4.bb => 
python3-vcs-versioning_2.4.0.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-vcs-versioning_2.3.4.bb 
b/meta/recipes-devtools/python/python3-vcs-versioning_2.4.0.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-vcs-versioning_2.3.4.bb
rename to meta/recipes-devtools/python/python3-vcs-versioning_2.4.0.bb
index e358c722d73..e66a7ce7b03 100644
--- a/meta/recipes-devtools/python/python3-vcs-versioning_2.3.4.bb
+++ b/meta/recipes-devtools/python/python3-vcs-versioning_2.4.0.bb
@@ -5,7 +5,7 @@ library that can be used independently of setuptools."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c9b06ad2ebd7e2e82d34b3caf353e7d5"
 
-SRC_URI[sha256sum] = 
"f3443da15a34a32755b04324e33c6166add300c7661f45902225190c9337f711"
+SRC_URI[sha256sum] = 
"cc4b66c02ae4cfb51e843910024f7142464c3391bb1f7e04608578b45046891b"
 
 SRC_URI += "\
     file://run-ptest \
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#245835): 
https://lists.openembedded.org/g/openembedded-core/message/245835
Mute This Topic: https://lists.openembedded.org/mt/121258271/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to