httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: cvs commit mails
Date Sat, 09 Dec 2000 21:53:27 GMT

Okay, I just backed that out.  I'll a bit closer and see if there is
anything I can do.  If not, I'll leave this for somebody else.

Ryan

On Sat, 9 Dec 2000, Joshua Slive wrote:

> On Sat, 9 Dec 2000 rbb@covalent.net wrote:
> 
> > 
> > Joshua,
> > 
> > I think I just fixed this, can you test if for me?
> > 
> 
> Hmmm... that didn't seem to work.  Perhaps my guess at where to fix it was
> wrong.
> 
> Looking more closely, it appears that the map in that perl file
> gets matched EXACTLY against the directory where the
> commit took place.  Since my commit was in httpd-2.0/docs/manual
> it did not get caught by the map for httpd-2.0/docs.
> 
> So, either the directories need to be enumerated (ouch... bad idea)
> or that code needs to be somehow modified to do a substring
> match.  That would be beyond my (non-existent) perl expertise.
> 
> The relevant code is:
> 
>    local($path) = @_;
>     my($mapped, $dir) = ("", $path);
>     my(%mapping) = ('apache-2.0/src/include'            => 'httpd-docs-2.0',
>                     'apache-2.0/src/os/unix'            => 'httpd-docs-2.0',
>                     'apache-2.0/src/lib/apr/include'    => 'httpd-docs-2.0',
>                     'httpd-2.0/docs'                    => 'httpd-docs-2.0');
> 
>     #
>     # If the path exactly matches one of our conditions, return the
>     # mapped equivalence value.  We're passed the first argument from
>     # the command line, which is the directory in which the commit
>     # is taking place.
>     #
>     if ($mapped = $mapping{$path}) {
>         #
>         # Already set by the test..
>         #
>     }
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: apache-docs-unsubscribe@apache.org
> For additional commands, e-mail: apache-docs-help@apache.org
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message