~sircmpwn/git.sr.ht#365: 
[Builds submitter] No builds triggered by push if slash (/) in the branch name

Hello,

#Issue summary

I tried to push builds using the git.sr.ht integration and nothing happened (i.e. no build appearing in builds.sr.ht/~gagbo/rustpad) when I pushed commits. ~sircmpwn suspected that the / I was having in my branch name was the issue, and indeed renaming the branch to not having / fixed the issue.

#Reproducibility

  • Create a repo with a minimal .build.yml
  • Push a branch to git.sr.ht with a / in the name like git push srht test/slash_in_name
  • Check the associated builds.sr.ht page

Expected: A build is queued/starting Actual: No build on the page

#Possible leads

Is it possible that the raw formatting of the URL done in the submitter makes the builds service answer with a 404 ? I don't know if trying to URL-encode the / in the name would make the issue disappear.

Status
REPORTED
Submitter
~gagbo
Assigned to
No-one
Submitted
1 year, 8 months ago
Updated
1 year, 8 months ago
Labels
No labels applied.