Download from Github Package Registry without authentication
+1, I created the packages but now I can’t download them from another anonymous client. Read full topic
View ArticleDownload from Github Package Registry without authentication
Jcenter/Bintray will shut down on 1st May Github packages are an excellent alternative, but they suck for this useless (imo) “requirement” Is it really necessary to use an access token only to fetch...
View ArticleDownload from Github Package Registry without authentication
jcansdale: A Maven `settings.xml` file: <servers> <server> <id>github</id> <username>PublicToken</username>...
View ArticleDownload from Github Package Registry without authentication
I don’t suppose this could be as simple as Github providing an official global token to reflect “anonymous” read only access and set by default in some context. Read full topic
View ArticleDownload from Github Package Registry without authentication
I too have spent days trying to make Github packages work for my project only to discover that it is not possible to pull them without a PAT authentication. It would be ideal to keep everything on...
View ArticleDownload from Github Package Registry without authentication
Let me confirm that @jcansdale solution using an encoded generated by gpr CLI is working. Here is the setup I am currently using to grab the packages with Gradle: Gradle script on Gist: repositories {...
View ArticleDownload from Github Package Registry without authentication
If you got this far, give up ya’ll. Heaps of package feeds on the web you can push your public packages too for free. Read full topic
View ArticleDownload from Github Package Registry without authentication
It’s a bit unfortunate (and maybe a little impolite, sorry) to endorse a GitHub competitor here, but the workaround for me was to use GitLab for publishing publicly available packages. See...
View ArticleDownload from Github Package Registry without authentication
I’ve also got this working by creating a personal access token that has the fewest privileges. To make this journey easier for others, I published a tutorial on how to do this on developerlife.com....
View ArticleDownload from Github Package Registry without authentication
Hi Naz! Thanks for the great article! Regarding the section Import this dependency into another gradle project - try pushing the other Gradle project to GitHub and you will see that your...
View ArticleDownload from Github Package Registry without authentication
Hi Mart, Thank you for your reply. I think that documentation might be out of date (it was published in February 5, 2015) I am currently using this repo color-console as a gradle dependency in other...
View ArticleDownload from Github Package Registry without authentication
Cool, thanks for clarifying! I tried with Maven just two days ago and the token got revoked - probably because it was in the form of https://username:<token>@maven.pkg.github.com/..., so it was...
View ArticleDownload from Github Package Registry without authentication
Wow! It seems like I missed getting detected by the token guardian robots this time . Good to know that using https://username:<token>@maven.pkg.github.com/... will trigger the revocation. Read...
View ArticleDownload from Github Package Registry without authentication
nazmulidris: Wow! It seems like I missed getting detected by the token guardian robots this time . Was it published to a private repository? The token auto-deletion only happens for public repos. Read...
View ArticleDownload from Github Package Registry without authentication
Hi @jcansdale It was published to a few public repositories. Here are some of them: GitHub - nazmulidris/color-console: This is a small library that provides a simple Kotlin DSL in order to colorize...
View ArticleDownload from Github Package Registry without authentication
I made a gradle plugin: GitHub - 0ffz/gpr-for-gradle: Gradle plugin for adding maven repos on Github Packages in one line to aid with this a while back, though I was trying to fix up some not-so-clean...
View ArticleDownload from Github Package Registry without authentication
Hi @overheadhunter, overheadhunter: <repository> <id>github</id> <!-- Basic auth via access token with `read:packages` scope -->...
View ArticleDownload from Github Package Registry without authentication
@0ffz, 0ffz: Either way, it makes adding a package repo a one-liner but you dont get to customize it much if you’re using Groovy. The syntax looks like this: repositories { maven...
View ArticleDownload from Github Package Registry without authentication
Ah interesting, that would explain the limitation on one package name per organization. I’ll take a look at it and likely add a little something that adds the /* if only specifying repo owner (woops...
View ArticleDownload from Github Package Registry without authentication
That this is marked as solved is misleading at best. There are partial workarounds for some scenarios. I wanted to use GHPackages for nightly builds of NuGet packages and for packages we don’t want to...
View Article