Edgewall Software
Modify

Opened 18 years ago

Closed 15 years ago

#134 closed enhancement (fixed)

Add "prefix" option to ctools configure command

Reported by: anonymous Owned by: dfraser
Priority: minor Milestone:
Component: Recipe commands Version: 0.5.3
Keywords: Cc:
Operating System:

Description

I've been using Bitten to build and maintain a set of co-dependent modules. Since some of the bitten-managed modules depend on other bitten-managed modules, I need to go all the way through and install so I can build subsequent modules. Of course, I don't want to do that in the default area (/usr). Instead, I added an extra parameter to the ctools configure method that provides an optional prefix.

I'm attaching a diff of my changes to this ticket. Any chance you could pull them in to the current development version?

Attachments (1)

ctools.diff (1.2 KB) - added by anonymous 18 years ago.
Diff of additions to ctools.py

Download all attachments as: .zip

Change History (5)

Changed 18 years ago by anonymous

Diff of additions to ctools.py

comment:1 Changed 15 years ago by anonymous

please apply this patch to svn

comment:2 Changed 15 years ago by dfraser

  • Owner changed from cmlenz to dfraser
  • Status changed from new to assigned

I think it's fine to provide the prefix via a parameter, but I'm not sure everyone would want config['os'] automatically appended...

I'm planning to apply this without the ctxt.config['os'] - basically we should have a way to include variables like that in the recipe, so you can supply them to prefix that way.

comment:3 Changed 15 years ago by dfraser

prefix parameter added as described in r600

comment:4 Changed 15 years ago by dfraser

  • Resolution set to fixed
  • Status changed from assigned to closed

You should now be able to accomplish the setting you currently have with setting prefix=/usr/local/${os.family} or whatever other variable you want to interpolate - see Slave Configuration and Property Interpolation in BuildRecipes

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain dfraser.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.