The current implementation requires the command to be run on a git repo and
it seems to only work after running a git fetch without dry-run option first.
The difference between 401 Unauthorized and 403 Forbidden is that 403 Forbidden is "permanent":
it indicates that the user was authenticated correctly, but was not allowed to access this endpoint.
In contrast, 401 Unauthorized means that the request as posted was not allowed, but if the user
were to try again with (new) authorization tokens, it might actually succeed.
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
- support for mupltiple SCM URLs (logic was broken when there were more
than one SCM URL in SCMURLS conf. var)
- unsplit-brain handling of SCM URLs between frontend and backend
Fixes#203.
The modulemd files we had used to all pin the commit hashes of the
components they were pulling in. We changed this with modulemd-1.0 and
now modules can define their components in terms of their *stream*
(a.k.a. their dist-git *branch*). This is awesome, and is a big
stepping stone towards greater things.
The problem is that we used to take that git ref literally from the
modulemd and pass it on to koji. Now that instead we are passing on a
branch name to koji, it falls down. Koji requires us to send it an
explicit commit hash.
This change takes that branch name and converts it to an explicit commit
hash when the module is first submitted.
Verified that things are working again:
- http://koji.stg.fedoraproject.org/koji/taskinfo?taskID=90084980