babashka-sci-dev

borkdude 2023-03-14T16:28:16.507009Z

@rahul080327 I just sent you an e-mail. It seems docker is cancelling organizations unless you upgrade to a team account for 9 dollar per user.. maybe it's time to move away and go to this github docker stuff?

lispyclouds 2023-03-14T16:29:34.577339Z

yeah should be easy to move to Github Container Registry, but will be a different URL to pull from

borkdude 2023-03-15T09:00:05.915329Z

hmm maybe I should try this: https://www.docker.com/community/open-source/application/

borkdude 2023-03-15T09:06:18.727649Z

I applied for cljkondo now

lispyclouds 2023-03-15T09:08:03.524289Z

nice, would be nice if this works!

borkdude 2023-03-15T09:10:43.766919Z

also submitted for babashka now

lispyclouds 2023-03-15T14:54:36.757339Z

im doing a test push with a dummy image from my local machine on ghcr, just to check the auth

👍 1
lispyclouds 2023-03-15T14:57:56.652059Z

nice i can reproduce the issue right here

lispyclouds 2023-03-15T15:03:23.114389Z

well

lispyclouds 2023-03-15T15:03:47.525329Z

guess everyones moving

lispyclouds 2023-03-15T15:03:55.595009Z

and that screwed it

borkdude 2023-03-15T15:04:04.482669Z

aaaah :)

borkdude 2023-03-15T15:04:13.360669Z

we can run the branch tomorrow again

lispyclouds 2023-03-15T15:04:13.920149Z

https://www.githubstatus.com/

lispyclouds 2023-03-15T15:05:18.517039Z

yeah 503 status shouldve been the hint. thats generally shit hitting the fan

borkdude 2023-03-15T15:06:24.600919Z

right. change seems small enough that we can test it tomorrow or next week instead, thanks!

borkdude 2023-03-15T15:06:49.699849Z

btw, what was the issue with a classic token vs a new token? I can make one

lispyclouds 2023-03-15T15:07:12.176929Z

couldnt find the thing that grants package permissions

borkdude 2023-03-15T15:07:19.432859Z

I'll have a look

lispyclouds 2023-03-15T15:07:35.969069Z

there is probably one thats hidden in some obscure corner

lispyclouds 2023-03-15T15:08:11.405129Z

im still using the classic one for my things

borkdude 2023-03-15T15:08:44.377309Z

I'm going to "fine grained tokens" and then... (just am minute, I'm typing as I do this)

borkdude 2023-03-15T15:08:56.478979Z

generate new token

lispyclouds 2023-03-15T15:09:32.045209Z

yeah which one among the list gives package write is where i was lost

lispyclouds 2023-03-15T15:09:59.290939Z

decided to get this going and figure that out later

borkdude 2023-03-15T15:10:30.611899Z

I'll make one and give you the token via DM

👍🏾 1
lispyclouds 2023-03-15T15:12:05.239279Z

can send on https://onetimesecret.com/ too

lispyclouds 2023-03-15T15:12:22.516419Z

send me the link on DM

borkdude 2023-03-15T15:12:49.325679Z

Ah, I think it's not working yet for Github Packages, gotcha https://github.com/community/community/discussions/38467

borkdude 2023-03-15T15:13:08.713139Z

well, then we just wait

lispyclouds 2023-03-15T15:13:38.648419Z

yeah when the infra recovers, can go ahead with the classic token

👍 1
lispyclouds 2023-03-15T15:17:32.304909Z

push works

lispyclouds 2023-03-15T15:18:00.776749Z

this is nginx actually: https://github.com/orgs/babashka/packages

lispyclouds 2023-03-15T15:18:28.329619Z

deleting and rerunning the docker step

borkdude 2023-03-15T15:18:39.553369Z

ok, I think the org can be public btw

lispyclouds 2023-03-15T15:18:56.226999Z

yeah default is private when its created

borkdude 2023-03-15T15:19:00.260519Z

ok

lispyclouds 2023-03-15T15:25:19.464019Z

looks good: https://github.com/orgs/babashka/packages

lispyclouds 2023-03-15T15:26:51.276939Z

