I am using github to develop an eclipse plugin. I would like to have a public eclipse update site for my plugin and wondered if I can use github for this? I know that github can be used for hosting individual files by using the "raw" links provided on the file information pages.
A:
I have not tested it, but technically, a p2 repository can be defined in any shared path (either filesystem-shared or web-based-shared)
You should only need to:
- generate the right p2 metadata
- analyze the p2 repo in case of any issue.
- store the all result in a git managed directory and push it to your GitHub repo.
VonC
2010-05-10 10:47:15
The problem I have is that github serves directories and files as HTML pages. To access the contents of a file there is a "raw" link. However, my update site is made up of several files and folders so I think I need to find a way to get a "raw" directory from github.Alternatively, can an update site be created in a zipped file where all the files are stored in a single archive?
mchr
2010-05-12 07:53:08
@mchr: I don't think an update site can be one single zip file. As for the raw directory listing, that is a good question to http://support.github.com/: http://support.github.com/discussions/site/1444-downloaded-filename-for-rawtrue-links might help: replace 'tree' by 'raw' in your GitHub address.
VonC
2010-05-12 08:42:14
+2
A:
The Github Pages feature allows you to host arbitrary folders of files without git turning each file into a github page.
mchr
2010-05-14 12:21:30