Code Monkey home page Code Monkey logo

qgis-lizsync-plugin's Introduction

Lizsync

Installation, concepts, Processing documentation are available on docs.3liz.org

Contributors

  • Michaël Douchin (3Liz) @mdouchin
  • Etienne Trimaille (3Liz) @Gustry

Licence

GPL V2

qgis-lizsync-plugin's People

Contributors

3liz-bot avatar dependabot[bot] avatar gustry avatar mdouchin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gustry mdouchin

qgis-lizsync-plugin's Issues

Add multiple postgis DB and tests

Following the discussion with @mdouchin

  • Add in the docker-compose a clone
  • Add test for testing a YML file
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:

  • be able to run a single test, because it might get long quickly
  • clean old files from lizsync/test/data
  • remove run_test.sh when it will be incorporated in the real python test

PostgreSQL database authentification

After 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.

CI is broken

On the master branch, the CI is broken. Always green about QGIS tests.

Variable not defined "localdir"

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 ;-)

Polish the CI when releasing a new version

  • Running migrations on CI
  • Add the check about the v prefix for the CI:
#branches:
#  only:
#    - master
#    - /^v.*$/
and
- export RELEASE_TITLE=${TAG:1}
  • Remove the use of the internal function getVersionInteger which doesn't care about the v. The one in qgis_plugin_tools does.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.