$ docker run -it --rm  bb --version
babashka v1.2.175-SNAPSHOT

borkdude 2023-03-15T15:27:14.174319Z

what about all the other alpine etc stuff?

lispyclouds 2023-03-15T15:27:26.213399Z

doesnt push on snapshot

lispyclouds 2023-03-15T15:28:17.830609Z

should we try this too?

borkdude 2023-03-15T15:29:24.726319Z

ok, no, I'm convinced it will work....

borkdude 2023-03-15T15:29:48.105489Z

let's roll back the master / branch stuff and merge

lispyclouds 2023-03-15T15:29:54.328759Z

yep

borkdude 2023-03-15T15:31:34.253949Z

btw wait

lispyclouds 2023-03-15T15:31:35.425109Z

does this need a changelog?

borkdude 2023-03-15T15:31:50.682529Z

why is snapshot lowercase in ghcr? in dockerhub it's all caps

borkdude 2023-03-15T15:32:14.055219Z

yes, it needs a changelog

lispyclouds 2023-03-15T15:33:04.407689Z

well both lower and upper works

lispyclouds 2023-03-15T15:33:16.131139Z

thats how the UI is showing it seems

borkdude 2023-03-15T15:33:51.760729Z

well, uppercase didn't work for me

borkdude 2023-03-15T15:33:52.966399Z

locally

lispyclouds 2023-03-15T15:34:17.161749Z

docker run -it --rm bb --version seems to work for me

borkdude 2023-03-15T15:34:46.300799Z

oh it did work

borkdude 2023-03-15T15:34:55.859589Z

it just didn't work for dockerhub in lowercase, kinda confusing

lispyclouds 2023-03-15T15:35:15.572589Z

yeah the tag in the registry is in caps

borkdude 2023-03-15T15:35:22.902259Z

but it's microsoft, of course they have a case insensitive file system :/

lispyclouds 2023-03-15T15:35:26.145459Z

thats what the recent pushes show

borkdude 2023-03-15T15:35:35.448969Z

👍

lispyclouds 2023-03-15T15:35:41.360799Z

yeah some windows horseshit

borkdude 2023-03-15T15:35:48.264619Z

haha

borkdude 2023-03-15T15:36:08.395619Z

look at what I'm dealing with here: https://github.com/clj-kondo/clj-kondo/pull/2009

lispyclouds 2023-03-15T15:38:50.512269Z

heh

borkdude 2023-03-15T15:41:19.407359Z

tbf, this is also a problem on macos

lispyclouds 2023-03-15T15:42:21.191739Z

use linux, like real programmers 😛

borkdude 2023-03-15T15:42:36.529779Z

Nein Danke

lispyclouds 2023-03-15T15:42:46.051229Z

your audio may not work but caps are good

borkdude 2023-03-15T15:42:46.627489Z

that would be too easy

borkdude 2023-03-15T15:43:25.782999Z

wanna do a follow up with clj-kondo? should be similar right?

lispyclouds 2023-03-15T15:43:48.641279Z

yep

borkdude 2023-03-15T15:46:38.859829Z

I see we're still on a bash script there and it isn't using buildx

borkdude 2023-03-15T15:46:46.775559Z

but hopefully the change isn't too difficult

borkdude 2023-03-15T15:47:00.678499Z

:-s

lispyclouds 2023-03-15T15:47:13.628409Z

yeah the multiarch isnt super critical there

lispyclouds 2023-03-15T15:48:22.710019Z

wouldve been really cool if we did an actual PR on bb in the workshop

borkdude 2023-03-15T15:49:28.489139Z

seems a bit for the advanced user

borkdude 2023-03-15T15:49:36.728479Z

maybe "Babashka advanced workshop 2024"

lispyclouds 2023-03-15T15:50:06.755079Z

yeah and this with the PR would be apt for the conj

borkdude 2023-03-15T15:50:39.332519Z

not following

lispyclouds 2023-03-15T15:51:14.790659Z

the unreasonable effectiveness of pull requests workshop like we talked about 😛

borkdude 2023-03-15T15:51:20.365379Z

