clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
2016-02-04T15:42:24.000053Z

@peeja - thanks for the report. what page do you see that on? are you logged in or out when you see it?

peeja 2016-02-04T15:43:37.000054Z

Shoot, that would have been good to have posted. :simple_smile: I believe it was https://clojars.org/om, but I'm not seeing it now. I was logged out.

peeja 2016-02-04T15:44:24.000055Z

Oh, no, there it is: https://clojars.org/om/versions

2016-02-04T15:44:42.000056Z

ah, cool. I see it too. thanks!

2016-02-04T15:50:58.000057Z

@peeja: fixed, will go live on the next deploy, whenever that happens to be :)

peeja 2016-02-04T15:51:05.000058Z

Cheers!

arrdem 2016-02-04T19:54:35.000062Z

Hey folks, following the pushing directions here https://github.com/clojars/clojars-web/wiki/Pushing I'm having trouble getting a Maven project to deploy correctly. The files upload, but then get rejected with a 503.

2016-02-04T20:08:37.000066Z

@arrdem: ^

arrdem 2016-02-04T20:09:33.000067Z

not that I'm aware of I'll give it another go

arrdem 2016-02-04T20:10:09.000068Z

https://clojars.org/me.arrdem/clojarr well this exists so it worked at some point

2016-02-04T20:11:33.000070Z

that has a set of unauthed PUTs around 19:40:26, followed by authed ones that succeed

2016-02-04T20:12:06.000071Z

I think we must have a bug that triggers a 503 instead of a 401 on an unauthed deploy

arrdem 2016-02-04T20:12:18.000072Z

huh ok well I just put a bunch of stuff successfully

arrdem 2016-02-04T20:12:25.000073Z

looks like it was an auth config issue

2016-02-04T20:12:50.000074Z

I'll see if I can figure out why that gave a 503 instead of a 401

arrdem 2016-02-04T20:17:28.000076Z

As long as I have your attention, what's the policy about builds and snapshot jars? be nice and just deploy releases or is hooking CI up to deploy snapshots fair game.

2016-02-04T20:17:51.000077Z

no, feel free to publish snapshots from CI, that's fine and dandy

arrdem 2016-02-04T20:17:57.000078Z

ok

2016-02-04T20:18:15.000079Z

as long as you aren't building several times a minute, consistently

arrdem 2016-02-04T20:18:20.000080Z

hah no

arrdem 2016-02-04T20:18:39.000081Z

maybe 10 builds a day tops

2016-02-04T20:18:49.000082Z

yeah, that's totally fine

2016-02-04T20:18:51.000083Z

thanks for asking!

arrdem 2016-02-04T20:18:54.000084Z

sure

arrdem 2016-02-04T20:18:57.000085Z

thanks for running this 😄

arrdem 2016-02-04T20:19:51.000086Z

now I just gotta figure out how to give Travis my Clojars creds securely..

2016-02-04T20:20:28.000087Z

yeah, no idea there :)

arrdem 2016-02-04T20:20:46.000088Z

I'll figure it out. Thanks for the help.

2016-02-04T20:20:55.000089Z

my pleasure!

juhoteperi 2016-02-04T20:22:19.000090Z

@arrdem: project settings -> environment variables, though I use separate creds for CI

arrdem 2016-02-04T20:45:02.000091Z

@juhoteperi: yeah I'm doing some digging in the name of paranoia, trying to figure out if I can use Maven encrypted values in combination with environment variables. I've got this vision of a malicious PR that echos env vars 😐

juhoteperi 2016-02-04T20:45:34.000092Z

At least in Circle CI, PR's don't see env variables

juhoteperi 2016-02-04T20:46:26.000094Z

Oh right and you can define encrypted vars in travis.yml, and they wont be available in PRs

arrdem 2016-02-04T20:46:32.000095Z

sure but it'd be easy enough to write a PR containing code that does (println (System/getEnv "THE_PASSWORD_VAR_FROM_THE_CFG_FILES"))

juhoteperi 2016-02-04T20:46:36.000096Z

But then you need to commit the encrypted value to repo

juhoteperi 2016-02-04T20:46:57.000097Z

But the env variables are not at all set for PR builds in Circle

juhoteperi 2016-02-04T20:47:46.000098Z

Looks like env vars in Travis settings are available to all builds

arrdem 2016-02-04T20:50:33.000102Z

I meant circleci earlier not travis

arrdem 2016-02-04T20:50:35.000103Z

sorry

arrdem 2016-02-04T20:50:48.000104Z

looks like the circle folk don't support such a thing

juhoteperi 2016-02-04T20:53:25.000107Z

I have just configured the creds via web ui

arrdem 2016-02-04T20:53:32.000108Z

oh nice

arrdem 2016-02-04T20:53:38.000109Z

ok well that solves that problem then