Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propose release cycle / process for binary artifacts #43

Open
MarkusTiede opened this issue Sep 20, 2018 · 12 comments
Open

Propose release cycle / process for binary artifacts #43

MarkusTiede opened this issue Sep 20, 2018 · 12 comments
Assignees
Labels
champion https://baloise.github.io/open-source/docs/md/goals/uplift.html#champion impediment If this is not done it blocks uplifting

Comments

@MarkusTiede
Copy link
Member

MarkusTiede commented Sep 20, 2018

Github Package registry example: baloise/repository-template-java#4

@MarkusTiede MarkusTiede added the contribute https://baloise.github.io/open-source/docs/md/goals/uplift.html#contribute label Sep 20, 2018
@MarkusTiede MarkusTiede self-assigned this Sep 20, 2018
@culmat
Copy link
Member

culmat commented Sep 26, 2018

consider

  1. https://jitpack.io/
  2. https://bintray.com/baloise
  3. https://search.maven.org/search?q=com.baloise

( in order of my personal priority)

@culmat
Copy link
Member

culmat commented Jan 26, 2021

we can also use sonatype OSS / Maven central, see https://github.com/baloise/ossrh-pipeline-demo

Shall we update
https://github.com/baloise/open-source/blob/master/docs/md/guides/practice.md#releasing
https://github.com/baloise/repository-template-java
to reflect the most popular options.

I don't see a big advantage in using bintray any more.

Bintray will be discontinued by 1st of May

Also we do have 2 bintray namespaces:

Github has it's own disadvantages

Known current users

Github

Maven central

  • jenkins- solr- and orchestra-maven-plugins @culmat

@MarkusTiede MarkusTiede added champion https://baloise.github.io/open-source/docs/md/goals/uplift.html#champion impediment If this is not done it blocks uplifting and removed contribute https://baloise.github.io/open-source/docs/md/goals/uplift.html#contribute labels Jan 27, 2021
@culmat
Copy link
Member

culmat commented Jan 28, 2021

I started to collect features / pro / con @ https://github.com/baloise/open-source/wiki/Public-Maven-repository

@culmat
Copy link
Member

culmat commented Jan 28, 2021

If your favorite is Github react to this comment

@culmat
Copy link
Member

culmat commented Jan 28, 2021

If your favorite is Central react to this comment

@schlijo
Copy link
Contributor

schlijo commented Feb 8, 2021

I am not that deep into all the possible registries. In the past I had some issues with maven, because at least the initial effort for creating a component was quite high, but that's years ago.
For me it's important, that it ist easy to use from within baloise (it's our contribution, it should be ease to use our open source projects within the company).
It should be easy to generate the artifact and bring them to the repo without baloise infrastructure (not our jenkins to say).
When this is given, I don't have any stakes in one of the solutions.

@MarkusTiede
Copy link
Member Author

Bintray is shutting down (https://twitter.com/droy_eclipse/status/1357034875409354753)

@MarkusTiede
Copy link
Member Author

If your favorite is Central react to this comment

IMHO if we're publishing on maven central we have to make sure to "only" publish IP clean artifacts with respect to open-source best practices. Being on maven central will potentially lead to a quick distribution.

@culmat
Copy link
Member

culmat commented Feb 8, 2021

@schlijo

for github and for maven central you need credentials to deploy.
For central you additionally need to sign the code and there is a quality check on the POM ( author, javadoc ... )
Both rely on maven for the deploy, credentials for both are already configured in the baloise github org, and for a "works on my machine" build you can find them on our internal wiki.

There is a working demo @ https://github.com/baloise/ossrh-pipeline-demo

@culmat
Copy link
Member

culmat commented Feb 8, 2021

@MarkusTiede : I get your point about quality. My conclusion is slightly different: we already publish the source code (= IP ) on github, which is currently the platform with the most public attention. Should we make life hard with binaries, when source is already available? Is it better to have hidden (IP) bugs that open ones? IMHO quality is precisely one argument for going open source, and Maven Central does have some quality checks in their deployment process ( code signing, POM quality, javadoc ).
What about npm? We need quality / reviews independent from package managers.

Release early, release often, build quality in > security ( safety) by obscurity

@MarkusTiede MarkusTiede changed the title Propose release cycle / process for maven artifacts Propose release cycle / process for binary artifacts Feb 10, 2021
@MarkusTiede
Copy link
Member Author

MarkusTiede commented Feb 10, 2021

IMHO we should improve the quality in our process first

  • enhance transitive IP dependency cleanliness
  • external IP cleanliness (CLA)
  • internal IP cleanliness - e.g. via finos.org ODP

I'm just cautious here due to my experience within the releng context of the Eclipse Foundation ; this is how the EF releases to maven central:

https://git.eclipse.org/c/platform/eclipse.platform.releng.git/tree/publish-to-maven-central

@MarkusTiede
Copy link
Member Author

MarkusTiede commented Feb 12, 2021

Maybe we should also broaden the scope here a bit to e.g. also cover releasing of

  • javascript such as npm artifacts
  • container on docker hub
  • what else to come ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
champion https://baloise.github.io/open-source/docs/md/goals/uplift.html#champion impediment If this is not done it blocks uplifting
Projects
None yet
Development

No branches or pull requests

3 participants