Publishing AeroGear Android SDK

25 views
Skip to first unread message

Summers Pittman

unread,
Feb 14, 2018, 12:56:35 PM2/14/18
to Aerogear
Hey guys,

We've had a couple of sprints and people are starting to use the SDK, yay.  This means we should probably start discussing publishing our work so we don't have to build the SDK to use it (boo!).

A few questions to the group : 
 * Do we publish to jcenter or central?  I vote jcenter.  It is easier to publish to, quicker to publish too, and is what the Android developers want us to do.  
 * What do we want our version to be? I propose for now 5.0.0-SNAPSHOT-${build}.  Adding the ${build} tag is necessary because by default Gradle does refresh "snapshot" dependencies.
 * If we choose jcenter who is going to manage the bintray account?  We already have accounts setup for team members on Maven Central (matzew and passos can fill us in on more details).

Thoughts and +1s are welcome.

Summers

Wei Li

unread,
Feb 14, 2018, 3:15:48 PM2/14/18
to Summers Pittman, Aerogear
On Wed, Feb 14, 2018 at 5:56 PM, Summers Pittman <seco...@gmail.com> wrote:
Hey guys,

We've had a couple of sprints and people are starting to use the SDK, yay.  This means we should probably start discussing publishing our work so we don't have to build the SDK to use it (boo!).

A few questions to the group : 
 * Do we publish to jcenter or central?  I vote jcenter.  It is easier to publish to, quicker to publish too, and is what the Android developers want us to do. 

+1 to jcenter.
 
 
 * What do we want our version to be? I propose for now 5.0.0-SNAPSHOT-${build}.  Adding the ${build} tag is necessary because by default Gradle does refresh "snapshot" dependencies.

Given that this is a new library I think it is a bit strange to start from 5.x. I think we should start from 1.x instead.
 
 * If we choose jcenter who is going to manage the bintray account?  We already have accounts setup for team members on Maven Central (matzew and passos can fill us in on more details).

Not sure what is the recommended approach for an open source project, but I think we should setup an aerogear-maintainers google group or mailing list to help manage those accounts. Only a small number of community members should subscribe to this list.
 

Thoughts and +1s are welcome.

Summers

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.
To post to this group, send email to aero...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aerogear/fe3191a6-f226-4f9d-b490-bfd819cd505e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

WEI LI

SENIOR SOFTWARE ENGINEER

Red Hat Mobile

we...@redhat.com    M: +353862393272    

Jose Miguel Gallas Olmedo

unread,
Feb 15, 2018, 4:25:27 AM2/15/18
to Wei Li, Summers Pittman, Aerogear
Given that this is a new library I think it is a bit strange to start from 5.x. I think we should start from 1.x instead.

​+1 
Choosing 5.x would be a bit like cheating :P​

JOSE MIGUEL GALLAS OLMEDO

ASSOCIATE QE, mobile

Red Hat 

M: +34618488633    


Vojtech Sazel

unread,
Feb 15, 2018, 4:44:44 AM2/15/18
to Jose Miguel Gallas Olmedo, Wei Li, Summers Pittman, Aerogear
Given that this is a new library I think it is a bit strange to start from 5.x. I think we should start from 1.x instead.

+1

We should start from 0.0.1. :D



For more options, visit https://groups.google.com/d/optout.



--

VOJTĚCH SÁZEL

SENIOR SOFTWARE ENGINEER, RED HAT MOBILE

Red Hat 

Remote Czech Republic

vsa...@redhat.com    IM: vsazel

Jose Miguel Gallas Olmedo

unread,
Feb 15, 2018, 4:54:52 AM2/15/18
to Summers Pittman, Aerogear
BTW Summers I'm curious, is the SDK usable at all at this point?

JOSE MIGUEL GALLAS OLMEDO

ASSOCIATE QE, mobile

Red Hat 

M: +34618488633    


Summers Pittman ℝ

unread,
Feb 15, 2018, 6:50:08 AM2/15/18
to Jose Miguel Gallas Olmedo, Aerogear


On Thu, Feb 15, 2018, 4:54 AM Jose Miguel Gallas Olmedo <jgal...@redhat.com> wrote:
BTW Summers I'm curious, is the SDK usable at all at this point?

Sure.  I mean it isn't house broken yet but it can be dogfooded.

Auth and metrics are there in some form, it has a simple mechanism for connecting  to new services.  We need feedback on how these actually work and we need more docs.



To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aerogear/fe3191a6-f226-4f9d-b490-bfd819cd505e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

WEI LI

SENIOR SOFTWARE ENGINEER

Red Hat Mobile

we...@redhat.com    M: +353862393272    

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

Wojciech Trocki

unread,
Feb 15, 2018, 7:35:51 AM2/15/18
to Summers Pittman ℝ, Jose Miguel Gallas Olmedo, Aerogear
Connecting to the topic. Any reasons against trying out publishing IOS SDK? 
It's just to try it out and see what will be involved, identify possible problems etc.

To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aerogear/fe3191a6-f226-4f9d-b490-bfd819cd505e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

WEI LI

SENIOR SOFTWARE ENGINEER

Red Hat Mobile

we...@redhat.com    M: +353862393272    

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.



--

VOJTĚCH SÁZEL

SENIOR SOFTWARE ENGINEER, RED HAT MOBILE

Red Hat 

Remote Czech Republic

vsa...@redhat.com    IM: vsazel

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

