I have some Eclipse extension projects hosted by GitHub. These projects also include the related update sites. I thus need an URL to the raw data that Eclipse can use to dow
You can try this tarball url - https://github.com/lowcoupling/dono/tarball/master
Or the zipfile url - https://api.github.com/repos/lowcoupling/dono/zipball/master
The url is indeed https://raw.githubusercontent.com/username/projectname, but it only applies to files, not the project itself (which would return 400: Invalid request)
https://raw.githubusercontent.com/username/projectname/branchName/file
For instance:
https://raw.githubusercontent.com/VonC/compileEverything/master/make_env.sh
This is different from a project archive (tarball or zip) download, which does download the full repo.
See get archive link:
GET /repos/:owner/:repo/:archive_format/:ref
with:
archive_format
string Can be either tarball or zipball.ref
string A valid Git reference.For instance:
https://api.github.com/repos/VonC/compileEverything/zipball/master
I use Bitbucket's support for static sites to host an Eclipse update site.
Github has Pages, which seems even more flexible.