www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Docs on dsource

reply dsimcha <dsimcha yahoo.com> writes:
Really stupid question from a total SVN noob:  I uploaded some docs to SVN for
a dsource project, and linked to them via the project wiki.  When I follow the
link to the docs, I get an HTML forbidden error.  How do I change the
permissions in that SVN directory to make the docs viewable as plain old HTML?
Jan 13 2009
next sibling parent John Reimer <terminal.node gmail.com> writes:
Hello dsimcha,

 Really stupid question from a total SVN noob:  I uploaded some docs to
 SVN for a dsource project, and linked to them via the project wiki.
 When I follow the link to the docs, I get an HTML forbidden error.
 How do I change the permissions in that SVN directory to make the docs
 viewable as plain old HTML?
 

Are the docs in HTML or plain text? If they are text, I guess the direct link should work. If they are html, you may need special permissions to display the html from a link. I would email brad at dsource.org (convert that to email address form) since it may not be merely an svn management problem. Another option, in the meantime, is to add the doc to the project wiki itself (but you must have permissions for that too, I suppose). -JJR
Jan 13 2009
prev sibling next sibling parent reply "Jarrett Billingsley" <jarrett.billingsley gmail.com> writes:
On Tue, Jan 13, 2009 at 11:23 PM, dsimcha <dsimcha yahoo.com> wrote:
 Really stupid question from a total SVN noob:  I uploaded some docs to SVN for
 a dsource project, and linked to them via the project wiki.  When I follow the
 link to the docs, I get an HTML forbidden error.  How do I change the
 permissions in that SVN directory to make the docs viewable as plain old HTML?

I've never got a "forbidden" error, but I have had to change the svn mime type on them for them to show up as webpages instead of as raw source. That's something you do on your end with your svn client, then check them in.
Jan 14 2009
parent reply dsimcha <dsimcha yahoo.com> writes:
== Quote from Jarrett Billingsley (jarrett.billingsley gmail.com)'s article
 On Tue, Jan 13, 2009 at 11:23 PM, dsimcha <dsimcha yahoo.com> wrote:
 Really stupid question from a total SVN noob:  I uploaded some docs to SVN for
 a dsource project, and linked to them via the project wiki.  When I follow the
 link to the docs, I get an HTML forbidden error.  How do I change the
 permissions in that SVN directory to make the docs viewable as plain old HTML?

mime type on them for them to show up as webpages instead of as raw source. That's something you do on your end with your svn client, then check them in.

Can you please elaborate on this? What do I need to change the MIME type to? Please understand that most of my programming experience comes from working on research prototype code, where a lot of formalities like version control are often ignored, so my knowledge of tools like SVN is *way* behind my general programming knowledge. Assume I know almost nothing about SVN.
Jan 14 2009
next sibling parent reply jcc7 <technocrat7 gmail.com> writes:
== Quote from dsimcha (dsimcha yahoo.com)'s article
 I've never got a "forbidden" error, but I have had to change the
 svn mime type on them for them to show up as webpages instead of
 as raw source.  That's something you do on your end with your svn
 client, then check them in.

type to? Please understand that most of my programming experience comes from working on research prototype code, where a lot of formalities like version control are often ignored, so my knowledge of tools like SVN is *way* behind my general programming knowledge. Assume I know almost nothing about SVN.

This page describes the MIME-type change: http://www.dsource.org/projects/tutorials/wiki/SvnTips But I think all you have to do is use URL's like this: http://svn.dsource.org/projects/dstats/docs/alloc.html (note: "svn" instead of "www").
Jan 14 2009
next sibling parent dsimcha <dsimcha yahoo.com> writes:
== Quote from jcc7 (technocrat7 gmail.com)'s article
 == Quote from dsimcha (dsimcha yahoo.com)'s article
 I've never got a "forbidden" error, but I have had to change the
 svn mime type on them for them to show up as webpages instead of
 as raw source.  That's something you do on your end with your svn
 client, then check them in.

type to? Please understand that most of my programming experience comes from working on research prototype code, where a lot of formalities like version control are often ignored, so my knowledge of tools like SVN is *way* behind my general programming knowledge. Assume I know almost nothing about SVN.

http://www.dsource.org/projects/tutorials/wiki/SvnTips But I think all you have to do is use URL's like this: http://svn.dsource.org/projects/dstats/docs/alloc.html (note: "svn" instead of "www").

Awesome. Thanks.
Jan 14 2009
prev sibling parent John Reimer <terminal.node gmail.com> writes:
Hello jcc7,

 == Quote from dsimcha (dsimcha yahoo.com)'s article
 
 I've never got a "forbidden" error, but I have had to change the svn
 mime type on them for them to show up as webpages instead of as raw
 source.  That's something you do on your end with your svn client,
 then check them in.
 

type to? Please understand that most of my programming experience comes from working on research prototype code, where a lot of formalities like version control are often ignored, so my knowledge of tools like SVN is *way* behind my general programming knowledge. Assume I know almost nothing about SVN.

http://www.dsource.org/projects/tutorials/wiki/SvnTips But I think all you have to do is use URL's like this: http://svn.dsource.org/projects/dstats/docs/alloc.html (note: "svn" instead of "www").

Nice! :) -JJR
Jan 14 2009
prev sibling parent "Nick Sabalausky" <a a.a> writes:
"dsimcha" <dsimcha yahoo.com> wrote in message 
news:gkks9h$1b74$1 digitalmars.com...
 == Quote from Jarrett Billingsley (jarrett.billingsley gmail.com)'s 
 article
 On Tue, Jan 13, 2009 at 11:23 PM, dsimcha <dsimcha yahoo.com> wrote:
 Really stupid question from a total SVN noob:  I uploaded some docs to 
 SVN for
 a dsource project, and linked to them via the project wiki.  When I 
 follow the
 link to the docs, I get an HTML forbidden error.  How do I change the
 permissions in that SVN directory to make the docs viewable as plain 
 old HTML?

mime type on them for them to show up as webpages instead of as raw source. That's something you do on your end with your svn client, then check them in.

Can you please elaborate on this? What do I need to change the MIME type to? Please understand that most of my programming experience comes from working on research prototype code, where a lot of formalities like version control are often ignored, so my knowledge of tools like SVN is *way* behind my general programming knowledge. Assume I know almost nothing about SVN.

Pardon me for saying so, but version control should never be ignored, not even on a one-man pet project.
Jan 14 2009
prev sibling parent "Jarrett Billingsley" <jarrett.billingsley gmail.com> writes:
On Wed, Jan 14, 2009 at 10:30 AM, jcc7 <technocrat7 gmail.com> wrote:
 This page describes the MIME-type change:
 http://www.dsource.org/projects/tutorials/wiki/SvnTips

 But I think all you have to do is use URL's like this:
 http://svn.dsource.org/projects/dstats/docs/alloc.html
 (note: "svn" instead of "www").

Stop being so clever ;)
Jan 14 2009