he/him
One Push to rule them all, one Pull to find them, one Merge to bring them all and in the Repo bind them.
See https://sr.ht/~boehs/boehs for smaller projects
Ticket created by ~boehs on ~boehs/srht-patches
Ticket created by ~boehs on ~boehs/srht-patches
19:40:28 <dhruvin> builds.sr.ht checks out a particular commit in a build job; in response to a push to git.sr.ht repository. How do I get what branch was that commit pushed to? (`git branch --show-current` does not work) 20:34:18 <alderwick> dhruvin: in my case I wanted to skip a build step if we're not building the main branch, so I have the line “if [ "$(cd uxn && git rev-parse HEAD)" != "$(cd uxn && git rev-parse origin/main)" ]; then exit; fi” in my .build.yml 20:38:27 <dhruvin> I used [ "$(cat .git/HEAD)" != "$(cat .git/refs/heads/master)" ] as a workaround, but yours will work with non-detached HEAD as well. I'll change mine to that. Thanks.
Ticket created by ~boehs on ~boehs/srht-patches
On builds we get an svg for an X or an O, depending if the task succeeds. Is it possible to have something like <img alt...> for those?
Via rkta on irc
Comment by ~boehs on ~boehs/site
Evan Boehs referenced this ticket in commit d76b47a.
REPORTED
RESOLVED IMPLEMENTEDComment by ~boehs on ~boehs/site
34964c2 did not fix it
Comment by ~boehs on ~boehs/site
Evan Boehs referenced this ticket in commit 34964c2.
Comment by ~boehs on ~boehs/site
Someone opened an issue about this:
and they got a
{% raw %}
suggestion that worked for them... the lucky bastard.
Comment by ~boehs on ~boehs/site
Well, the obvious solution is
{% raw %}
, but we are doing this already:But compare this to
and well
Comment by ~boehs on ~boehs/site
On pages with blog posts containing {{liquid tags}}, they get replaced with
___LIQUIDX___
. This is because of obvious reasons. Well, at first.I think it is probably a race condition, everything works fine if the syntax highlighter gets there first? I think? But then if liquid does it's thing and during that, code blocks happen then it breaks? No clue