-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Continuous integration
committed
Jun 26, 2024
1 parent
26c332e
commit bf703a5
Showing
45 changed files
with
486 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Manually apply the ngeo application changes as shown in the `ngeo.diff` file. | ||
You should apply the changes shown in the diff file on `CONST_create_template/<file>` on your project's `<file>`. | ||
Some advice to be more efficient: if the changes on a file concern a file that you never customize, you can simply copy the new file from `CONST_create_template` (`cp CONST_create_template/<file> <file>`).You can furthermore add this file to the `unmanaged_files` section of the `project.yaml` file, to avoid its contents appearing in the diff file for the next upgrade. | ||
Note that you can also apply them using: git apply --3way ngeo.diff | ||
To continue, type: | ||
./upgrade 2.9 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,35 @@ | ||
# https://pre-commit.com/hooks.html | ||
|
||
ci: | ||
autoupdate_schedule: quarterly | ||
skip: | ||
- ripsecrets | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
args: | ||
- --markdown-linebreak-ext=.md | ||
- id: mixed-line-ending | ||
args: | ||
- --fix=lf | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v2.7.1 | ||
rev: v3.1.0 | ||
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- [email protected] | ||
- repo: https://github.com/sbrunner/jsonschema-validator | ||
rev: 0.1.0 | ||
- repo: https://github.com/PyCQA/autoflake | ||
rev: v2.3.1 | ||
hooks: | ||
- id: jsonschema-validator | ||
files: ^ci/config\.yaml$ | ||
ci: | ||
skip: | ||
- jsonschema-validator | ||
- id: autoflake | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/psf/black | ||
rev: 24.4.2 | ||
hooks: | ||
- id: black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
# The list (by include, exclude) of default files that will not be overwritten by the upgrade. | ||
# That that can be extended with managed_files or reduced with unmanaged_files from the | ||
# project.yaml file in the project root directory. | ||
default_project_file: | ||
include: | ||
- geoportal/setup\.py | ||
- geoportal/vars\.yaml | ||
- geoportal/Makefile | ||
- geoportal/geomapfish_geoportal/__init__\.py | ||
- geoportal/geomapfish_geoportal/templates/.* | ||
- geoportal/geomapfish_geoportal/locale/.* | ||
- geoportal/geomapfish_geoportal/static/.* | ||
- geoportal/geomapfish_geoportal/static-ngeo/.* | ||
- print/print-apps/.* | ||
- mapserver/.* | ||
- tilegeneration/config\.yaml\.tmpl | ||
- project\.yaml | ||
- docker-compose\.yaml | ||
- env\.project | ||
- README\.rst | ||
- \.github/workflows/main\.yaml | ||
- \.github/workflows/rebuild\.yaml | ||
exclude: | ||
- mapserver/demo\.map\.tmpl | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/image/favicon\.ico | ||
|
||
# Files ignored when creating the diff files => will just be left untouched. | ||
no_diff: | ||
- .*\.po | ||
- CONST_.+ | ||
- .*/CONST_.+ | ||
|
||
# Files that will be present in the CONST_create_template but will not be considered in the upgrade. | ||
# Used to provide the alt applications => does not disturb the user during upgrade. | ||
extra: | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/mobile_alt\.html\.ejs | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/oeedit\.html\.ejs | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/Controllermobile_alt\.js | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/Controlleroeedit\.js | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/sass/mobile_alt\.scss | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/sass/vars_mobile_alt\.scss | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/sass/oeedit\.scss | ||
- geoportal/geomapfish_geoportal/static-ngeo/js/apps/sass/vars_oeedit\.scss | ||
- geoportal/interfaces/desktop_alt\.html\.mako | ||
- geoportal/geomapfish_geoportal/static/images/background-layer-button\.png | ||
- tests/test_testapp.py | ||
|
||
# Automated file system operations: | ||
# Remove some files or directories: | ||
# - action: remove | ||
# paths: | ||
# - <one file or directory> | ||
# Move a file: | ||
# - action: move | ||
# from: <src file> | ||
# to: <dst file> | ||
upgrade_files: | ||
- action: remove | ||
paths: | ||
- geoportal/tools/extract-messages.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# https://pre-commit.com/hooks.html | ||
|
||
ci: | ||
autoupdate_schedule: quarterly | ||
skip: | ||
- ripsecrets | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
args: | ||
- --markdown-linebreak-ext=.md | ||
- id: mixed-line-ending | ||
args: | ||
- --fix=lf | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v3.1.0 | ||
hooks: | ||
- id: prettier | ||
- repo: https://github.com/PyCQA/autoflake | ||
rev: v2.3.1 | ||
hooks: | ||
- id: autoflake | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/psf/black | ||
rev: 24.4.2 | ||
hooks: | ||
- id: black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.