Another one from me! When setting flow storage to ...
# ask-community
s
Another one from me! When setting flow storage to be remote and from
GitRepository
, you can specify the url, branch, and credentials. Is there a way to specify instead a tag or commit hash? I'd like to be able to effectively pin what is cloned out.
s
Another response from me ๐Ÿ™‚ I think you can pass in a tag here in the
reference
field An example of how to do this with
GitLabRepository
is here
s
Looks like the
reference
field in repositories.py:118 handles tags but not commits, I'll pass this back to the team, thanks Serina ๐Ÿ™‚
s
Yeah, Iโ€™m pretty sure we have a GitHub issue somewhere where we discussed adding commits as an enhancement but it involved some overhead and it isnโ€™t anywhere in near future in our backlog.
๐Ÿ‘ 1