Fork me on GitHub
#cljsjs
<
2016-05-19
>
juhoteperi17:05:02

@martinklepsch: huh, Clojars doesn't accept emojine package because it is too large

juhoteperi18:05:00

Clojars max Jar size is 20MB

juhoteperi18:05:28

Maybe the font files are most important? Presumable they are used by css

juhoteperi18:05:53

Or not. JS seems to use images.

martinklepsch18:05:25

I'll try to cut some stuff, fonts are least important as far as I can tell, not sure if that'll be enough though

juhoteperi18:05:14

I would guess the pngs take the most space

martinklepsch18:05:10

weirdly that's not the case and one of the fonts takes 35mb

martinklepsch18:05:41

after removing the font it's at 21, just removed the large pngs as well now @juhoteperi

flyboarder20:05:13

@juhoteperi: what is the proper way of dealing with forks of libraries?

juhoteperi20:05:20

@flyboarder: There is no proper way currently

juhoteperi20:05:07

I think best way would be to package them outside of cljsjs, in your own repo

flyboarder20:05:54

yeah I am currently maintaining a local repo with branches to different developers, but that means installing the package locally each time i switch

juhoteperi20:05:39

If the original version is abandoned and fork is the de-facto replacement, it would be okay to include in it Cljsjs. But in other cases I would prefer to keep these out of Cljsjs for simplicity.

juhoteperi20:05:26

what do you mean installing locally each time you switch?

juhoteperi20:05:37

I would recommend changing group name, package name or version and just pushing it to clojars

flyboarder20:05:29

yeah i was just wondering if there was a better way than managing another repo

flyboarder20:05:15

but that seems like the easiest way to go

juhoteperi20:05:42

Should be as simple as maintaining any Clj(s) library

flyboarder20:05:08

right but i dont really want to manage 40 libraries under my group name because i have 20 js libraries wich we have our own forks, and then 20 cljsjs libraries to get cljsjs jazz

juhoteperi20:05:44

huh, that is many forks

flyboarder20:05:59

well a few forks across many projects adds up

flyboarder20:05:37

if we have 6 projects and each of them fork maybe 3 dep projects

flyboarder20:05:57

i was mostly wondering if there was something built-in

flyboarder20:05:15

but if not, ill just write more boot tasks to deal with things XD

juhoteperi20:05:34

you could copy the CI scripts from cljsjs and setup your own CI to ease the pain

juhoteperi20:05:02

or try to make the forks unncessary, send changes to upstream, workaround locally, replace libraries etc.

juhoteperi20:05:56

I have done around 10 Cljs projects and only libraries I have used are React, Leaflet (and react-leaflet) and Pikaday (now replaced with Reagent component)