kkremitzki wrote: ↑
Sat Jul 20, 2019 6:58 pm
For Debian, we're not allowed to call out to the internet, but for the PPA daily builds, it should be possible to just use curl or wget to get the information we need, and then put it in place with a shell script.
The PPA uses Launchpad so I think no internet either.
We can create the version and push it somewhere with our Travis-CI runs. We need to make sure this pushed version.h is in sync with the actual version of the source used.
A possible work flow for the PPA (maybe it could be used for Debian proper as well)
A merge to FreeCAD master happens
This triggers a Travis build, this build could push version.h to the PPA versioning repo (or somewhere more convenient). This repo can be added to the PPA recipe.
The problem here is that the PPA FreeCAD source repo may not be in sync with this version.h My link above suggests a way to force a source repo update, so if this was done with Travis the version.h and the source would be in sync.