trueagi-io / hyperon-experimental

OpenCog Hyperon experimental version
https://wiki.opencog.org/w/Hyperon
MIT License
122 stars 43 forks source link

pkg_mgmt, Support for git-hosted modules specified with custom revisions &/or tags #711

Open luketpeterson opened 1 month ago

luketpeterson commented 1 month ago

Currently a module dependency in a PkgInfo struct or a GitCatalog can be specified by git URL and branch. However, there is no way to specify a tag or revision.

Cargo's handling of git-hosted crates is described here: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#choice-of-commit

For additional reading, this issue is a continuation of the discussion here: https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1628587658