clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
danielcompton 2016-01-06T02:02:29.000120Z

I’m thinking of separating out the clojars site build from the deploy phase, especially as this is likely to be run when the officials clojars repo is down

danielcompton 2016-01-06T02:03:55.000122Z

So the Clojars uberjar will get built (by the Clojars server?) and put on S3, and then any future ansible run will be able to pull it down without clojars needing to be up

danielcompton 2016-01-06T02:04:38.000123Z

I ran into a humorous issue where i had set the hostname of the vagrant box to be http://clojars.org so it tried to look up itself to download dependencies when the box was bootstrapping

2016-01-06T02:09:27.000124Z

ha

2016-01-06T02:09:51.000125Z

hmm, yeah, I guess it is kind of odd that we we build clojars on clojars, requiring clojars

2016-01-06T02:10:31.000126Z

we could also build the uberjar locally, then copy it to the server

2016-01-06T02:10:50.000127Z

and have the build run the tests first

2016-01-06T02:10:56.000128Z

as it does now

danielcompton 2016-01-06T02:14:17.000129Z

yeah that would be good, but I think it might need to be a separate operation so that if clojars is down it can still be redeployed

2016-01-06T02:14:53.000130Z

well, if we move the repo to block storage, the repo would still be available, as would the mirror

danielcompton 2016-01-06T02:15:47.000131Z

Thinking about pricing for cloud storage, do you know how the request pattern works with Leiningen when looking for deps? My assumption is that it checks custom repos, Maven Central, then Clojars. I wonder if we pay for requests for resources that don’t exist?

danielcompton 2016-01-06T02:16:27.000133Z

There won’t be much bandwidth, but there is a per request fee which might add up if there are lots of 404s?

2016-01-06T02:16:48.000134Z

that's a good point - yeah, aether asks everyone for everything, so we get lots of 404s

2016-01-06T02:17:46.000135Z

we should check to make sure providers don't charge for 404 requests

2016-01-06T02:17:48.000136Z

brb

danielcompton 2016-01-06T02:17:55.000137Z

gotta go too

danielcompton 2016-01-06T03:00:53.000138Z

https://forums.aws.amazon.com/thread.jspa?messageID=58436

danielcompton 2016-01-06T03:01:12.000139Z

> As our intent is to charge equitably for system resources used, we will be charging the owner of the bucket for 403s and 404s, since they consume system resources (as do all requests). Note that we will not be charging for requests which fail due to an Amazon S3 internal system error (all other requests will be billed).

2016-01-06T03:04:27.000140Z

interesting

danielcompton 2016-01-06T03:08:12.000141Z

Might be good to use multiple dns providers too https://medium.com/@brianarmstrong/youre-probably-doing-dns-wrong-like-we-were-6625efaed390#.eu8hcul6c

2016-01-06T03:56:11.000143Z

that's an interesting read. I wonder if DNSimple has since added support for multiple providers?

2016-01-06T03:56:19.000144Z

we'll see soon enough I guess

2016-01-06T04:45:46.000145Z

they have: https://support.dnsimple.com/articles/secondary-dns/