Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread Wayne Stambaugh
On 9/3/2014 5:37 PM, yann jautard wrote: > > Le 03/09/2014 22:48, Wayne Stambaugh a écrit : >> On 9/3/2014 3:04 PM, yann jautard wrote: >>> Le 03/09/2014 20:08, Wayne Stambaugh a écrit : On 9/3/2014 8:08 AM, yann jautard wrote: > Le 03/09/2014 12:32, yann jautard a écrit : >> Le 02/09

Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread yann jautard
Le 03/09/2014 22:48, Wayne Stambaugh a écrit : On 9/3/2014 3:04 PM, yann jautard wrote: Le 03/09/2014 20:08, Wayne Stambaugh a écrit : On 9/3/2014 8:08 AM, yann jautard wrote: Le 03/09/2014 12:32, yann jautard a écrit : Le 02/09/2014 18:24, Wayne Stambaugh a écrit : I have this on my list o

Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread yann jautard
Le 03/09/2014 22:27, Brian Sidebotham a écrit : On 3 September 2014 20:04, yann jautard wrote: Le 03/09/2014 20:08, Wayne Stambaugh a écrit : On 9/3/2014 8:08 AM, yann jautard wrote: Le 03/09/2014 12:32, yann jautard a écrit : Le 02/09/2014 18:24, Wayne Stambaugh a écrit : I have this on

Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread Wayne Stambaugh
On 9/3/2014 3:04 PM, yann jautard wrote: > > Le 03/09/2014 20:08, Wayne Stambaugh a écrit : >> On 9/3/2014 8:08 AM, yann jautard wrote: >>> Le 03/09/2014 12:32, yann jautard a écrit : Le 02/09/2014 18:24, Wayne Stambaugh a écrit : > I have this on my list of things to look at. It should

Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread Brian Sidebotham
On 3 September 2014 20:04, yann jautard wrote: > > Le 03/09/2014 20:08, Wayne Stambaugh a écrit : > >> On 9/3/2014 8:08 AM, yann jautard wrote: >>> >>> Le 03/09/2014 12:32, yann jautard a écrit : Le 02/09/2014 18:24, Wayne Stambaugh a écrit : > > I have this on my list of things

Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread yann jautard
Le 03/09/2014 20:08, Wayne Stambaugh a écrit : On 9/3/2014 8:08 AM, yann jautard wrote: Le 03/09/2014 12:32, yann jautard a écrit : Le 02/09/2014 18:24, Wayne Stambaugh a écrit : I have this on my list of things to look at. It should be possible to get CMake to generate make files that compa

Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread Wayne Stambaugh
On 9/3/2014 8:08 AM, yann jautard wrote: > > Le 03/09/2014 12:32, yann jautard a écrit : >> >> Le 02/09/2014 18:24, Wayne Stambaugh a écrit : >>> I have this on my list of things to look at. It should be possible to >>> get CMake to generate make files that compare the source repo version >>> aga

Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread yann jautard
Le 03/09/2014 12:32, yann jautard a écrit : Le 02/09/2014 18:24, Wayne Stambaugh a écrit : I have this on my list of things to look at. It should be possible to get CMake to generate make files that compare the source repo version against the version.h file and recreate it as required every t

Re: [Kicad-developers] version info does not get updated

2014-09-03 Thread yann jautard
Le 02/09/2014 18:24, Wayne Stambaugh a écrit : I have this on my list of things to look at. It should be possible to get CMake to generate make files that compare the source repo version against the version.h file and recreate it as required every time make is run. Currently, the only time ver

Re: [Kicad-developers] version info does not get updated

2014-09-02 Thread Wayne Stambaugh
On 8/31/2014 6:09 PM, Brian Sidebotham wrote: > On 31 August 2014 22:52, Andrew Zonenberg wrote: >> What I did in my previous build systems is to regenerate the file in a >> temporary directory then check if the files had the same hash. If they >> didn't I'd update the file. >> >> This way, if you

Re: [Kicad-developers] version info does not get updated

2014-08-31 Thread Brian Sidebotham
On 31 August 2014 22:52, Andrew Zonenberg wrote: > What I did in my previous build systems is to regenerate the file in a > temporary directory then check if the files had the same hash. If they > didn't I'd update the file. > > This way, if you don't change the file's contents it doesn't get touc

Re: [Kicad-developers] version info does not get updated

2014-08-31 Thread Andrew Zonenberg
What I did in my previous build systems is to regenerate the file in a temporary directory then check if the files had the same hash. If they didn't I'd update the file. This way, if you don't change the file's contents it doesn't get touched and nothign else gets rebuilt. On Sun, 2014-08-31 at 2

Re: [Kicad-developers] version info does not get updated

2014-08-31 Thread Brian Sidebotham
On 31 August 2014 22:27, Andrew Zonenberg wrote: > Why does CMake not recompute this particular value during the > pre-compile configuration step? It runs checks for changed stuff every > time you "make" anyway and only caches certain things. Is it really that > hard to not cache this particular v

Re: [Kicad-developers] version info does not get updated

2014-08-31 Thread Andrew Zonenberg
Why does CMake not recompute this particular value during the pre-compile configuration step? It runs checks for changed stuff every time you "make" anyway and only caches certain things. Is it really that hard to not cache this particular value? On Sun, 2014-08-31 at 22:24 +0100, Brian Sidebotham

Re: [Kicad-developers] version info does not get updated

2014-08-31 Thread Brian Sidebotham
The version is essentially created during the CMake configure step - when CMake generates its cache of variables. You need to re-create this cache to update the value: make rebuild_cache That should update to the same as bzr revno. Best Regards, Brian. On 31 August 2014 21:47, Andrew Zonen

Re: [Kicad-developers] version info does not get updated

2014-08-31 Thread Andrew Zonenberg
I've observed the same issue with my builds. The only workaround I've found to date is to delete the build directory and do a full rebuild. On Sun, 2014-08-31 at 20:56 +0200, Nick Østergaard wrote: > Hi Yann > > Does 'bzr revno --tree' result in the same? > > 2014-08-31 20:21 GMT+02:00 yann jaut

Re: [Kicad-developers] version info does not get updated

2014-08-31 Thread Nick Østergaard
Hi Yann Does 'bzr revno --tree' result in the same? 2014-08-31 20:21 GMT+02:00 yann jautard : > REVISION is set to TESTING, I use the script daily, it's the first time I > notice something like that. > > the result of bzr log in my kicad source tree starts by : > > ---

Re: [Kicad-developers] version info does not get updated

2014-08-31 Thread Nick Østergaard
That just looks like it did not update. What is the REVISION variable set to in the sript? It should be $TESTING, where that is last:1. 2014-08-31 18:12 GMT+02:00 yann jautard : > Hi all, > > I don't know if this is important, but I just updated my kicad install this > afternoon, and I noticed th

[Kicad-developers] version info does not get updated

2014-08-31 Thread yann jautard
Hi all, I don't know if this is important, but I just updated my kicad install this afternoon, and I noticed the kicad version information is not up to date : yann@yann-netbook:~/kicad_sources$ ./kicad-install.sh --install-or-update (...) step 3) checking out the source code from launchpad r