WOJCIECH TROCKI

Red Hat Mobile

IM: wtrocki

Summers Pittman

unread,
Feb 15, 2018, 1:08:58 PM2/15/18
to Aerogear


On Thursday, February 15, 2018 at 7:35:51 AM UTC-5, Wojciech Trocki wrote:
Connecting to the topic. Any reasons against trying out publishing IOS SDK? 
It's just to try it out and see what will be involved, identify possible problems etc.


Throw it into cocoa pods and lets see what happens :)
 
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aerogear/fe3191a6-f226-4f9d-b490-bfd819cd505e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

WEI LI

SENIOR SOFTWARE ENGINEER

Red Hat Mobile

we...@redhat.com    M: +353862393272    

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.



--

VOJTĚCH SÁZEL

SENIOR SOFTWARE ENGINEER, RED HAT MOBILE

Red Hat 

Remote Czech Republic

vsa...@redhat.com    IM: vsazel

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

David Martin

unread,
Feb 16, 2018, 7:28:55 AM2/16/18
to Summers Pittman, Aerogear
+1 to publishing the Android SDK somewhere.

I tried to follow https://github.com/aerogear/aerogear-android-sdk/blob/master/docs/getting-started.adoc this morning to add the SDK to an existing project, but hit an error because it isn't published.

To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
David Martin
Red Hat Mobile
Twitter: @irldavem
IRC: @irldavem (#aerogear)

Summers Pittman ℝ

unread,
Feb 16, 2018, 8:20:43 AM2/16/18
to David Martin, Aerogear
I'll take a look at everything docs and fix them up this morning

Wojciech Trocki

unread,
Feb 16, 2018, 9:39:21 AM2/16/18
to Summers Pittman ℝ, David Martin, Aerogear
@David Same will apply to our IOS SDK. 

Created issue to resolve this problem:
https://issues.jboss.org/browse/AGIOS-638

To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.
--
David Martin
Red Hat Mobile
Twitter: @irldavem
IRC: @irldavem (#aerogear)

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Wojciech Trocki

unread,
Feb 16, 2018, 9:42:00 AM2/16/18
to Summers Pittman ℝ, David Martin, Aerogear

Daniel Passos

unread,
Feb 19, 2018, 12:55:24 PM2/19/18
to Wojciech Trocki, Summers Pittman ℝ, David Martin, Aerogear
Sorry for my late reply,

Time ago I have played around JCenter vs Maven Central to publish AeroGear Android lib and I had chosen the Maven Central because it was easy to integrate/publish in Gradle publish using gradle-mvn-push[1]. I have also migrated from JBoss Nexus[2] to Sonatype Nexus[3] because it makes the sync too much faster.

Anyway, I have no problem to go with JCenter if most of the people prefer that.

[1] https://github.com/chrisbanes/gradle-mvn-push
[2] https://repository.jboss.org/nexus/
[3] https://oss.sonatype.org/



For more options, visit https://groups.google.com/d/optout.



--
-- Passos

Summers Pittman

unread,
Feb 26, 2018, 10:21:23 AM2/26/18
to Aerogear
Just bumping this thread a bit.

A discussion has come up on this issue : https://github.com/aerogear/aerogear-android-sdk/issues/93

TL;DR; We want to change the version of the SDK in github to 0.1.0-SNAPSHOT.  When we publish this SDK it will be published as a version with a timestamp (ex 0.1.0-2018-08 where 08 is the week the SDK was released).  We would like to have weekly automated releases to wherever.  On IRC passos mentioned he was interested in a per push releases as well to a SNAPSHOT repository.

WDYT? 
--
David Martin
Red Hat Mobile
Twitter: @irldavem
IRC: @irldavem (#aerogear)

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.
To post to this group, send email to aero...@googlegroups.com.



--

WOJCIECH TROCKI

Red Hat Mobile

IM: wtrocki




--

WOJCIECH TROCKI

Red Hat Mobile

IM: wtrocki

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.
To post to this group, send email to aero...@googlegroups.com.



--
-- Passos

Daniel Passos

unread,
Feb 26, 2018, 2:50:13 PM2/26/18
to Aerogear

Hi,

I know people have voted to use JCenter instead of Maven Central, but we already have all set to publish it on Sonatype/Maven central. It means the only thing we need is run the command below (and also have the permission on Sonatype)

./gradlew clean build uploadArchives -PNEXUS_USERNAME=[your user] -PNEXUS_PASSWORD=[your token]

… so today Summers and I have pushed a “SNAPSHOT” version using the timestamp strategy.

In the near future, I wanna have a real SNAPSHOT auto publish by circle-ci after every commit/PR merge.

Here is the stagging link for the first release if you wanna play with

https://oss.sonatype.org/content/repositories/orgaerogear-1017

Summers and I will play with it the next 2 days and if no one found any bug in the process, I’m going to release it to the Maven Central.

All of this releases will be tagged and mark as pre-release on Github.

https://github.com/aerogear/aerogear-android-sdk/releases/tag/0.1.0-2018-07


To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+unsubscribe@googlegroups.com.

To post to this group, send email to aero...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
-- Passos

Matthias Wessendorf

unread,
Feb 26, 2018, 3:08:21 PM2/26/18
to Daniel Passos, Aerogear
great stuff!

thanks for the update! 




--
-- Passos

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.
To post to this group, send email to aero...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Project lead AeroGear.org
Reply all
Reply to author
Forward
0 new messages