You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Fabien <fa...@apache.org> on 2012/11/11 09:57:34 UTC

mod_macro into apache ?

Hello devs,

I have developed and maintained a small module called "mod_macro" since 
1998. It is currently available at:

 	http://people.apache.org/~fabien/mod_macro/

I started it one day as was fed up with copy-pasting configuration 
directives from one virtual host to the next and one directory to the 
next. It includes Define/Use of configuration macro, as well as 
Error/Warning macros. The code is fairly stable (14 years:-).

I would like to donate the code so that it could be integrated with apache 
as a standard module. The main reason for that is that what is done is 
some preprocessing that do not really belong to an external module, as the 
right "configuration time" hooks do not exist, so I have to guess. If the 
module was integrated in the configuration handling of apache, there would 
be no need for "guessing", thus it could be cleaner. Moreover, I think 
that such features should have been included with apache from the start.

-- 
Fabien

Re: mod_macro into apache ?

Posted by fa...@apache.org.
> On Sun, 11 Nov 2012, Jim Jagielski wrote:
>> I've been a fan of mod_macro since day 1... in fact, my 1st ApacheCon
>> preso in 2000 mentions it. I still use it. I still recommend it.
>
> - Rainer Jung                +1
> - Stefan Fritsch             +1
> - Nick Gearls                +1
> - Igor Galić                 +1
> - Nick Kew                   +1
> - MATSUMOTO Ryosue           +1

  - Günter Knauf               +1
  - Rich Bowen                 +1

Hopefull, someone will tell me if I have to do something.

-- 
Fabien.

Re: mod_macro into apache ?

Posted by fa...@apache.org.
On Sun, 11 Nov 2012, Jim Jagielski wrote:
> I've been a fan of mod_macro since day 1... in fact, my 1st ApacheCon
> preso in 2000 mentions it. I still use it. I still recommend it.

  - Rainer Jung                +1
  - Stefan Fritsch             +1
  - Nick Gearls                +1
  - Igor Galić                 +1
  - Nick Kew                   +1
  - MATSUMOTO Ryosue           +1

Good. I'm not sure when a conclusion is reached to whether the module is 
"accepted" in core. Someone will tell me, I guess...

On the practical side, I do not think that my commit authorization on 
apache svn server includes httpd. Maybe a committer can get the latest 
version and commit the c and html documentation where it should belong. Or 
I could do it, which would make it clearer if need be that I do donate the 
code as I'm the author, if I'm given the authorization. Also I'm not sure 
about whether it should be included or not in the default build.

-- 
Fabien.

Re: mod_macro into apache ?

Posted by Jim Jagielski <ji...@jaguNET.com>.
I've been a fan of mod_macro since day 1... in fact, my 1st ApacheCon
preso in 2000 mentions it. I still use it. I still recommend it.

It would be SUPER to have this as part of Apache! Thx for the great
and generous offer!

On Nov 11, 2012, at 3:57 AM, Fabien <fa...@apache.org> wrote:

> 
> Hello devs,
> 
> I have developed and maintained a small module called "mod_macro" since 1998. It is currently available at:
> 
> 	http://people.apache.org/~fabien/mod_macro/
> 
> I started it one day as was fed up with copy-pasting configuration directives from one virtual host to the next and one directory to the next. It includes Define/Use of configuration macro, as well as Error/Warning macros. The code is fairly stable (14 years:-).
> 
> I would like to donate the code so that it could be integrated with apache as a standard module. The main reason for that is that what is done is some preprocessing that do not really belong to an external module, as the right "configuration time" hooks do not exist, so I have to guess. If the module was integrated in the configuration handling of apache, there would be no need for "guessing", thus it could be cleaner. Moreover, I think that such features should have been included with apache from the start.
> 
> -- 
> Fabien
> 


Re: mod_macro into apache ?

Posted by Guenter Knauf <fu...@apache.org>.
Am 11.11.2012 09:57, schrieb Fabien:
> I have developed and maintained a small module called "mod_macro" since
> 1998. It is currently available at:
>
> http://people.apache.org/~fabien/mod_macro/
>
> I would like to donate the code so that it could be integrated with
> apache as a standard module.
+1

Gün.



Re: mod_macro into apache ?

Posted by Igor Galić <i....@brainsware.org>.
+1

