Hi Richard,

Patch v2 (Proposed fix) addresses the concern with the previous approach:
it no longer copies the datastore or rewrites SRC_URI during package
version calculation.

Instead, externalsrc saves the formatted source-version suffix in
EXTERNALSRC_PKGV_SUFFIX before filtering SCM URLs. The package and
PR-service paths reuse it, while the normal fetcher path remains unchanged
for non-externalsrc builds.

Validation used git-submodule-test for both requested transitions:

  BitBake to devtool: both builds produce the same hash-bearing PKGV and no
  version-going-backwards QA error.

  devtool to BitBake: both builds produce the same PKGV with no regression
  in the reverse transition.

Changes since v1:

  - replace the copied datastore/SRC_URI override with a saved suffix;
  - use the suffix for both PKGV and AUTOINC PR-service handling.

-- 
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247201): 
https://lists.openembedded.org/g/openembedded-core/message/247201
Mute This Topic: https://lists.openembedded.org/mt/121578101/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to