You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue highlights a problem in the cdeps_download_package function, where the current implementation cannot be used to check out a package version based on a commit hash. Currently, cloning a Git repository with the -b option only works when using a branch or tag.
To support commit hashes, we need an alternative method to download and check out a specific version of a package. One approach is to fetch the specific reference and check out that reference after cloning the package. For example, while the current command to download the package is:
This issue highlights a problem in the
cdeps_download_package
function, where the current implementation cannot be used to check out a package version based on a commit hash. Currently, cloning a Git repository with the-b
option only works when using a branch or tag.To support commit hashes, we need an alternative method to download and check out a specific version of a package. One approach is to fetch the specific reference and check out that reference after cloning the package. For example, while the current command to download the package is:
We can modify it to:
This way, the function will support specifying versions using commit hashes, in addition to branch and tag names.
The text was updated successfully, but these errors were encountered: