Koozali.org: home of the SME Server

[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7

Offline sonoracomm

  • *
  • 208
  • +0/-0
    • http://www.sonoracomm.com
[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #60 on: March 01, 2007, 11:07:13 PM »
OK, I give up.   I am unable to view Cactus' web pages.  I've tried many times from more than one PC and more than one ISP.

Perhaps there is another way...

I see there is a smeserver-subversion package in the smedev repository.

http://forums.contribs.org/index.php?topic=35530.0

I installed it.  It installed cleanly.  But it didn't appear to work properly.  

So my questions are these:  What is that package on smedev?  Is it different from what is outlined in the howto in this thread?  Or part of it?  If what is outlined in this thread is better (and actually works), can we reconcile the smedev repo and get past wasting Cactus's bandwidth?  ;-)

Thanks,

G

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #61 on: March 01, 2007, 11:15:35 PM »
Quote from: "sonoracomm"
OK, I give up.   I am unable to view Cactus' web pages.  I've tried many times from more than one PC and more than one ISP.

Perhaps there is another way...
I still don't know what is the issue.... everywhere I try my site seems to be up and running.
Quote from: "sonoracomm"
I see there is a smeserver-subversion package in the smedev repository.

http://forums.contribs.org/index.php?topic=35530.0

I installed it.  It installed cleanly.  But it didn't appear to work properly.  

So my questions are these:  What is that package on smedev?  Is it different from what is outlined in the howto in this thread?  Or part of it?  If what is outlined in this thread is better (and actually works), can we reconcile the smedev repo
Yes you can... the package in SME dev is the latest and should work, if not please file a bug in the bugtracker so I can follow up there to solve the problem.
Quote from: "sonoracomm"
and get past wasting Cactus's bandwidth?  ;-)
As you get no content served you are probably not using my bandwith at all  :oops:
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline sonoracomm

  • *
  • 208
  • +0/-0
    • http://www.sonoracomm.com
[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #62 on: March 02, 2007, 06:52:04 AM »
Onward...

(Can anyone tell I don't know anything about WebDAV?)

OK, I went back to the smedev repo after Cactus suggested that should work.  I installed using this simple command:
Code: [Select]
yum install --enablerepo=smedev --enablerepo=base smeserver-subversion
Then I used the cool Server Manager panel to create a new web share.  I tested different settings.  I finally set the security to Local, SSL Enabled, Force SSL.  So far, easy.  

Then I tried accessing the webshare, having never used WebDAV before.   I used XP Pro SP2 in a VM for some preliminary testing.  I also did preliminary testing with my Linux desktop (Gnome).  

I tried a plain old IE browser...this must be a read-only method of accessing WebDAV shares?  Too bad, but understandable.  It seems to not always work correctly until after there have been some files posted...

I tried Adding a Network Place via My Network Places.  This worked, but I could not write to the repository, only read.  I did more research and testing and found that I needed "SVNAutoversioning on" in httpd.conf to be able to write to the webshare.   Am I correct in assuming this needs to be configured via a custom template?

I also tried Map Network Drive with absolutely no success.  XP didn't seem to think https://server/share was a valid URL format.  Or any variation I could think of...

Nautilus also needed the "SVNautoversioning on" to be able to write to the web share.  Additionally, it seemed to have some mime-type issues (it didn't recognize the filetypes of the files on the webshare).

So, could anyone advise me how best to use this new WebDAV capability?  Would it be difficult to add the "SVNAutoversioning on" as an option in the web panel?  Or is this even the right thing to do?  Is there a better way?

Thanks in advance,

G

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #63 on: March 02, 2007, 10:05:04 AM »
Quote from: "sonoracomm"
Onward...

(Can anyone tell I don't know anything about WebDAV?)

OK, I went back to the smedev repo after Cactus suggested that should work.  I installed using this simple command:
Code: [Select]
yum install --enablerepo=smedev --enablerepo=base smeserver-subversion
Then I used the cool Server Manager panel to create a new web share.  I tested different settings.  I finally set the security to Local, SSL Enabled, Force SSL.  So far, easy.  

Then I tried accessing the webshare, having never used WebDAV before.   I used XP Pro SP2 in a VM for some preliminary testing.  I also did preliminary testing with my Linux desktop (Gnome).  

I tried a plain old IE browser...this must be a read-only method of accessing WebDAV shares?  Too bad, but understandable.  It seems to not always work correctly until after there have been some files posted...

I tried Adding a Network Place via My Network Places.  This worked, but I could not write to the repository, only read.  I did more research and testing and found that I needed "SVNAutoversioning on" in httpd.conf to be able to write to the webshare.   Am I correct in assuming this needs to be configured via a custom template?

I also tried Map Network Drive with absolutely no success.  XP didn't seem to think https://server/share was a valid URL format.  Or any variation I could think of...

Nautilus also needed the "SVNautoversioning on" to be able to write to the web share.  Additionally, it seemed to have some mime-type issues (it didn't recognize the filetypes of the files on the webshare).

So, could anyone advise me how best to use this new WebDAV capability?  Would it be difficult to add the "SVNAutoversioning on" as an option in the web panel?  Or is this even the right thing to do?  Is there a better way?

Thanks in advance,

G
The panel implements Subversion over DAV, and not WebDAV itself to the full extent. Subversion is used to store sourcecode mostly. You can use my smeserver-mod_dav contrib to load the DAV module (this is merely a simple thing to fix a requirement for subversion). After that you will have to make your own configuration templates to implement DAV.

To use my subversion contrib you will need a subversion plugin to communicate with the server.

For more details on ebaling DAV have a look here: http://httpd.apache.org/docs/2.0/mod/mod_dav.html
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline svangool

  • ***
  • 73
  • +0/-0
[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #64 on: March 02, 2007, 12:20:32 PM »
Doing a search with "svnautoversioning" could also help: http://forums.contribs.org/index.php?topic=34698.0
......

Offline dadoudidon

  • *
  • 84
  • +0/-0
[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #65 on: March 14, 2007, 09:36:52 PM »
i also agree that it should be a great idea to add SVNAutoversioning option in de smeserver-subversion.

It was impossible for me to write in my shared calendar

so
1 i have a repository in server-manager subversion
2 edit httpd.conf and add SVNAutoversioning on
so i had before
Code: [Select]

    <Location /my_repos>

        DAV svn
        SVNPath /home/e-smith/files/repositories/my_repos

        Options None
        AllowOverride None
        order deny,allow
        deny from all
        allow from all

    </Location>


and after

Code: [Select]

    <Location /my_repos>

        DAV svn
        SVNPath /home/e-smith/files/repositories/my_repos
        SVNAutoversioning on
        Options None
        AllowOverride None
        order deny,allow
        deny from all
        allow from all

    </Location>


finally
Code: [Select]
httpd -k restart

Now I can join my calendar and work on the fly!

It work as long as a do not change everything in the server-manager-> subersion and has long as i do not reboot the server

Maybe a better idea?

Anyway this contrib and the panel is a real good thing thanks for the good job

slav

[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #66 on: March 29, 2007, 02:09:23 PM »
Quote from: "sonoracomm"
OK, I give up.   I am unable to view Cactus' web pages.  I've tried many times from more than one PC and more than one ISP.


Hello, It seems snetram website works only with IE. While I was trying with Opera I was never able to open the site. With IE7 it works fine.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #67 on: March 29, 2007, 04:10:51 PM »
Quote from: "slav"
Hello, It seems snetram website works only with IE. While I was trying with Opera I was never able to open the site. With IE7 it works fine.

Opera is not the problem, as I can access the server with FireFox, Opera and Internet Explorer. It seems that somehow my provider has created a hard to fix DNS problem which causes traffic to be dropped somewhere on the route from a large range of ip numbers to my site. I am working on trying to fix the problem but it proves to be harder than expected somehow... :-(
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
[ANNOUNCE] Webpanel for Subversion (webDAV) on SME Server 7
« Reply #68 on: March 29, 2007, 04:23:12 PM »
Quote
I am working on trying to fix the problem but it proves to be harder than expected somehow...

That's because you don't know how to talk to them (hint: baseball bat).
  8)
"It should just work" if it doesn't report it. Thanks!