Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

svn rules and viewvc

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


lists07 at abbacomm

Oct 15, 2009, 11:35 PM

Post #1 of 6 (300 views)
Permalink
svn rules and viewvc

i used to be able to use wget to "easily" download rules from jhardin and
other sandboxes

now with this new viewvc, it is a total pain in the backside to do anything.

how do we make it so it is easy to get the sandbox rules again?

- rh


guenther at rudersport

Oct 16, 2009, 3:14 AM

Post #2 of 6 (281 views)
Permalink
Re: svn rules and viewvc [In reply to]

On Thu, 2009-10-15 at 23:35 -0700, R-Elists wrote:
> i used to be able to use wget to "easily" download rules from jhardin and
> other sandboxes
>
> now with this new viewvc, it is a total pain in the backside to do anything.

The SA team has no control over this at all. It's ASF infrastructure.

> how do we make it so it is easy to get the sandbox rules again?

Use svn.


--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


jhardin at impsec

Oct 16, 2009, 6:02 AM

Post #3 of 6 (278 views)
Permalink
Re: svn rules and viewvc [In reply to]

On Thu, 15 Oct 2009, R-Elists wrote:

> i used to be able to use wget to "easily" download rules from jhardin
> and other sandboxes
>
> now with this new viewvc, it is a total pain in the backside to do
> anything.
>
> how do we make it so it is easy to get the sandbox rules again?
>
> - rh

Karsten beat me to it. Check out what you want using SVN and pull it into
your local config using symlinks or a lint-then-copy script. Keeping
current is a simple matter of "svn up" (plus the processing script, if
you're doing that).

Caveat, though: the sandbox is for testing rules. They may break your
setup, the rule names may change arbitrarily, the rules may disappear
without warning, and scores will probably not be assigned. I strongly
suggest you have a zzz_sandbox_scores.cf file where you assign your own
(conservative) scores to sandbox rules you are pulling into your
production SA.

Unfortunately there's no way to say "turn off all rules in file X except
for Y and Z", which would make using sandbox files in production a little
safer.

--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin[at]impsec.org FALaholic #11174 pgpk -a jhardin[at]impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Users mistake widespread adoption of Microsoft Office for the
development of a document format standard.
-----------------------------------------------------------------------
15 days since a sunspot last seen - EPA blames CO2 emissions


mynabble at live

Nov 2, 2009, 2:46 AM

Post #4 of 6 (176 views)
Permalink
Re: svn rules and viewvc [In reply to]

John Hardin wrote:
> Karsten beat me to it. Check out what you want using SVN and pull it into
> your local config

I feel rather stupid here... I tried that, and it barfs on me:

# svn checkout
http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin/
svn: PROPFIND request failed on
'/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin'
svn: PROPFIND of '/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin': 302
Found (http://svn.apache.org)

What gives?

--
View this message in context: http://old.nabble.com/svn-rules-and-viewvc-tp25920485p26156667.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Mark.Martinec+sa at ijs

Nov 2, 2009, 4:05 AM

Post #5 of 6 (176 views)
Permalink
Re: svn rules and viewvc [In reply to]

Mynabbler,

> I tried that, and it barfs on me:
>
> # svn checkout
> http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin/
> svn: PROPFIND request failed on
> '/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin'
> svn: PROPFIND of '/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin': 302
> Found (http://svn.apache.org)
>
> What gives?

Try this:
$ svn co https://svn.apache.org/repos/asf/spamassassin/trunk/rulesrc/sandbox/jhardin


Mark


jhardin at impsec

Nov 2, 2009, 6:18 AM

Post #6 of 6 (176 views)
Permalink
Re: svn rules and viewvc [In reply to]

On Mon, 2 Nov 2009, Mynabbler wrote:

> John Hardin wrote:
>> Karsten beat me to it. Check out what you want using SVN and pull it into
>> your local config
>
> I feel rather stupid here... I tried that, and it barfs on me:
>
> # svn checkout
> http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin/
> svn: PROPFIND request failed on
> '/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin'
> svn: PROPFIND of '/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin': 302
> Found (http://svn.apache.org)
>
> What gives?

viewvc is an interactive web interface to the SVN repository; you can't
use svn to talk to the repository via the viewvc links, they are just for
browsing.

You need to talk to the repository directly, as Mark described.

--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin[at]impsec.org FALaholic #11174 pgpk -a jhardin[at]impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Our government should bear in mind the fact that the American
Revolution was touched off by the then-current government
attempting to confiscate firearms from the people.
-----------------------------------------------------------------------
9 days until Veterans Day

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.