Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorJazzman
    • CommentTimeNov 30th 2005
     # 51
    :O What's that people thing?? (I'm too shaky too look at the code :P)
    •  
      CommentAuthorMrNase
    • CommentTimeNov 30th 2005
     # 52
    I was wondering the same.. I think mark will have to explain it ;)
    •  
      CommentAuthorBergamot
    • CommentTimeNov 30th 2005
     # 53
    Hmm, now I need a password to get in
    •  
      CommentAuthorMrNase
    • CommentTimeNov 30th 2005
     # 54
    damnit.. I could only copy 20 or so files :-D
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 55
    Okay, I'm about ready to throw in the towel on svn.

    1. Can't make it commit after adding a file.
    2. Even though I've set up permissions, it never prompts me for a username or password and allows me to both read and write.

    It just doesn't fucking work right.
    •  
      CommentAuthorMrNase
    • CommentTimeNov 30th 2005
     # 56
    Well.. Don't you know someone who can help you out..? Get things right and notify us when it's done.

    We've been waiting some time and I for one don't bother to wait some more hours! :)


    btw. is there any reason you went with SVN?
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 57
    No. Apparently no-one can help me out, and the documentation is ass.
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 58
    I went with svn because everyone said cvs is archaic and because (apparently) a lot of people use svn.
    •  
      CommentAuthorjtyler
    • CommentTimeNov 30th 2005
     # 59
    Wish I could help.
    •  
      CommentAuthorMrNase
    • CommentTimeNov 30th 2005 edited
     # 60
    Why did you go for SVN? :)
    Iam no expert but I don't see a difference between it and CVS :)


    Well.. Go for CVS then ;)
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 61
    At this point, I'm not switching to a different one. I've spent too long trying to get this one to work to start all over again, now.
    •  
      CommentAuthorMrNase
    • CommentTimeNov 30th 2005
     # 62
    Sounds reasonable :)

    With the approach to help:
    http://limnos.csrd.uiuc.edu/notes/howtos/svn.html
    • CommentAuthorjos
    • CommentTimeNov 30th 2005
     # 63
    Another option:
    post to their mailing list http://subversion.tigris.org/servlets/ProjectMailingListList , take a deep breath and let your wife give you a massage. Relax afterwards with a movie. Don't check the mailing list before you're entirely relaxed again (today is certainly forbidden).
    •  
      CommentAuthorjtyler
    • CommentTimeNov 30th 2005
     # 64
    Right on Jos. I second that.
    •  
      CommentAuthorJazzman
    • CommentTimeNov 30th 2005
     # 65
    LOL @ jos :)
    •  
      CommentAuthorBergamot
    • CommentTimeNov 30th 2005
     # 66
    Mailing lists are evil
    •  
      CommentAuthorMrNase
    • CommentTimeNov 30th 2005
     # 67
    They ARE the devil.. I just can't handle them.. Way too complicated :(
    •  
      CommentAuthorBergamot
    • CommentTimeNov 30th 2005
     # 68
    The SVN devs should just use Vanilla instead :D
    •  
      CommentAuthorMrNase
    • CommentTimeNov 30th 2005
     # 69
    The only way to tell them is via the mailing list. A kind of vicious circle, isn't it? :-D

    Anyway I noticed the SVN server has been removed..? The Url gives me a 404 :)

    Don't get me wrong, Iam always way too impatient ;-)
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 70
    The security was totally borked, so I wiped the whole thing and installed elsewhere. I'm not announcing it publicly until it works, and it still does not.

    I've got some colleagues looking into it right now to see if they can impart any wisdom.

    *prays*
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 71
    Well, they say they'll have to get back to me tomorrow.

    So, unless anyone here has any great ideas, it looks like I didn't make that "End of November" deadline.
    •  
      CommentAuthorBergamot
    • CommentTimeNov 30th 2005 edited
     # 72
    You could always just toss the files in a rar... ;-)

    I mean SVN trees are nice for a variety of reasons, none of which are really immediate.
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 73
    For the record, here is where I am at...

    My apache2 conf file for mysvndomain.com is:

    <VirtualHost 67.18.176.227:80>
    ServerName mysvndomain.com
    DocumentRoot /applications/lussumo/mysvndomain/
    ErrorLog /applications/webalizer/mysvndomain/error.log
    CustomLog /applications/webalizer/mysvndomain/access.log combined

    <location /svn>
    Order allow,deny
    Allow from all

    DAV svn
    SVNParentPath /subversion

    # our access control policy
    AuthzSVNAccessFile /etc/apache2/auth-files/lussumo-svn-authzfile

    # how to authenticate a user
    AuthType Basic
    AuthName "Lussumo Subversion Repository"
    AuthUserFile /etc/apache2/auth-files/lussumo-svn-authfile

    # only authenticated users may modify the repository
    <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
    </LimitExcept>
    </location>
    </VirtualHost>



    As you can see from the "location" declaration, I've created a folder in the root of my system called "subversion". I've chowned that folder to www-data:www-data (the apache user/group on Debian). I su'd to www-data and created a vanilla repository within that folder.

    I have created the AuthzSVNAccessFile as follows:

    # Directory specific authorization control
    [groups]
    owner = mark
    vanilla-developers = mark

    [/]
    @owner = rw

    [vanilla:/]
    @vanilla-developers = rw
    * = r


    My idea here is that I want everyone to be able to browse the repository, but I only want the owner or vanilla-developers to be able to read AND write to the repository. I've currently got myself as the owner and I've only added myself as a developer. Others will follow once I get things working properly.

    I've already got a system account for "mark". When I created my /etc/apache2/auth-files/lussumo-svn-authfile file, I gave "mark" the same password as the system "mark" account.

    Once all of that was done, I did an "apache2ctl graceful" on the server.

    Then I went to the repository on my local machine (via command prompt) and ran this:

    svn import vanilla http://mysvndomain.com/svn/vanilla/ -m "Initial Import"


    It did NOT prompt me for my password. I have tried this multiple times and I can't remember if it prompted me for my password the first time or not. I read through the SVN docs and found that yes, it does store a cache of authenticated users. I changed the svn config so that it should no longer store cached authentications (it should prompt for a username and password every time) just because I wanted to be sure that it wouldn't be open to everyone to modify. The docs said that even after you make those changes, it doesn't work for authenticated users who were already authenticated and you have to go delete those authentications. I went in to where it said in the docs they would be, and there was nothing there at all. So, I don't really know what to make of that.

    So, I guess this is the first problem: it never prompted me for authentication.

    At that point if I browsed to http://mysvndomain.com/svn/vanilla, it showed me the repository just fine.

    After that I went to another folder on my local machine and checked out the repository's trunk folder

    svn checkout http://mysvndomain.com/svn/vanilla/trunk vanilla


    That worked fine and gave me everything I needed - again, without requiring a username and password (which is what I wanted).

    Here is the second problem: I then modified a file and did an svn commit -m "Testing File Modifications". It did NOT prompt me for a username or password and it did the commit successfully.

    Here is the third problem: I then created a phpinfo.php file in the root of my local vanilla folder. I did an "svn add phpinfo.php" and that worked. Then when I tried to commit the repository, I got this error:

        C:\applications\subversion\vanilla>svn commit -m "Testing New File"
    Adding phpinfo.php
    svn: Commit failed (details follow):
    svn: PROPFIND request failed on '/svn/vanilla/trunk/phpinfo.php'
    svn: PROPFIND of '/svn/vanilla/trunk/phpinfo.php': 302 Found (http://mysvndomain.com)



    After googling a LOT, all I can come up with is that this error happens when your virtual server's documentroot and your location declaration's folder overlap so apache doesn't know what to do with the file. And that obviously isn't the case here since my settings do not overlap.
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 74
    I'm pretty confused and frustrated. Their errors are so non-descript, and their documentation doesn't include any troubleshooting at all - it's all just "do it this way and it will work", but as you can see, it's not really working like it should.


    There you have it. Oh, and mysvndomain.com isn't correct, I know. I just don't want you guys to know where I've put it (yet). I'll announce it later when everything is working.
    •  
      CommentAuthorBergamot
    • CommentTimeNov 30th 2005
     # 75
    Even if someone commits crap overwriting one of the files, it would still keep copies of all the old versions; the ability to rollback the whole program is one of the key benefits to version control systems.
  1.  # 76
    Minisweeper really wishes he could help. The only wisdom i can suggest is to dump apache2 cause it seems like a whole load more effort than apache1 =\
    •  
      CommentAuthorMark
    • CommentTimeNov 30th 2005
     # 77
    I don't want to have to concern myself with x people performing modifications to the core. For the time being I'd prefer to concern myself with a select few who have permission to modify - and everyone else can just read.
    •  
      CommentAuthorBergamot
    • CommentTimeNov 30th 2005
     # 78
    Understandable, but not having working permissions on the version control program doesn't prevent you from releasing a beta tonight.
    •  
      CommentAuthorKrak
    • CommentTimeNov 30th 2005
     # 79
    I didnt mean to bring ya down, was just trying to be funny. :/
    •  
      CommentAuthorgiginger
    • CommentTimeDec 1st 2005
     # 80
    I have no knowledge in this sort of thing.

    The only overlapping thing I can see is the system account and developer account both being called Mark and having the same password. Unless I read it wrong?
    •  
      CommentAuthorMrNase
    • CommentTimeDec 1st 2005
     # 81
    I knew it.. I woke up and thought mark had so much trouble with SVN that he hasn't released the new version :(
    • CommentAuthorjos
    • CommentTimeDec 1st 2005
     # 82
    The first and second problem might be related. Have you done a system search for those auth files? If I'm correct the docs say it should be under home folder but I believe debian uses /var/www/ by default without ~user as used by some other systems.
    • CommentAuthorjos
    • CommentTimeDec 1st 2005 edited
     # 83
    You probably have crossed this resource also but in case you didn't: the online version of "Version Control with Subversion" (o'reilly) There are some chapters (notably chapter 6) about apache and access control too.

    http://svnbook.red-bean.com/
    •  
      CommentAuthorKosmo
    • CommentTimeDec 1st 2005
     # 84
    I hate o'reilly, he missinformed me on various subjects over the course of several years that led me to believe otherwise and I got relatively upset for a short perioid of time. That was most unpleasant.
    •  
      CommentAuthorJazzman
    • CommentTimeDec 1st 2005
     # 85
    When you can't get stuff to work, and you've spend a lot of time on it, and it still doesn't work... just leave it, and try to use something else :) Else you'll get frustrated as hell! And for such a simple, clean and small project as Vanilla, you don't have to use high-tech subversion systems... but those are just my thoughts...
    •  
      CommentAuthorKosmo
    • CommentTimeDec 1st 2005
     # 86
    but those are just my thoughts

    And it is the thought that counts
    •  
      CommentAuthorJazzman
    • CommentTimeDec 1st 2005
     # 87
    What time is it now in Canada? :)
    •  
      CommentAuthorMrNase
    • CommentTimeDec 1st 2005
     # 88
    So.. Where are we now? 0.9.3 is ready, so is SVN I hope! :)
    •  
      CommentAuthorBergamot
    • CommentTimeDec 1st 2005
     # 89
    Time doesn't actually pass in Canada.
    •  
      CommentAuthorgiginger
    • CommentTimeDec 1st 2005
     # 90
    It's aboot time it did.
    • CommentAuthorjos
    • CommentTimeDec 1st 2005
     # 91
    Come on guys. Mark is working overtime to solve some problems to give us the newest release, and all I read are comments that betray a lack of appreciation of it.
    •  
      CommentAuthorMrNase
    • CommentTimeDec 1st 2005
     # 92
    That's not true.. We just want to know what problems Mark has so that we can help him :)
    •  
      CommentAuthorBergamot
    • CommentTimeDec 1st 2005 edited
     # 93
    all I read are comments that betray a lack of appreciation of it.

    That isn't really fair, for a number of reasons:
    1. If we didn't apprecate the work that has gone into Vanilla, we wouldn't be here; we'd be at some other forum software's site whining about the lack of their updates.

    2. According to what Mark said in the beginning of the thread, 0.9.3 is ready, except for SVN tree problems. As I have said twice before, this is incredibly silly; toss the files in a zip and sort out the version control stuff after you get the rabid Vanillaphiles (me) off your back.

    3. Short of paypalling cash, there really isn't any way other than forum whining to spur Mark's creative spirit.
    • CommentAuthorMinisweeper
    • CommentTimeDec 1st 2005 edited
     # 94
    Jos does have a point. It's all in good humor and everyone knows that but mark needs our help right now.

    //nm, he's on debian sarge.
    •  
      CommentAuthorMark
    • CommentTimeDec 1st 2005 edited
     # 95
    I decided to leave the svn problems behind and work on the one last big thing for the next rev: feeds.

    I've made Atom and RSS2 extensions. Both of them work based on the scope of the page. So, if you run a search on the search page and then click on the Atom or RSS2 button, you get *those* results. The same goes for if you apply filters to the discussion index. It also works on the comments page.

    It came to me last night when I was trying to think of what else to do to clear my head. It's a pretty slick solution, actually.

    I'm not a feed-user, so you guys may want to have some different info in some of the fields, but we can work that out after it's released.

    Anyway. That's done. I'm going to eat some food and then get back on SVN. I had some ideas for how to fix it today while I was working on the feeds.
  2.  # 96
    Hmm. I only wish i was running apache2 so i could try running through an install myself and then help you along if i got it running. But there's no way i'm switching my web server now.
    •  
      CommentAuthorMark
    • CommentTimeDec 1st 2005
     # 97
    No worries, mini.

    If I can't get svn working tonight, I'll release a zip.
    •  
      CommentAuthorBergamot
    • CommentTimeDec 1st 2005 edited
     # 98
    Yay :D
  3.  # 99
    Is there any upgrade procedures or is it just file edits you've made?
    •  
      CommentAuthorMark
    • CommentTimeDec 1st 2005
     # 100
    I'll explain everything when I make it public, but I would not recommend replacing any existing forums with this code yet. There are still a lot of bugs - which is why I wanted to have it on svn - so you could all help with ironing them out quickly.

    Tonights release will not be a public release - it will be just for us on the community site to test and play with.