Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157014

Summary: dev-vcs/cvsspam: add subversion use flag
Product: Gentoo Linux Reporter: Ben Taitelbaum <btaitelb>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to cvsspam.rb for svn
svn post commit hook script for cvs spam
proposed patch to cvsspam ebuild to add svn use flag

Description Ben Taitelbaum 2006-12-03 11:25:45 UTC
Would it make sense to add an svn use flag to the cvsspam package to install a patched cvsspam.rb as well as the commit-SVNspam.pl script, as found at:
http://lists.badgers-in-foil.co.uk/pipermail/svnspam-dev/2004-May/000002.html

I've tested these scripts manually (no ebuild) with cvsspam-0.2.12 and they seem to be working great.

I'm attaching all the relevant files. If someone gives me the okay to add this use flag, then I can try to create an ebuild (cvsspam-0.2.12-r1 ?) and post it here.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-03 12:03:10 UTC
*** Bug 157015 has been marked as a duplicate of this bug. ***
Comment 2 Ben Taitelbaum 2006-12-03 15:05:17 UTC
Created attachment 103290 [details, diff]
patch to cvsspam.rb for svn

These are the same changes as the patch at http://lists.badgers-in-foil.co.uk/pipermail/svnspam-dev/2004-May/000002.html
Comment 3 Ben Taitelbaum 2006-12-03 15:19:56 UTC
Created attachment 103292 [details]
svn post commit hook script for cvs spam

From http://lists.badgers-in-foil.co.uk/pipermail/svnspam-dev/2004-May/000002.html
but updated with gentoo's paths (/usr/bin/cvsspam.rb and /usr/bin/svnlook -- maybe these shouldn't be hardcoded?)
This script acts as an svn frontend to cvsspam.rb

This script can then be called from the post-commit hook file.
Comment 4 Ben Taitelbaum 2006-12-04 18:42:31 UTC
Created attachment 103374 [details, diff]
proposed patch to cvsspam ebuild to add svn use flag

This will patch the current 0.2.12 ebuild in portage to add the svn use flag. It relies on the second file being in the files subdir and named cvsspam-0.2.12-commit-SVNspam.pl

I have the following in my post-commit hook script that uses svnspam:
REPOS="$1"
REV="$2"

/usr/bin/commit-SVNspam.pl "$REPOS" "$REV" \
   --from me@here.com me@here.com \
   -m '^subproject/.*' --from me@here.com me@here.com,you@there.com
Comment 5 Łukasz Damentko (RETIRED) gentoo-dev 2008-03-14 17:53:53 UTC
Reassigning since nakano has retired from Gentoo.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2010-03-03 17:53:26 UTC
Fixed

removed old ebuilds

-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-util/cvsspam/ChangeLog,v 1.13 2009/09/23 17:43:19 patrick Exp $

+  03 Mar 2010; Markos Chandras <hwoarang@gentoo.org> -cvsspam-0.2.11.ebuild,
+  -cvsspam-0.2.11-r1.ebuild, cvsspam-0.2.12.ebuild,
+  +files/cvsspam-0.2.12-svn.patch:
+  Add svn use flag. Include patch from Ben Taitelbaum
+  <btaitelb@cs.oberlin.edu>. EAPI2fy it and keyworded for amd64. Fixes bug
+  #157014
+
Comment 7 Ulrich Müller gentoo-dev 2010-03-06 21:19:53 UTC
A global "subversion" USE flag exists, therefore I've changed it to this.
Package was moved to dev-vcs/cvsspam, see bug 56967.