Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Describe the bug
cekit permits specifying a git ref for a module, but this does not translate into a git ref underneath, but must actually be a tag or branch name (valid argument to
Attempt to set the git ref for an external module to a ref that is not a branch or tag name.
Remote repository cloned and local branch set up to reference the ref specified, even if it was a sha1-id.
I'm looking at this now. Changing this to accept any ref is very simple, but the only thing that bothers me a bit is that it is suboptimal: we need to clone the whole repository first so that locally we have all information and only then checkout a specific ref. For large repositories it may be an issue making the run slower, but I guess the feature to use any ref is probably worth it.