3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
259 stars 143 forks source link

[Bug]: The command "./lizmap-ctl install" updates files which are stored in the git repository #3150

Closed Gustry closed 2 years ago

Gustry commented 2 years ago

What is the bug?

When running the docker stack in the repository, the command "./lizmap-ctl install" updates files which are stored in the git repository.

This is not convenient when we want to commit later.

etienne@latitude ~/dev/lizmap/lizmap-docker-master/tests (master) $ ./lizmap-ctl install
Create the schema lizmap into the database lizmap
  schema created
Installation is starting
All modules dependencies are ok
Installation starts
Module jelix installed
Module jcommunity installed
Module jacl2 installed
Module jacl2db installed
Module jacl2db_admin installed
Module master_admin installed
Module jauthdb_admin installed
Module admin installed
Module lizmap installed
Module dynamicLayers installed
Module view installed
Module action installed
Module filter installed
Module dataviz installed
Module proj4php installed
All modules are installed or upgraded
Installation is finished

etienne@latitude ~/dev/lizmap/lizmap-docker-master/tests (master) $ git st
On branch master
Your branch is up to date with 'github/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ../lizmap/www/assets/jelix/jquery/flash/jquery.flash.js
        modified:   ../lizmap/www/assets/jelix/jquery/jquery-ui-timepicker-addon.css
        modified:   ../lizmap/www/assets/jelix/jquery/jquery-ui-timepicker-addon.js
        modified:   ../lizmap/www/assets/jelix/js/jacl2db_admin.js
        modified:   ../lizmap/www/assets/jelix/markitup/README.md
        modified:   ../lizmap/www/assets/jelix/markitup/sets/default/style.css
        modified:   ../lizmap/www/assets/jelix/markitup/sets/wr3/en_EN.js
        modified:   ../lizmap/www/assets/jelix/markitup/sets/wr3/en_US.js
        modified:   ../lizmap/www/assets/jelix/markitup/templates/preview.css
        modified:   ../lizmap/www/assets/jelix/markitup/templates/preview.html

Modified files are mostly CRLF end of lines (so no content different) Except the file jacl2db_admin.js which has one line of code different.

Steps to reproduce the issue

Above

Versions

Lizmap master branch

Check Lizmap plugin

QGIS server version, only if the section above doesn't mention the QGIS Server version

No response

Operating system

Ubuntu

Browsers

Firefox

Browsers version

Latest

Relevant log output

No response

Gustry commented 2 years ago

Closing, I think it has been fixed so far.