mainSavannah Administration - Support: sr #106102, svn beta

 
 

sr #106102: svn beta

Submitter:  Dave Hall <skwashd>
Submitted:  Tue 27 Nov 2007 09:33:45 PM UTC
   
 
Category:  Source code repositories - developer access Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Beuc
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
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>
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: 
Sylvain Beucler <Beuc>
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>
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>
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:

REPOS="$1"
REV="$2"
PROJECT=`basename $1`
#MAIL=phpGroupWare-cvs@gnu.org
MAIL=beuc@beuc.net

# ticket-map: check frontend/php/include/markup.php:_markup_inline()
# support #123, sr#123, bug #123, bugs#123, task  #123, tasks#123, patch#123...

svnnotify --repos-path "$REPOS" --revision "$REV" \
  --with-diff --revision-url "http://svn.sv.gnu.org/viewvc?view=rev&root=$PROJECT&revision=%s" \
  --ticket-map '\bbugs?\s{0,2}#([0-9]+)=http://savannah.gnu.org/bugs/?%s' \
  --ticket-map '\b(?:sr|support)\s{0,2}#([0-9]+)=http://savannah.gnu.org/support/?%s' \
  --ticket-map '\btasks?\s{0,2}#([0-9]+)=http://savannah.gnu.org/task/?%s' \
  --ticket-map '\bpatch?\s{0,2}#([0-9]+)=http://savannah.gnu.org/patch/?%s' \
  --to $MAIL


giving as result:

Revision: 10
          http://svn.sv.gnu.org/viewvc?view=rev&root=testyeight&revision=10
Author:   Beuc
Date:     2007-12-01 23:59:26 +0000 (Sat, 01 Dec 2007)

Log Message:
-----------
Working on sr #106102

Ticket Links:
:-----------
    http://savannah.gnu.org/support/?106102

Modified Paths:
--------------
    baba

Modified: baba
===================================================================
--- baba        2007-12-01 23:56:19 UTC (rev 9)
+++ baba        2007-12-01 23:59:26 UTC (rev 10)
@@ -6,3 +6,4 @@
 1
 1
 1
+1


Sylvain Beucler <Beuc>
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>
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 -email is 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 -email is unavailable- -d -S -f -email is 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>
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>
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-08 Beuc StatusNone Done
        Open/ClosedOpen Closed
    2007-11-27 Beuc Assigned toNone Beuc
    2007-11-27 skwashd Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code