On Fri, Dec 09, 2011 at 02:25:24PM -0800, Bradley Giesbrecht wrote:
> Dan, I am not that familiar with svn. Are you suggesting something like the
> following?
>
> base/getversion.sh:
> # Path to me.
> DIRNAME=$(dirname $0)
> SVN_REVISION=$(svnversion -n $DIRNAME)
Yes, exactly.
Dan
--
Dan R. K
On 2011-12-10 11:30 , Bradley Giesbrecht wrote:
> On Dec 9, 2011, at 4:18 PM, Joshua Root wrote:
>
>> The idea is fine, but you should extend MACPORTS_VERSION_MACRO rather
>> than calling a separate shell script.
>
>
> The MACPORTS_VERSION_MACRO in configure.ac?
>
> I did that first but then th
On Dec 9, 2011, at 4:18 PM, Joshua Root wrote:
> On 2011-12-10 07:42 , Bradley Giesbrecht wrote:
>> I use port from trunk and I update trunk regularly. I do not know a how to
>> find what revision of trunk my port command was built from.
>>
>> Is there any interest in adding the svn revision to
On 2011-12-10 07:42 , Bradley Giesbrecht wrote:
> I use port from trunk and I update trunk regularly. I do not know a how to
> find what revision of trunk my port command was built from.
>
> Is there any interest in adding the svn revision to the MACPORTS_VERSION when
> port is built from trunk?
On Dec 9, 2011, at 1:56 PM, Dan Ports wrote:
> On Fri, Dec 09, 2011 at 12:42:53PM -0800, Bradley Giesbrecht wrote:
>> Is there any interest in adding the svn revision to the MACPORTS_VERSION
>> when port is built from trunk?
>>
>> I wrote a shell script "getversion.sh" and call it from configur
On Fri, Dec 09, 2011 at 12:42:53PM -0800, Bradley Giesbrecht wrote:
> Is there any interest in adding the svn revision to the MACPORTS_VERSION when
> port is built from trunk?
>
> I wrote a shell script "getversion.sh" and call it from configure to add
> "-$REVISION" when MACPORTS_VERSION revis
I use port from trunk and I update trunk regularly. I do not know a how to find
what revision of trunk my port command was built from.
Is there any interest in adding the svn revision to the MACPORTS_VERSION when
port is built from trunk?
I wrote a shell script "getversion.sh" and call it from