-
Notifications
You must be signed in to change notification settings - Fork 462
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
Snapshots publication / Release frequency #1050
Comments
Thank you for this message. Some context: I joined earlier this year (2023) as a commiter in this project to help @jabby with the maintenance. Like you I am not totally happy with the health of this library:
Over the last months I have tried to contact @jabby multiple times now (Twitter/x, email), but currently I did not got any answer. About releases / SNAPSHOT publication: As mentioned I do not have any rights on sonatype (the service to publish on maven central). I was thinking contacting them directly (not sure if there is a process when the original committers are no longer responding) An option could be to change the groupId to be Jitpack: The service https://jitpack.io could offer a similar experience than SNAPSHOT releases on a maven repo. They can build any commit of any repo on demand. Sadly we are stuck because of the usage of The plan is to switch to testcontainers. I made some progress on the open PR (#935) but this work should be finished to eliminate the need of the fabric8 plugin. Open discussion: Thank you very much for engaging on this topic. If you have more ideas, feel free to share them. |
Super great to see your engagement! And I totally understand your frustration. I won't expect sonatype to transfer any ownership. What is the thing with fabric8? Why do we need that for publishing from jitpack and why does it not work? |
Somehow when jitpack is building it doesn't run the tests anyway but the build is failing with:
Using testcontainers would be better anyway. |
Good news 🎉 |
To get the latest version jitpack builds are now working. Usage with gradle: repositories {
mavenCentral()
maven {
url "https://jitpack.io"
content {
includeGroup "com.github.gitlab4j"
}
}
}
dependencies {
// ...
implementation 'com.github.gitlab4j:gitlab4j-api:main-SNAPSHOT'
// ...
} Usage with maven: <repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId>
<version>main-SNAPSHOT</version>
</dependency>
<!-- ... -->
</dependencies> Usage with jbang: The example script uses Jbang where loading the dependency is really easy. You just need to declare this dependency: //DEPS https://github.com/gitlab4j/gitlab4j-api/tree/main#:SNAPSHOT Instead of: //DEPS org.gitlab4j:gitlab4j-api:5.3.0 And then Jbang does the work of adding the additional repository for you. If you are interested by the dependencies {
implementation 'com.github.gitlab4j:gitlab4j-api:6.x-SNAPSHOT'
} <dependency>
<groupId>com.github.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId>
<version>6.x-SNAPSHOT</version>
</dependency> If you want a specific version, you can reference it by its commit (has to be newer as ab9b98c, 7 November 2023). Example for commit 6561c93: dependencies {
implementation 'com.github.gitlab4j:gitlab4j-api:6561c93aaf'
} <dependency>
<groupId>com.github.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId>
<version>6561c93aaf</version>
</dependency> |
I was granted the permission to create a release this week. I have published two new versions on maven central: |
Super cool, thank you! <3 |
It would be great if there were snapshot builds (either on a daily basis or on every commit)
Currently I'm waiting for this to be released: #1027 and it would be great if we could already make use of this until there is a stable release.
This could also be great because possible issues could be identified easier before released.
The text was updated successfully, but these errors were encountered: