Can I use Google Code SVN for hosting a project's website? HTML pages stored in the SVN don't render in browsers, but what if I just hosted the css, js and images?
It would be very simple for any site owner to put the whole website in a SVN repository at Google Code and add to her pages' headers the line:
This way the site owner could keep the web pages (static or dynamic) on his own server, yet host all the images, css, files, etc. at Google Code's SVN. Would that be legal and not frowned upon?
And if so, can I create a Google Code project just to host my own site's images and css? I'm running a free blogging service and it would help me a lot if I could host all the static files on your servers.
And as I use Google Code to host my own programming project, thank you for your services, you're great as usual. One thing I'd very much like to see added is automatic packaging of releases -- tar/gzip/zip the project files, add a html page with changelog, allow the project owner to edit the release message, create rss files for it, etc.
> Can I use Google Code SVN for hosting a project's website? HTML pages > stored in the SVN don't render in browsers, but what if I just hosted > the css, js and images?
Your assumption is incorrect. html pages render just fine out of a Subversion repository if you set the svn:mime-type to text/html.
That said, while you can put html/css/js files into your projects Subversion repository if they pertain to your Google Code project, you can't use it as a general file hosting facility.
> This way the site owner could keep the web pages (static or dynamic) on > his own server, yet host all the images, css, files, etc. at Google > Code's SVN. Would that be legal and not frowned upon?
> And if so, can I create a Google Code project just to host my own > site's images and css? I'm running a free blogging service and it would > help me a lot if I could host all the static files on your servers.
> And as I use Google Code to host my own programming project, thank you > for your services, you're great as usual. One thing I'd very much like > to see added is automatic packaging of releases -- tar/gzip/zip the > project files, add a html page with changelog, allow the project owner > to edit the release message, create rss files for it, etc.
> Your assumption is incorrect. html pages render just fine out of a > Subversion repository if you set the svn:mime-type to text/html.
I stand corrected, after setting the mime-type my html test page rendered in browser.
> That said, while you can put html/css/js files into your projects > Subversion repository if they pertain to your Google Code project, you > can't use it as a general file hosting facility.
I don't want to split straws, but since php, html, css and javascript are code, wouldn't a non-profit website be considered as good a Google Code project as any?
I admit I was indeed thinking of using Google Code for hosting in general (since I couldn't find API description for Google Pages), but now I'm curious, what are the limits of Google's generosity in that area?
For example, can I store a release .zip in the SVN and link directly to Google Code's SVN browser?
> > That said, while you can put html/css/js files into your projects > > Subversion repository if they pertain to your Google Code project, you > > can't use it as a general file hosting facility.
> I don't want to split straws, but since php, html, css and javascript > are code, wouldn't a non-profit website be considered as good a Google > Code project as any?
Our goal with code hosting is to help open source by hosting open source projects that develop code (meaning applications, libraries, and tools). Split all the straws you want, but you asked for clarification and I'm giving it. :-)
> For example, can I store a release .zip in the SVN and link directly to > Google Code's SVN browser?
I just thought id like to chip in and say that a few ppl in the GoogleGroups forum are having major problems with the file download section of their respective groups. I was wondering if there is any google service (skip code hosting + google groups) where one can host their download zips.
On 14/12/06, mP <miroslav.poko...@gmail.com> wrote:
> [snip] I was wondering if there is any > google service (skip code hosting + google groups) where one can host > their download zips.
You might be able to use Google Base (http://base.google.com/) though I haven't experimented so can't say it'll be exactly what you require.
You'd probably want to create a new item type when uploading the file (say something like 'Code Release') before you add the *.tar.gz or whatever your distribution file is.
> On 14/12/06, mP <miroslav.poko...@gmail.com> wrote: > > [snip] I was wondering if there is any > > google service (skip code hosting + google groups) where one can host > > their download zips.
> You might be able to use Google Base (http://base.google.com/) though > I haven't experimented so can't say it'll be exactly what you require.
> You'd probably want to create a new item type when uploading the file > (say something like 'Code Release') before you add the *.tar.gz or > whatever your distribution file is.