[Qgis-developer] Console API auto-completion prepared file (.pap)

Larry Shaffer larrys at dakotacarto.com
Sat Aug 31 11:37:51 PDT 2013


Hi Salvatore,

On Sat, Aug 31, 2013 at 7:58 AM, Salvatore Larosa <lrssvtml at gmail.com>wrote:

> ok Larry, your last commit works fine only I was wonder might be a problem
> to edit the source tree file pyqgis.pap by running the qsci-pap-src target
> ? just curiosity!
>

I'm not sure I understand your question. Doing periodic updates to the
pyqgis.pap in source keeps from forcing everyone who compiles the source to
also generate that file. There is no simple means for checking when the API
has changed (except maybe SHA comparisons of the API file). Without such a
check, the generation of that file may often be unnecessary, but still done.

Everyone benefits if that file is kept up to date in the source tree. For
example, the one I replaced with the initial commit was 11 months old,
missing many completions for new functions.

Alternatively, we can set it up similar to what you were suggesting. Let me
know what you think would be a better solution.

Regards,

Larry



> Tonight I'll push the updated API files (GDAL/OGR-1.10.0,QScintilla-2.7.2
> and GEOS-3.4.2 ) and will add the GEOS-3.4.2 APIs to the default .pap file.
>
> Thanks for the clarification !
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130831/92a1dfbc/attachment.html>


More information about the Qgis-developer mailing list