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
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
When fluxd performs a checkout for a new repository it does a write check at a certain step. This write check creates, pushes and removes a tag pointed at the default branch and not the one configured by the user with --git-branch.
I think it would be better if we would perform the write check against the configured branch. As we now (temporary) touch something we are not explicitly told to look at and it also has a chance of (unrelated) failure, for example, when the default branch contains no commits and Flux will be unable to get a HEAD revision (caller=loop.go:90 component=sync-loop err="git repo not ready: tag for write check: fatal: Failed to resolve 'HEAD' as a valid ref.").
The text was updated successfully, but these errors were encountered:
When fluxd performs a checkout for a new repository it does a write check at a certain step. This write check creates, pushes and removes a tag pointed at the default branch and not the one configured by the user with
--git-branch
.I think it would be better if we would perform the write check against the configured branch. As we now (temporary) touch something we are not explicitly told to look at and it also has a chance of (unrelated) failure, for example, when the default branch contains no commits and Flux will be unable to get a
HEAD
revision (caller=loop.go:90 component=sync-loop err="git repo not ready: tag for write check: fatal: Failed to resolve 'HEAD' as a valid ref."
).The text was updated successfully, but these errors were encountered: