Hi Eric, I had the exact same idea for example in relation to Apache NetBeans native artifacts (launcher, nbi libs, nbi launcher, profiler libs) because the https://netbeans.osuosl.org/binaries/ is really meant to be a site for truly external binaries, i.e. those that are *outside* of the Apache NetBeans project. So using something more internal to the build pipeline would be preferable.
So I was looking into GitHub Packages when I did PR-2700. This PR currently "publishes" its build result as a so-called Artifact. This is sub-optimal. Someone needs to grab it from there and upload it to https://netbeans.osuosl.org/binaries/. The GitHub Actions workflow might as well publish directly into GitHub Packages (the Maven flavour, of course) and then the Ant DownloadBinaries task could pick it up from there. As you can imagine a GitHub Actions workflow can publish into a GitHub Package repo without further ado. It just works out-of-the-box so to speak. BUT BUT, BUT There's one big caveat to using GitHub Packages which GitHub/Microsoft doesn't advertise much: It requires authentication even if you are just a consumer. Ouch! So using GitHub Packages would require everyone who wishes to build NetBeans to do some magic by "installing" their own GitHub Personal Access Token before the Ant build scripts would actually work. This would probably be unacceptable from a community perspective. At least I would think so. The sole reason why GitHub Packages hasn't yet gained widespread adoption in the FOSS world is this tiny little caveat. :-) Lars On Sun, Jan 31, 2021 at 3:55 PM Eric Bresie <[email protected]> wrote: > > Given NetBeans usage of GitHub...while reading the below, I was curious if > usage of GitHub Packages would be of use as an alternative for managing build > artifacts in some way. This is the “Apache-maven” way, although there are > mentions of other setup as well. > > https://docs.github.com/en/free-pro-team@latest/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages > > Eric Bresie > Ebresie@gmail. (mailto:[email protected])com > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
