Fork me on GitHub
#babashka-sci-dev
<
2022-05-24
>
lread11:05:02

@rahul080327 I quite love the bb compatible badge you came up with! I've added to https://github.com/clj-commons/etaoin#etaoin (which will very soon be bb compatible!).

🎉 1
lread11:05:42

It is currently a bit on the large side tho making it a bit hard to paste into a doc. It took me a while to get it right for adoc for example. If sticking with http://shields.io I think there is https://shields.io/endpoint? Would that be a way to make the link more regular size?

lispyclouds12:05:08

Nice! Didn't know of the backend support, will try that out now! Thanks! had the same issue for me in adoc https://raw.githubusercontent.com/babashka/book/master/src/libraries.adoc

lread12:05:35

I guess it might imply you need to host something somewhere? But maybe it could be a pointer to some json in a github repo, I really don't know.

lispyclouds12:05:12

@borkdude can we host that json on a path on http://babashka.org?

borkdude12:05:47

@rahul080327 probably it can just live in a git repo and then you can just request it via raw.github?

lispyclouds12:05:53

yeah i can host it on a repo of mine, was thinking if its more consistent if its served from a repo where all the docs are. maybe beside the logos in the logos/ dir of babashaka?

borkdude12:05:20

yeah, I was also thinking in a bb repo and the logos directory makes sense to me

lispyclouds12:05:12

will test this out on my things, polish it and send a PR along

❤️ 2
lispyclouds12:05:48

another option, maybe simpler, save the final rendered badge and add it to the logos 😛

lispyclouds12:05:17

dont do the shields round trip

lread12:05:11

It is static, so that should work, right?

lispyclouds12:05:42

looks okay i think?

👍 2
borkdude12:05:41

But does Github allow you to embed svgs from other locations?

lispyclouds12:05:13

will do the script asap

lispyclouds12:05:32

not sure why the other commit is there

lispyclouds12:05:42

maybe branched wrong

borkdude12:05:03

But while you're at it the musl and windows builds seem to be failing as well :/

lispyclouds12:05:14

yeah branched wrong

lispyclouds12:05:02

cancelling circle

lispyclouds12:05:55

looks okay to me

borkdude12:05:01

I don't see the bb logo

borkdude12:05:50

Refused to load the image 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNDcyIDE0NzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOTk1LjkxMSAxMTkzLjg5QzExMTAuOTMgMTExMi4zOCAxMTg2IDk3OC4yMDYgMTE4NiA4MjYuNUMxMTg2IDU3Ny45NzIgMTAxNCAyNTQuNSA3MzYgMTEzQzQ2MC41IDI2MiAyODYgNTc3Ljk3MiAyODYgODI2LjVDMjg2IDk3OC4yMDYgMzYxLjA3IDExMTIuMzggNDc2LjA4OSAxMTkzLjg5QzQ3MS45ODMgMTE5NC40NCA0NjcuOTQ5IDExOTUuMTQgNDY0IDExOTZDMzc2LjYxMSAxM...c4NC45MTggNDkwLjk1NyA3ODcuNjkzIDQ5My40NjEgNzk2LjU3NUw0OTkuMzAzIDgxNy4xMTNMNDQ3IDk1Mkg0ODUuMTE1TDUxNi41NTMgODYzLjE4NUw1MzMuMjQ1IDkxNi43NTJDNTM5LjY0NCA5MzcuNTY4IDU1MC40OTQgOTUyIDU3NC45NzcgOTUySDU5MFoiIGZpbGw9IndoaXRlIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXIiIHgxPSI3NTIiIHkxPSIxMTMiIHgyPSI3NTIiIHkyPSIxMzU5LjUyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiNFNDFGMjYiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjQjcwMDAwIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg==' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

borkdude12:05:01

This is what I assumed. Did you test this on another git repo first?

lispyclouds12:05:33

no tried rendering the readme, assuming its all local it should render

borkdude12:05:49

if it works in the README then it's fine my me

lispyclouds12:05:30

its weird that its not a remote link and still refuses to load

borkdude12:05:30

that seems to work fine

borkdude12:05:07

Now, does it also work from the etaoin repo? @lee

lispyclouds12:05:55

> did you add it here? yes it seems to render correctly on master

lread12:05:44

Testing now…

lispyclouds12:05:38

i guess github's backend markdown rendering saves the remote request thing in browsers 😅

lispyclouds12:05:39

@borkdude will have a look at the CI things hopefully today evening, juggling work is quite the thing 😕

lispyclouds18:05:38

@borkdude do you have a log from the windows and musl failures? not sure which one of the latest failure(s) i should look at, some of them have passed too

borkdude19:05:57

if the tests are passing now, I think we're good - as you said, it might be because of of a weird merge?

borkdude20:05:13

I'll ping you again when something happens

lispyclouds20:05:33

yeah i was on a different machine and the branch i did was 100s of commits behind and the ci was building that, rebased it and its good