----- Original Message -----
> On 11-11-2012 18:16, Stefan Fritsch wrote:
> > On Sunday 11 November 2012, Rainer Jung wrote:
> >>> I would like to donate the code so that it could be integrated
> >>> with apache as a standard module.
> >> +1
> > +1
> +1
> 

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


Re: mod_macro into apache ?

Posted by Nick Gearls <ni...@gmail.com>.
On 11-11-2012 18:16, Stefan Fritsch wrote:
> On Sunday 11 November 2012, Rainer Jung wrote:
>>> I would like to donate the code so that it could be integrated
>>> with apache as a standard module.
>> +1
> +1
+1

Re: mod_macro into apache ?

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Sunday 11 November 2012, Rainer Jung wrote:
> > I would like to donate the code so that it could be integrated
> > with apache as a standard module.
> 
> +1

+1

Re: mod_macro into apache ?

Posted by Rainer Jung <ra...@kippdata.de>.
On 11.11.2012 09:57, Fabien wrote:
>
> Hello devs,
>
> I have developed and maintained a small module called "mod_macro" since
> 1998. It is currently available at:
>
>      http://people.apache.org/~fabien/mod_macro/
>
> I started it one day as was fed up with copy-pasting configuration
> directives from one virtual host to the next and one directory to the
> next. It includes Define/Use of configuration macro, as well as
> Error/Warning macros. The code is fairly stable (14 years:-).

I am using it frequently since about 6 years. I think it is a focused 
and valuable module. It helps reducing duplication from elaborated 
configurations and makes them more maintainable.

> I would like to donate the code so that it could be integrated with
> apache as a standard module.

+1

> The main reason for that is that what is
> done is some preprocessing that do not really belong to an external
> module, as the right "configuration time" hooks do not exist, so I have
> to guess. If the module was integrated in the configuration handling of
> apache, there would be no need for "guessing", thus it could be cleaner.
> Moreover, I think that such features should have been included with
> apache from the start.

That might need more discussion.

Regards,

Rainer

Re: mod_macro into apache ?

Posted by Nick Kew <ni...@webthing.com>.
On 11 Nov 2012, at 08:57, Fabien wrote:

> I have developed and maintained a small module called "mod_macro" since 1998. It is currently available at:
> 
> 	http://people.apache.org/~fabien/mod_macro/

That's one of the relatively few external modules I regularly recommend
to users.  I seem to recollect also drawing on it for the book!

> I would like to donate the code so that it could be integrated with apache as a standard module.

+1.  It'll be a great addition!

-- 
Nick Kew

Re: mod_macro into apache ?

Posted by MATSUMOTO Ryosue <ma...@gmail.com>.
+1

2012/11/11 17:57、Fabien <fa...@apache.org> のメッセージ:

> 
> Hello devs,
> 
> I have developed and maintained a small module called "mod_macro" since 1998. It is currently available at:
> 
>    http://people.apache.org/~fabien/mod_macro/
> 
> I started it one day as was fed up with copy-pasting configuration directives from one virtual host to the next and one directory to the next. It includes Define/Use of configuration macro, as well as Error/Warning macros. The code is fairly stable (14 years:-).
> 
> I would like to donate the code so that it could be integrated with apache as a standard module. The main reason for that is that what is done is some preprocessing that do not really belong to an external module, as the right "configuration time" hooks do not exist, so I have to guess. If the module was integrated in the configuration handling of apache, there would be no need for "guessing", thus it could be cleaner. Moreover, I think that such features should have been included with apache from the start.
> 
> -- 
> Fabien

Re: mod_macro into apache ?

Posted by Rich Bowen <rb...@rcbowen.com>.
On Nov 11, 2012, at 3:57 AM, Fabien wrote:

> I have developed and maintained a small module called "mod_macro" since 1998. It is currently available at:
> 
> 	http://people.apache.org/~fabien/mod_macro/
> 
> I started it one day as was fed up with copy-pasting configuration directives from one virtual host to the next and one directory to the next. It includes Define/Use of configuration macro, as well as Error/Warning macros. The code is fairly stable (14 years:-).
> 
> I would like to donate the code so that it could be integrated with apache as a standard module. 


+1

That would make me very happy.  It's one of the modules that I often in my talks encourage people to install immediately and think of as a standard module. It would be awesome if it really was.

-- 
Rich Bowen
rbowen@rcbowen.com
Shosholoza