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

Mailing List Archive: Bricolage: devel

Re: [8109] Various changes with the goal of makeing `make dev` a hell of a

 

 

Bricolage devel RSS feed   Index | Next | Previous | View Threaded


david at kineticode

Apr 21, 2008, 9:11 PM

Post #1 of 1 (57 views)
Permalink
Re: [8109] Various changes with the goal of makeing `make dev` a hell of a

On Apr 21, 2008, at 18:00, theory[at]bricolage.cc wrote:

> * Made `make dev` imply `QUIET=1`.
> * Modified the setting of values in the installer to check the
> environment
> for values before getting them from a config file. The relevant
> environment
> variables all start with "BRICOLAGE_". You can figure out which
> ones to use
> by looking at calls to `get_default` in `inst/*.pl` or by watching
> the
> output during `make dev`. For example, to make a dev environment
> using
> apache2 and mysql, do this:
>
> BRICOLAGE_HTTPD_VERSION=apache2 BRICOLAGE_DB_TYPE=mysql make dev
>
> During the build process, you'd see the relevant environment
> variables on
> lines like this:
>
> BRICOLAGE_DB_TYPE => mysql
> BRICOLAGE_HTTPD_VERSION => apache2
>
> BRICOLAGE_APACHE_USER => nobody
> BRICOLAGE_APACHE_GROUP => nobody
> BRICOLAGE_APACHE_PORT => 80
> BRICOLAGE_APACHE_SSL_PORT => 443
>
> ...etc. This makes it easy to see what you'd need to change to
> change your
> development installation recipe.

So FYI guys, with this stuff, I added these new aliases to my profile:

alias pbuild="sudo env BRICOLAGE_HTTPD_VERSION=apache2
BRICOLAGE_DB_TYPE=Pg make dev"
alias pbuild1="sudo env BRICOLAGE_HTTPD_VERSION=apache
BRICOLAGE_DB_TYPE=Pg make dev"
alias mbuild="sudo env BRICOLAGE_HTTPD_VERSION=apache2
BRICOLAGE_DB_TYPE=mysql make dev"
alias mbuild1="sudo env BRICOLAGE_HTTPD_VERSION=apache1
BRICOLAGE_DB_TYPE=mysql make dev"

Works great, no prompts, and is very fast. If no one has any
objection, I'll probably get rid of the old bin/bric_pgimport script.
I'm pretty sure I'm the only person who ever used it, and with
`pbuild1` above, I no longer need it.

Best,

David

Bricolage devel 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.