Installation, concepts, Processing documentation are available on docs.3liz.org
- Michaël Douchin (3Liz) @mdouchin
- Etienne Trimaille (3Liz) @Gustry
GPL V2
Lizmap PostgresSQL synchronization
License: GNU General Public License v2.0
Installation, concepts, Processing documentation are available on docs.3liz.org
GPL V2
I haven't run my tool yet, I just found it randomly.
In lizsync/processing/algorithms/synchronize_media_subfolder_to_ftp.py
:
if not localdir or not os.path.isdir(localdir):
m = tr('QGIS project local directory not found')
return returnError(output, m, feedback)
else:
m = tr('QGIS project local directory ok')
localdir
is not defined, this will raise an error on runtime.
Minor thing, m
is not used.
There is another variable localdir
just a few lines below, but not sure what to do ;-)
@Gustry do you know why the unit tests log is not complete in Github CI ?
See https://github.com/3liz/qgis-lizsync-plugin/runs/2014998784?check_suite_focus=true#step:4:50
Is there any timeout or any configuration preventing from writing more than 50 lines in the CI log ?
On the master branch, the CI is broken. Always green about QGIS tests.
v
prefix for the CI:#branches:
# only:
# - master
# - /^v.*$/
and
- export RELEASE_TITLE=${TAG:1}
getVersionInteger
which doesn't care about the v
. The one in qgis_plugin_tools does.Following the discussion with @mdouchin
test 1:
- description: "Ce test fait truc"
- query:
- database: clone_a
- sql: UPDATE machin
- sleep:
- duration: 0.5
- query:
- database: central
- sql: UPDATE machin
- synchro:
- from: clone_a
Other things to do:
lizsync/test/data
run_test.sh
when it will be incorporated in the real python testAfter setting up the tool, in step "Install LizSync Tools in central base", authentification cannot be done to a remote PostgreSQL database :
fe_sendauth: no password supplied
Connection is active in QGIS session and lizSync.ini file is well informed.
gobs as well?
Some typo I found in the code:
https://github.com/3liz/qgis-lizsync-plugin/search?q=ADDITIONNAL&unscoped_q=ADDITIONNAL
These are part of the public API of the plugin because it's used in the Processing API and these shouldn't be changed. But I think it's ok before official release.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.