helpSavannah Administration - Support: sr #106102, svn beta

 
 

sr #106102: svn beta

Submitted by:  Dave Hall <skwashd>
Submitted on:  Tue 27 Nov 2007 09:33:45 PM UTC  
 
Category: Source code repositories - developer accessPriority: 5 - Normal
Severity: 3 - NormalStatus: Done
Assigned to: Sylvain Beucler <Beuc>Operating System: None
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 08 Dec 2007 09:52:54 AM UTC, comment #20:

OK, we can close the request now :)

Sylvain Beucler <Beuc>In charge of this item.
Mon 03 Dec 2007 06:10:23 PM UTC, comment #19:

Hi,

You can disable the CVS source link from the Main/Select Features menu.
The "CVS" general entry might persist depending on whether you use the CVS webpages repository.

Sylvain Beucler <Beuc>In charge of this item.
Mon 03 Dec 2007 11:36:05 AM UTC, comment #18:

I just noticed that CVS is still advertised on our project menu, can this please be disabled? It might confuse some people.

Dave Hall <skwashd>
Mon 03 Dec 2007 11:07:39 AM UTC, comment #17:

Sylvain,

Based on the reports I have and my testing, it all looks good.

Thanks a lot for doing this for us, we really appreciate it. Feel free to close this ticket. If we find any gremlins lurking, new tickets can be opened.

Keep up the great work.

Thanks again, from me and the rest of the project!

Dave Hall <skwashd>
Mon 03 Dec 2007 10:54:08 AM UTC, comment #16:

Hmm, sorry post it on dev list, not here, so sorry for double post :

It looks like it's working for me (at least I'm able to get the trunk, I
don't have time to check if all files are there :) .

Thanks for the migration.

Regards,

Caeies.

Caeies <Caeies>
Mon 03 Dec 2007 12:51:07 AM UTC, comment #15:

Looks good. Sorry for not looking for it myself - I am a little out of it

Dave Hall <skwashd>
Mon 03 Dec 2007 12:14:43 AM UTC, comment #14:

Check https://savannah.gnu.org/svn/?group=phpgroupware

This too maybe: https://savannah.gnu.org/maintenance/SvN

Sylvain Beucler <Beuc>In charge of this item.
Sun 02 Dec 2007 11:59:23 PM UTC, comment #13:

I would love to test it, but I don't know what the url is :)

svn+ssh://svn.sv.gnu.org/???/phpgroupware ?

Dave Hall <skwashd>
Sun 02 Dec 2007 09:49:35 PM UTC, comment #12:

The dump is imported (took a while, around 1h and 1/2).
I installed the commit mail notification hook as well.
Now it's testing time :)

Sylvain Beucler <Beuc>In charge of this item.
Sun 02 Dec 2007 01:14:10 PM UTC, comment #11:

Thanks a lot for this. I have emailed you a link to the dump.

Dave Hall <skwashd>
Sun 02 Dec 2007 08:57:50 AM UTC, comment #10:

Yep,

I'm available for importing it quickly during the next 12h.

Sylvain Beucler <Beuc>In charge of this item.
Sun 02 Dec 2007 12:14:57 AM UTC, comment #9:

Nice one

Should I prepare the dump tarball for importing?

Dave Hall <skwashd>
Sun 02 Dec 2007 12:07:01 AM UTC, comment #8:

OK, I have something like this:

giving as result:

Sylvain Beucler <Beuc>In charge of this item.
Sat 01 Dec 2007 01:10:15 AM UTC, comment #7:

Ok great. Let me know when you are ready for the svn dump and I will post it.

For developers, i will make the tree read only just before I create the dump

Dave Hall <skwashd>
Sat 01 Dec 2007 01:00:54 AM UTC, comment #6:

We've had a bad experience with minimalist chroot environments and switched away from that (too much maintenance harms security).

I'll have a look at installing svnnotify, this can be activated for your project manually in a first step.

Sylvain Beucler <Beuc>In charge of this item.
Thu 29 Nov 2007 09:31:50 AM UTC, comment #5:

This is from the phpgw-dev list

From: christian bac <christian.bac@int-edu.eu>

