clojars

Huahai 2024-10-17T17:19:43.586609Z

I am having trouble deploying a jar: Sending org/clojars/huahaiy/datalevin-native/0.9.12/datalevin-native-0.9.12.jar (20493k) to https://repo.clojars.org/ Could not transfer artifact org.clojars.huahaiy:datalevin-native:jar:0.9.12 from/to clojars (https://repo.clojars.org): transfer failed for https://repo.clojars.org/org/clojars/huahaiy/datalevin-native/0.9.12/datalevin-native-0.9.12.jar, status: 413 Request Entity Too Large

๐Ÿ‘ 1
pfeodrippe 2024-10-20T23:55:10.449559Z

Oh, what would be the limit now? I'm having the issue at https://github.com/pfeodrippe/vybe/actions/runs/11430617730/job/31798416566

pfeodrippe 2024-10-20T23:59:20.562019Z

Ah ok, 30 MB, https://github.com/clojars/infrastructure/commit/93724045d5afcebdce9819c9b7f0fbdd46221538. So I would have to ask for an exception (as Vybe will have lots of native stuff)? Or maybe we have to workaround and split things into multiple libs? I can try to downsize it as much as I can, for sure. I don't want to bother you Clojars folks, the work you do is already exceptional \o/ (And I can create another thread so I don't bother Huahai, sorry ehaeheau)

2024-10-21T12:08:54.064719Z

Yes @pfeodrippe, apologies for not mentioning the new limit here. It looks like you are already at 46MB. Do you anticipate getting much larger? Would you mind filing an issue at https://github.com/clojars/administration/issues/new/choose to discuss this? And thanks for your kind words!

pfeodrippe 2024-10-21T12:18:26.000789Z

Hi @tcrawley, thank you very much! Shouldnโ€™t be much larger than that (max of 50MB or 60MB), so maybe I can request for 60MB if itโ€™s okay o/ Let me fill the issue, appreciate it o/

2024-10-17T17:39:19.441629Z

There is a 20MB limit for uploads; it looks like this latest release just breaches that. We have a way to add per-project exceptions to that, but we are seeing more native things deployed to clojars, so I'm inclined to just raise the limit.

Huahai 2024-10-17T17:41:47.397819Z

Thank you very much! Native things indeed are adding a lot, this is necessary because all versions for all platforms have to be added in the jar. It's unfortunate, but here's no way around it.

2024-10-17T17:42:17.962789Z

Understood, yeah. Let me see if I can get that updated now. I'll report back either way in a few minutes.

๐Ÿ™ 2
2024-10-17T17:59:29.397099Z

Updated. Can you try the deploy again and let me know if it works or not?

โค๏ธ 1
Huahai 2024-10-17T18:28:34.123969Z

It works! Thank you!๐Ÿ‘

๐Ÿ”ฅ 1
2024-10-17T18:30:24.317569Z

Great, my pleasure!

๐Ÿ‘ 3
Huahai 2024-10-17T17:20:01.158519Z

Is it possible to increase the size allowed on the server?

Huahai 2024-10-17T17:36:30.227339Z

This used to work.