[csw-maintainers] raw "build" api for our subversion tree now up for discussion
Dagobert Michelsen
dam at opencsw.org
Tue Nov 17 17:59:03 CET 2009
Hi Maciej,
Am 17.11.2009 um 16:15 schrieb Maciej (Matchek) Blizinski:
> On Fri, Oct 23, 2009 at 4:48 PM, Philip Brown <phil at bolthole.com>
> wrote:
>> On Fri, Oct 23, 2009 at 8:27 AM, Maciej (Matchek) Blizinski
>> <maciej at opencsw.org> wrote:
>>>
>>> There's no default; you're supposed to create your own ~/.garrc, and
>>> the sample file contains:
>>>
>>> ${HOME}/staging/build-$(date '+%d.%b.%Y')
>>> [...]
>>> I prefer ISO standards for dates[(it builds better)]
>>
>> definately :-)
>>
>> Hmmm. the non-deterministic nature of that, would make it slightly
>> difficult to have any kind of automated,
>> "Go autobuild 10 packages and add them"
>> script at a customer site.
>>
>> How many people are using something else there, and if so, what?
>
> I think it there is a need to provide an API for specifying the pkg
> destination directory. I can think of a couple of ways:
>
> - an environment variable (PKG_DEST_DIR?)
> - an entry in a configuration file (where would the file be? in what
> format?)
> - an argument to the build script (./build --pkg-dest-dir=/home/joe/
> staging?)
>
> Alternatively, the destination directory might be the one in which the
> build script is. But then it might be hard to separate the newly
> built packages from any other files that might be in the same
> directory.
>
> Which people think is best?
I would prefer the environment variable as it is both easy to use and
to add to the build tree.
Best regards
-- Dago
More information about the maintainers
mailing list