Hi,
I don't know how subversion is integrated into savannah, but there can have a problem related to the fact that svnnotify is associated to perl.

We faced this problem when integrating svn into picoforge, cause we jail the svn part in a separate location of the system.

It was difficult for us to have the software guess what is really
necessary for perl modules to work.

We choosed another solution based on the use of svn related software and of a small mailer (nail) that is configured to send mail to localhost via smtp (this helps go out of the jail).

Here are the 5 last lines in my post-commit hook.

REPOS="$1"
REV="$2"
PROJECT=`basename $1`

( /usr/bin/svnlook info -r $REV $REPOS ; /usr/bin/svnlook changed -r
$REV $REPOS ) | /usr/bin/nail -s "Svn Commit on $PROJECT "
$PROJECT-svnnotify@picoforge.int-evry.fr

If this can help in configuring savannah.

C.Bac

Dave Hall <skwashd>
Wed 28 Nov 2007 09:48:54 AM UTC, comment #4:

All I did was install libsvn-notify-perl from debian etch and then just put the contents below in /path/to/repos/phpgroupware/hooks/post-commit

#!/bin/sh
# Make sure I am 770 www-data:phpgroupware

REPOS="$1"
REV="$2"

/usr/bin/svnnotify --repos-path "$REPOS" --revision "$REV" -t -unavailable- -D phpgroupware.org -d -S

The extra flags are:

-t the email address to send the notifications to
-D the domain to append to username for messages
-d include a diff
-S send the envelop sender to the from address

in the can of savannah, you probably just want to use
/usr/bin/svnnotify --repos-path "$REPOS" --revision "$REV" -t -unavailable- -d -S -f -unavailable-

-f being to set the from header

HTH

Dave

Dave Hall <skwashd>
Wed 28 Nov 2007 09:06:12 AM UTC, comment #3:

Any info (OS packages, hooks content, what needs to be configured per project, etc.) to a working model would be helpful, indeed.

Sylvain Beucler <Beuc>In charge of this item.
Wed 28 Nov 2007 01:12:49 AM UTC, comment #2:

Hi,

Great, except for the email notifications. Email notifications is something pretty important for us. Is there anything that can be done to make this happen?

On our private svn install (running on debian etch) we just use libsvn-notify-perl (http://search.cpan.org/dist/SVN-Notify/) and it works well.

If you need some info on how we implemented it, just let me know :)

Cheers

Dave

Dave Hall <skwashd>
Tue 27 Nov 2007 11:40:12 PM UTC, comment #1:

Hi,

That can be done if you accept to become the official Savannah Hackers SVN guinea pig ;)

Should you do so, please post a URL to the dump for import.
(download area might be used temporarily for that)

(Note that currently we do not have commit notifications in place though)

Sylvain Beucler <Beuc>In charge of this item.
Tue 27 Nov 2007 09:33:45 PM UTC, original submission:

Hi,

Earlier this year I spoke to Beuc about phpGroupWare using svn. He indicated that we could be a beta user of the service. I then got distracted by more important things and didn't follow it up.

On the weekend, I had enough of CVS and converted to SVN. phpGroupWare is now using a private SVN repo. This is less than an ideal solution, but we needed to get things done quickly.

During the change over we also moved the phpgwapi project code back into he main tree as this makes life easier for everyone now.

How can we get our private svn repository imported into svn.sv.gnu.org? We would really like our source back on savannah :)

I am happy to post a "svnadmin dump" somewhere which can be downloaded and imported.

Cheers

Dave Hall
API Coordinator and Package Maintainer
phpGroupWare

Dave Hall <skwashd>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by Caeies (Posted a comment)
  • -unavailable- added by Beuc (Posted a comment)
  • -unavailable- added by skwashd (Submitted the item)
  • -unavailable- added by skwashd (So other devs know what is happening with this)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 08 Dec 2007 09:52:54 AM UTCBeucStatusNone=>Done
      Open/ClosedOpen=>Closed
    Tue 27 Nov 2007 11:40:12 PM UTCBeucAssigned toNone=>Beuc
    Tue 27 Nov 2007 09:33:45 PM UTCskwashdCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup