eygraber
07/16/2024, 5:51 PMit has the side effect of users being able to make their pre-release versions available to their communities during ongoing developmentI feel like that's a very valuable tool, since it makes it very easy for the community to verify that something works, or adopt changes before a release is made. It's probably not the best solution for this, and a full release pipeline would probably be "better", but I think that's unfeasible for small projects that don't have the manpower to setup and manage those types of solutions.
ephemient
07/16/2024, 10:03 PMeygraber
07/16/2024, 10:06 PMmbonnin
07/17/2024, 6:54 AMmbonnin
07/17/2024, 6:55 AMeygraber
07/17/2024, 7:00 AMmbonnin
07/17/2024, 7:15 AMeygraber
07/17/2024, 7:22 AMeygraber
07/17/2024, 7:23 AMmbonnin
07/17/2024, 7:46 AMeygraber
07/17/2024, 7:52 AMmbonnin
07/17/2024, 8:12 AMeygraber
07/17/2024, 8:16 AMmbonnin
07/17/2024, 8:20 AMeygraber
07/17/2024, 8:35 AMCLOVIS
07/17/2024, 1:35 PMit has the side effect of users being able to make their pre-release versions available to their communities during ongoing developmentNo, that's not true, you can release
1.2.0-alpha.1
versions. What you can't do is release mutable versions, and I think that's a very good thing. As a user, I may accept working with pre-release versions in my projects, but I'm never touching a mutable version: I don't even know if the same code is going to run on my machine, in CI, and later in production!CLOVIS
07/17/2024, 1:37 PMgit describe
to get a unique version number if you want to automatically publish all PRsmbonnin
07/17/2024, 1:38 PMmbonnin
07/17/2024, 1:39 PMCLOVIS
07/17/2024, 1:39 PMmbonnin
07/17/2024, 1:40 PMCLOVIS
07/17/2024, 1:40 PMI don’t want to think how big it’ll be if everyone starts releasing immutable jars on every commitI mean, that's what many people do already. Look at any KotlinX library, especially Compose
mbonnin
07/17/2024, 1:41 PMCLOVIS
07/17/2024, 1:41 PMmbonnin
07/17/2024, 1:42 PMmbonnin
07/17/2024, 1:42 PMephemient
07/17/2024, 1:43 PMmbonnin
07/17/2024, 1:43 PMCLOVIS
07/17/2024, 1:43 PMephemient
07/17/2024, 1:44 PMmbonnin
07/17/2024, 1:44 PMmbonnin
07/17/2024, 1:44 PMmbonnin
07/17/2024, 1:45 PMCLOVIS
07/17/2024, 1:45 PMmbonnin
07/17/2024, 1:46 PMCLOVIS
07/17/2024, 1:46 PMCLOVIS
07/17/2024, 1:46 PMCLOVIS
07/17/2024, 1:47 PMmbonnin
07/17/2024, 1:48 PMephemient
07/17/2024, 1:48 PMmbonnin
07/17/2024, 1:50 PMmbonnin
07/17/2024, 1:50 PMIf the project doesn’t have any GitHub Releases you can use the short commit hash or ‘master-SNAPSHOT’ as the version.Yup
CLOVIS
07/17/2024, 1:51 PMmbonnin
07/17/2024, 1:51 PMmbonnin
07/17/2024, 1:51 PMthe ability to delete versions, and that’s against everything Central standsIt’s 2 different things. Central is for production, SNAPSHOTs is for development
ephemient
07/17/2024, 1:54 PMmbonnin
07/17/2024, 1:55 PM-SNAPSHOT
version to a repository of minembonnin
07/17/2024, 1:56 PMmbonnin
07/17/2024, 2:00 PMGitHub requires authentication, that’s a hard passI’m now thinking about hosting a maven repo in github pages 🙃 ....
eygraber
07/17/2024, 2:06 PMephemient
07/17/2024, 2:13 PMI'm now thinking about hosting a maven repo in github pages 🙃 …
https://github.com/github/maven-plugins#site-plugin they did publish a (very old) maven plugin to do that
Adam S
07/18/2024, 11:30 AMI’m now thinking about hosting a maven repo in github pagesGitHub Pages has a size limit, but you can host a repo in a disconnected git branch https://github.com/krzema12/snakeyaml-engine-kmp/tree/artifacts