[scribus-dev] Is there a way to show the compiled build revision # for a dev build

Gregory Pittman gpittman at iglou.com
Mon Jun 2 14:54:02 UTC 2014


On 06/02/2014 10:12 AM, a.l.e wrote:
> hi
> 
>>     p.s.: the line you wrote above, supposes that the sorcery knows
>>     where the repository is and that you can run the svn client from
>>     the command line... not impossible, you can probably set them at
>>     cmake time... but i haven't heard any project doing that :-)
>>
>> a.l.e
>> OK...super ugly hack in the meantime:
>>
>> echo `svn info svn://scribus.net//trunk/Scribus
>> <http://scribus.net//trunk/Scribus> | grep 'Last Changed Rev' | awk '{
>> print $4; }'` > revision.txt
>>
>>
> 
> well, afaict this gives you the latest revision on the scribus server...
> not the one you are compiling...
> 
> and what happens if you don't have internet access when compiling?
> 
> i think that as a first step you should really find another project
> already doing this and analyzing their way of doing...
> i failed at it... but it does not mean that there is no way to do it!
> 

It seems to me that a sensible place to put the revision number might be
in the Updates tab of About Scribus.

Greg




More information about the scribus-dev mailing list