haha ok

borkdude 2023-03-15T15:52:20.338999Z

I merged the PR now

👍🏾 1
lispyclouds 2023-03-15T16:53:08.682389Z

looks good: https://github.com/clj-kondo/clj-kondo/pkgs/container/clj-kondo

borkdude 2023-03-15T16:53:32.765039Z

awesome!

borkdude 2023-03-15T16:53:50.649899Z

feel free to undo the undoing of the main branch checks and squash+merge

borkdude 2023-03-14T16:29:49.808849Z

I understand. Such is life.

lispyclouds 2023-03-14T16:30:30.660779Z

i'll set the migration branch up

lispyclouds 2023-03-14T16:31:05.400499Z

its either ghcr or http://quay.io from redhat

borkdude 2023-03-14T16:31:14.419429Z

ghrc is fine with me

borkdude 2023-03-14T16:31:58.697019Z

is it widely used?

lispyclouds 2023-03-14T16:33:13.869249Z

ghcr is the newer one and since its GH/mircosoft based quite the usage now. Quay is older, lesser bandwidth promises but quite consistent.

lispyclouds 2023-03-14T16:33:49.250849Z

quay mirrors docker hub now automatically too i think

borkdude 2023-03-14T16:34:43.751569Z

or should I move those docker images back to my personal account?

lispyclouds 2023-03-14T16:35:24.237679Z

not being in dockerhub feels like the right thing to do for me

borkdude 2023-03-14T16:35:44.426549Z

ok let's do ghrc

lispyclouds 2023-03-14T16:36:28.326659Z

yeah should be a safe enough bet

lispyclouds 2023-03-14T16:36:46.314259Z

i myself have been using it since last 2+ years

borkdude 2023-03-14T16:36:56.745619Z

once we do that I'll update the dockerhub organization README that we migrated

lispyclouds 2023-03-14T16:40:32.416629Z

i'll read up a bit on the usage limits on ghcr, havent tried a frequently donloaded thing from it

👍 1
lispyclouds 2023-03-14T16:47:28.202879Z

whats a bit off is that say in https://github.com/features/packages#pricing that its 500MB of data storage and 1GB/month transfer limit. I have used it more than that on my public images specially the storage bit. Not sure what happens with bb

borkdude 2023-03-14T16:48:52.739109Z

We could also just cancel the docker images. People can build their own and download the binary

borkdude 2023-03-14T16:48:57.160689Z

one thing less to care about

borkdude 2023-03-14T16:49:26.840179Z

we get questions about those anyway and all we say is: yeah, don't use the minimal, start with ubuntu

borkdude 2023-03-14T16:51:01.490539Z

oh wait, I think the pricing there is about private repositories on the free plan

borkdude 2023-03-14T16:51:09.968999Z

for public it's always free

lispyclouds 2023-03-14T16:52:23.238369Z

yeah the free bit is there but im concerned about the bandwidth

lispyclouds 2023-03-14T16:52:38.555799Z

cant see a number there. cant be unlimited

borkdude 2023-03-14T16:52:50.892139Z

is that our problem?

lispyclouds 2023-03-14T16:53:23.311979Z

it could be if its set at the repo level and not per IP like docker did

borkdude 2023-03-14T16:55:14.856049Z

My impression is that we don't have to worry with public repos, but could be wrong

lispyclouds 2023-03-14T16:55:46.733639Z

yeah thats the hypothesis im trying to prove as well. would be good to make these mistakes now

lispyclouds 2023-03-14T16:56:38.852879Z

i'll take a proper look in a bit

lispyclouds 2023-03-14T17:01:32.393629Z

as for removing the images altogether, maybe best to ask/poll the users. i think people do use them, things like #holy-lambda i suppose?

borkdude 2023-03-14T17:01:49.191479Z

right

borkdude 2023-03-14T17:11:30.837359Z

I guess we can start pushing to ghcr this month and then we have a month before dockerhub pulls the plug

lispyclouds 2023-03-14T21:10:25.283839Z

i think ghcr looks good, cant see anything that says it could be limited in anyway. will do a PR tomorrow