trueagi-io / hyperon-experimental

MeTTa programming language implementation
https://metta-lang.dev
MIT License
153 stars 50 forks source link

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

Open luketpeterson opened 5 months ago

luketpeterson commented 5 months 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