views:

52

answers:

2

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:

VonC
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
@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
+2  A: 

http://pages.github.com/

The Github Pages feature allows you to host arbitrary folders of files without git turning each file into a github page.

mchr