Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157014 - dev-vcs/cvsspam: add subversion use flag
Summary: dev-vcs/cvsspam: add subversion use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 157015 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-03 11:25 UTC by Ben Taitelbaum
Modified: 2010-03-06 21:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to cvsspam.rb for svn (cvsspam-0.2.12-svn.patch,806 bytes, patch)
2006-12-03 15:05 UTC, Ben Taitelbaum
Details | Diff
svn post commit hook script for cvs spam (commit-SVNspam.pl,17.32 KB, text/plain)
2006-12-03 15:19 UTC, Ben Taitelbaum
Details
proposed patch to cvsspam ebuild to add svn use flag (cvsspam-0.2.12-svn.patch,806 bytes, patch)
2006-12-04 18:42 UTC, Ben Taitelbaum
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.