These are chat archives for sdkman/vendors

18th
Nov 2015
Julien Viet
@vietj
Nov 18 2015 21:20
hi
Marco Vermeulen
@marc0der
Nov 18 2015 21:21
hey man! how goes?
Julien Viet
@vietj
Nov 18 2015 21:21
doing good, having some bandwidth available before 3.2 release
Marco Vermeulen
@marc0der
Nov 18 2015 21:21
excellent news!
Julien Viet
@vietj
Nov 18 2015 21:21
and would like to work this out
I see ceylon was added recently to sdkman
working at the moment on ceylon for vert
takes lot of my time
but now reaching something, so less pressure
how about you ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:22
that's great, I can help with you with the process. hopefully it should be very easy for you to integrate with us.
Julien Viet
@vietj
Nov 18 2015 21:22
I remember I did it for crash a long time ago
Marco Vermeulen
@marc0der
Nov 18 2015 21:22
yes, I remember
Julien Viet
@vietj
Nov 18 2015 21:23
so today there are existing integration right ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:23
it was after Gr8conf EU wasn't it?
Julien Viet
@vietj
Nov 18 2015 21:23
indeed
Marco Vermeulen
@marc0der
Nov 18 2015 21:23
yes, so it's all by calling the REST API. Super easy
I have to issue you a key/token pair
Julien Viet
@vietj
Nov 18 2015 21:23
does it reuse existing binaries for vert.x ?
or do we need to make special ones ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:24
then you can simply call the API as part of your release build pipeline
Julien Viet
@vietj
Nov 18 2015 21:24
ok we do have a lose release pipeline :-)
Marco Vermeulen
@marc0der
Nov 18 2015 21:24
yes, we don't hold any binaries
hahaha
Julien Viet
@vietj
Nov 18 2015 21:24
so it's either maven central or bintray ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:24
we simply redirect curl to wherever the binaries are currently hosted
yes that's right
Julien Viet
@vietj
Nov 18 2015 21:24
yes I remember now
Marco Vermeulen
@marc0der
Nov 18 2015 21:24
most people are using bintray these days
Julien Viet
@vietj
Nov 18 2015 21:24
I rmeember also I had to tweak some things
Marco Vermeulen
@marc0der
Nov 18 2015 21:25
not sure where vertx is hosted?
Julien Viet
@vietj
Nov 18 2015 21:25
we do use maven for release
so we do have binaries on central
then we copy them to bintray
Marco Vermeulen
@marc0der
Nov 18 2015 21:25
cool, so will the release be automated?
Julien Viet
@vietj
Nov 18 2015 21:25
I do this part manually at the moment
after everything is in central
we do somet things manually
like bintray
Marco Vermeulen
@marc0der
Nov 18 2015 21:26
okay, that makes sense
Julien Viet
@vietj
Nov 18 2015 21:26
or NPM for vertxbus.js
and there is another one
for JS too
so there owuld be this
hopefully we can automate this too
the main problem with such things
is that each one is particular
Marco Vermeulen
@marc0der
Nov 18 2015 21:26
well, a lot of people are asking for vertx on sdkman, so that is a great sign!
Julien Viet
@vietj
Nov 18 2015 21:26
and also if one fails
it can be problematic
Marco Vermeulen
@marc0der
Nov 18 2015 21:26
yep I can imagine
Julien Viet
@vietj
Nov 18 2015 21:26
lot of ppl are asking for vertx everywhere :-)
Marco Vermeulen
@marc0der
Nov 18 2015 21:27
I'm a big fan of automating everhting :smile:
Julien Viet
@vietj
Nov 18 2015 21:27
yes me too
but I sucks at tooling
my shell script skills are very limited
Marco Vermeulen
@marc0der
Nov 18 2015 21:27
but you've done such a great job with crash!
and that is tooling
Julien Viet
@vietj
Nov 18 2015 21:27
yes
I could copy perhaps this from crash
Marco Vermeulen
@marc0der
Nov 18 2015 21:27
indeed
the process will be identical
Julien Viet
@vietj
Nov 18 2015 21:28
I remember we had to tweak lot of things though
what was it ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:28
you will need 2/3 calls depending if it is final or not
firstly you will do a call to the release endpoint
Julien Viet
@vietj
Nov 18 2015 21:28
I mean when we did for crash I had to do a few iterations
but I don't remember what
Marco Vermeulen
@marc0der
Nov 18 2015 21:28
that will make it available for download
Julien Viet
@vietj
Nov 18 2015 21:28
some path thing
Marco Vermeulen
@marc0der
Nov 18 2015 21:29
It might have been the url that you provided?
Julien Viet
@vietj
Nov 18 2015 21:29
let me look at my email
Marco Vermeulen
@marc0der
Nov 18 2015 21:29
sure
Julien Viet
@vietj
Nov 18 2015 21:30
I see a long thraed :-)
"We're almost there Julien!"
you said
"I'm getting this failure when trying to work with the candidate failure:
__gvmtool_install_candidate_version:9: no matches found: /home/marco/.gvm/tmp/*-1.3.0.RC7
"
Marco Vermeulen
@marc0der
Nov 18 2015 21:31
hahaha
Julien Viet
@vietj
Nov 18 2015 21:31
so I can do that after 3.2 is released
?
Marco Vermeulen
@marc0der
Nov 18 2015 21:31
yes, because the names were'nt in alignment. that bug is fixed now
Julien Viet
@vietj
Nov 18 2015 21:31
I mean now without any release, it is hard to figure out
unless I do it with snapshot ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:32
as long as your sdk zip file has a containing folder inside it will work now
so we can first test on the dev environment if you like
Julien Viet
@vietj
Nov 18 2015 21:32
I did that actually
I see
// This script uploads the gvm zip in bintray account
// it follows the gvm versionning scheme
Marco Vermeulen
@marc0der
Nov 18 2015 21:33
so this should no longer be necessary
Julien Viet
@vietj
Nov 18 2015 21:33
and also that
so you mean it could work with the current vertx zip out of the box ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:34
yep, it does
Julien Viet
@vietj
Nov 18 2015 21:34
ok
Marco Vermeulen
@marc0der
Nov 18 2015 21:34
that is how I've been releasing it on your behalf
Julien Viet
@vietj
Nov 18 2015 21:34
ok
Marco Vermeulen
@marc0der
Nov 18 2015 21:34
even the last version
Julien Viet
@vietj
Nov 18 2015 21:34
so we need only rest api callbacks
Marco Vermeulen
@marc0der
Nov 18 2015 21:34
yep, only 3 calls (2 for a milestone/snapshot)
release, default, broadcast
Julien Viet
@vietj
Nov 18 2015 21:35
so I can publish a snapshot ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:35
how often are the snapshots released?
Julien Viet
@vietj
Nov 18 2015 21:35
we do have a Jenkins building them
Marco Vermeulen
@marc0der
Nov 18 2015 21:36
I would recommend only releasing milestones and RC releases
Julien Viet
@vietj
Nov 18 2015 21:36
but I meant just to do a couple of them
just to learn the process
Marco Vermeulen
@marc0der
Nov 18 2015 21:36
sure, but I would prefer if we did that on the dev environment
are you okay with that?
Julien Viet
@vietj
Nov 18 2015 21:36
what is the dev environment ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:37
I have a dev instance of sdkman running too
with all the same APIs etc
Julien Viet
@vietj
Nov 18 2015 21:37
ok
Marco Vermeulen
@marc0der
Nov 18 2015 21:37
it's a complete set of microservices
Julien Viet
@vietj
Nov 18 2015 21:37
the next silver bullet
Marco Vermeulen
@marc0der
Nov 18 2015 21:38
I usually run up a docker container and install a CLI client pointing to that in order to test
then if I'm happy, I roll out to production env
Julien Viet
@vietj
Nov 18 2015 21:38
ok
Marco Vermeulen
@marc0der
Nov 18 2015 21:38
want to give it a try?
Julien Viet
@vietj
Nov 18 2015 21:38
I can use whatever URL you give me
Marco Vermeulen
@marc0der
Nov 18 2015 21:39
sure, and I'll also issue with the dev env credentials
Julien Viet
@vietj
Nov 18 2015 21:39
and I can configure my current sdkman CLI to use this server instead
Marco Vermeulen
@marc0der
Nov 18 2015 21:39
you can, but it's probably better to do it in a docker container
Julien Viet
@vietj
Nov 18 2015 21:39
so I run myself the container ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:39
then it doesn't mess up your local env
Julien Viet
@vietj
Nov 18 2015 21:39
I do have an old docker locally
hope it will work
I don't plan to update it
Marco Vermeulen
@marc0der
Nov 18 2015 21:40
yes, so i usually run a simple java docker container, then exec bash into it (I'll help you with that)
Julien Viet
@vietj
Nov 18 2015 21:40
because soon I need to wipe out my system
ok
I have done that a couple of times
Marco Vermeulen
@marc0der
Nov 18 2015 21:40
it's super easy
would it be possible for us to meet online tomorrow to run through it?
Julien Viet
@vietj
Nov 18 2015 21:41
yes we can, not friday
Marco Vermeulen
@marc0der
Nov 18 2015 21:41
say tomorrow early evening?
Julien Viet
@vietj
Nov 18 2015 21:41
what time ?
it would rather be morning or afternoon
Marco Vermeulen
@marc0der
Nov 18 2015 21:41
It's a bit difficult, I'm a contractor.
so I can't do it on my client's time
Julien Viet
@vietj
Nov 18 2015 21:42
what time is early evening for you ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:42
I could do tomorrow evening 9pm
(well, that is not so early!)
Julien Viet
@vietj
Nov 18 2015 21:42
let's try at this time
Marco Vermeulen
@marc0der
Nov 18 2015 21:43
so 9pm?
Julien Viet
@vietj
Nov 18 2015 21:43
let's see if we are on the same timezone :-)
Marco Vermeulen
@marc0der
Nov 18 2015 21:43
hahaha, I forgot
Julien Viet
@vietj
Nov 18 2015 21:43
because we are assuming we are on same TZ
I'm paris TZ
Marco Vermeulen
@marc0der
Nov 18 2015 21:44
I am in London, so GMT
Julien Viet
@vietj
Nov 18 2015 21:44
I believe you are in London ?
Marco Vermeulen
@marc0der
Nov 18 2015 21:44
yes
Julien Viet
@vietj
Nov 18 2015 21:44
so it's 9h44 for you
and 10h44 for me
sounds good to me
Marco Vermeulen
@marc0der
Nov 18 2015 21:44
yes, what time is it for you?
Julien Viet
@vietj
Nov 18 2015 21:44
10h44
Marco Vermeulen
@marc0der
Nov 18 2015 21:44
do you want to do it a bit earlier then?
Julien Viet
@vietj
Nov 18 2015 21:44
but 10pm is fine for me
let's cut it in half
8H30 for you and 9H30 for me
Marco Vermeulen
@marc0der
Nov 18 2015 21:44
perfect, we have a deal!
in the meanwhile, I'll send you all the necessary information to help you get set up.
I'll send you the URLs as well as encrypted key/token
we'll use keybase again?
Julien Viet
@vietj
Nov 18 2015 21:46
keybase is used to get my public key ?
ah to send them
ok
never done that before
but shall be a pleasant expeirence
Marco Vermeulen
@marc0der
Nov 18 2015 21:46
I will send you the key/token pair (in an encrypted json file).
so I use an api to generate you the key token pair, then I encrypt it with keybase and simply email you the encrypted file.
Julien Viet
@vietj
Nov 18 2015 21:47
ok
just tell me how to uncrypt it :-)
Marco Vermeulen
@marc0der
Nov 18 2015 21:48
you will need a keybase account, so head on over to keybase.io
Julien Viet
@vietj
Nov 18 2015 21:48
I do have one
Marco Vermeulen
@marc0der
Nov 18 2015 21:50
perfect, I'll send you the stuff and will let you know in the email how to unencrypt
Julien Viet
@vietj
Nov 18 2015 21:50
ok thanks see ya
Marco Vermeulen
@marc0der
Nov 18 2015 21:50
cool, have a great evening