diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml
index 0373c9e927..2d7a411fc7 100644
--- a/.github/workflows/ResInsightWithCache.yml
+++ b/.github/workflows/ResInsightWithCache.yml
@@ -30,9 +30,9 @@ jobs:
os: windows-2022,
cc: "cl",
cxx: "cl",
- build-python-module: true,
+ build-python-module: false,
execute-unit-tests: true,
- execute-pytests: true,
+ execute-pytests: false,
unity-build: true,
publish-to-pypi: false,
vcpkg-bootstrap: bootstrap-vcpkg.bat,
@@ -96,10 +96,61 @@ jobs:
python -m pip install --upgrade pip
pip install -r GrpcInterface/Python/build-requirements.txt
+ - name: Find CMake path and remove from PATH (Linux)
+ if: contains( matrix.config.os, 'ubuntu')
+ run: |
+ sudo rm -rf /usr/local/bin/cmake*
+ sudo rm -rf /usr/local/share/cmake*
+ sudo rm -rf /usr/local/doc/cmake*
+ sudo rm -rf /usr/local/man/man1/cmake*
+
+ # Try to call CMake (should fail or use a different version if removal was successful)
+ cmake --version || echo "CMake was successfully removed from PATH"
+
+ - name: Find CMake path and remove from PATH (Windows)
+ shell: powershell
+ if: contains( matrix.config.os, 'windows')
+ run: |
+ # Find the current CMake path
+ $cmakePath = (Get-Command cmake -ErrorAction SilentlyContinue).Path
+ Write-Host "Current CMake path: $cmakePath"
+
+ if ($cmakePath) {
+ # Get the directory containing CMake
+ $cmakeDir = Split-Path -Parent $cmakePath
+ Write-Host "CMake directory: $cmakeDir"
+
+ # Save the current PATH
+ $currentPath = $env:PATH
+
+ # Create a new PATH by removing the CMake directory
+ # PowerShell uses semicolons as path separators
+ $newPath = ($currentPath -split ';' | Where-Object { $_ -ne $cmakeDir }) -join ';'
+
+ # Set the new PATH for this job
+ echo "PATH=$newPath" | Out-File -FilePath $env:GITHUB_ENV -Append
+
+ # Update the current session PATH for verification purposes
+ $env:PATH = $newPath
+
+ # Verify the change
+ Write-Host "Updated PATH: $newPath"
+
+ # Try to call CMake (should fail or use a different version if removal was successful)
+ try {
+ cmake --version
+ Write-Host "CMake is still in PATH (possibly from another location)"
+ } catch {
+ Write-Host "CMake was successfully removed from PATH"
+ }
+ } else {
+ Write-Host "CMake not found in PATH"
+ }
+
- name: Use CMake
uses: lukka/get-cmake@latest
with:
- cmakeVersion: "~3.28.0"
+ cmakeVersion: "~3.26.0"
- name: Use MSVC (Windows)
uses: ilammy/msvc-dev-cmd@v1
@@ -274,8 +325,7 @@ jobs:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
# If this is a tagged release
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
-
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.base_ref == 'refs/heads/main'
steps:
- name: Download python distribution folder
uses: actions/download-artifact@v4
diff --git a/.github/workflows/cmake-format.yml b/.github/workflows/cmake-format.yml
index 32202bb333..beae6c3ec1 100644
--- a/.github/workflows/cmake-format.yml
+++ b/.github/workflows/cmake-format.yml
@@ -4,7 +4,7 @@ on: [push]
jobs:
cmake-format-job:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
steps:
- name: Install cmakelang for cmake-format
run: |
@@ -30,6 +30,9 @@ jobs:
cd Fwk/AppFwk
find -name CMake*.txt | xargs ~/.local/bin/cmake-format -c ${{ github.workspace }}/cmake/cmake-format.py -i
cd ..
+ cd ..
+
+ ~/.local/bin/cmake-format -c ${{ github.workspace }}/cmake/cmake-format.py -i ThirdParty/custom-opm-common/CMakeLists.txt
git diff
- uses: peter-evans/create-pull-request@v7
diff --git a/.github/workflows/python-linting.yml b/.github/workflows/python-linting.yml
index 7666ffe855..41c801626c 100644
--- a/.github/workflows/python-linting.yml
+++ b/.github/workflows/python-linting.yml
@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
lint:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml
index 047fcb961e..dfb7344092 100644
--- a/.github/workflows/spell-check.yml
+++ b/.github/workflows/spell-check.yml
@@ -5,7 +5,7 @@ on:
jobs:
build:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: sobolevn/misspell-fixer-action@master
diff --git a/.gitmodules b/.gitmodules
index 90447290d1..10a49192b7 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -3,7 +3,7 @@
url = https://github.com/CeetronSolutions/qwt.git
[submodule "ThirdParty/vcpkg"]
path = ThirdParty/vcpkg
- url = https://github.com/microsoft/vcpkg
+ url = https://github.com/CeetronSolutions/vcpkg
[submodule "ThirdParty/custom-opm-common/opm-common"]
path = ThirdParty/custom-opm-common/opm-common
url = https://github.com/CeetronSolutions/opm-common
diff --git a/ApplicationExeCode/CMakeLists.txt b/ApplicationExeCode/CMakeLists.txt
index 25d331b507..b8c8672eaf 100644
--- a/ApplicationExeCode/CMakeLists.txt
+++ b/ApplicationExeCode/CMakeLists.txt
@@ -70,43 +70,6 @@ if(RESINSIGHT_ENABLE_GRPC)
list(APPEND CODE_SOURCE_FILES RiaGrpcConsoleApplication.cpp
RiaGrpcGuiApplication.cpp
)
-
- list(APPEND QT_MOC_HEADERS RiaGrpcConsoleApplication.h
- RiaGrpcGuiApplication.h
- )
-
- # Find Protobuf installation Looks for protobuf-config.cmake file installed by
- # Protobuf's cmake installation.
- set(protobuf_MODULE_COMPATIBLE ON)
- find_package(Protobuf CONFIG 3.0 QUIET)
-
- if(Protobuf_FOUND)
- # Find gRPC installation Looks for gRPCConfig.cmake file installed by gRPC's
- # cmake installation.
- find_package(gRPC CONFIG REQUIRED)
- set(_PROTOBUF_LIBPROTOBUF protobuf::libprotobuf)
- set(_GRPC_GRPCPP_UNSECURE gRPC::grpc++_unsecure gRPC::grpc_unsecure
- gRPC::gpr
- )
- set(GRPC_LINK_LIBRARIES ${_GRPC_GRPCPP_UNSECURE} ${_PROTOBUF_LIBPROTOBUF})
- else()
- set(RESINSIGHT_GRPC_INSTALL_PREFIX
- ""
- CACHE PATH "gRPC : Install prefix for gRPC"
- )
- set(ENV{PKG_CONFIG_PATH} "${RESINSIGHT_GRPC_INSTALL_PREFIX}/lib/pkgconfig")
- find_package(PkgConfig REQUIRED)
- pkg_check_modules(
- GRPC
- REQUIRED
- grpc
- grpc++_unsecure>=1.20
- grpc_unsecure
- gpr
- protobuf
- libcares
- )
- endif()
endif()
list(APPEND CPP_SOURCES ${CODE_SOURCE_FILES})
@@ -340,7 +303,6 @@ if(RESINSIGHT_ENABLE_GRPC)
add_custom_target(
RipsGeneratedPythonClasses ALL SOURCES ${GENERATED_CLASSES_FILE}
)
- source_group("Source Files" ${GENERATED_CLASSES_FILE})
add_dependencies(RipsGeneratedPythonClasses ResInsight)
# Copy the Python folder to build folder. This will ease debugging of Python
diff --git a/ApplicationExeCode/Resources/ResInsight.qrc b/ApplicationExeCode/Resources/ResInsight.qrc
index 4a6a82ebc0..27f80da905 100644
--- a/ApplicationExeCode/Resources/ResInsight.qrc
+++ b/ApplicationExeCode/Resources/ResInsight.qrc
@@ -286,6 +286,7 @@
decline-curve.svg
regression-curve.svg
padlock.svg
+ padlock-unlocked.svg
warning.svg
cloud-and-server.svg
Cloud.svg
@@ -297,6 +298,8 @@
pinned-remove.svg
Select.svg
NavigationProperty.svg
+ user-defined-view.svg
+ gear.svg
fs_CellFace.glsl
@@ -320,5 +323,6 @@
components/images/unknown.svg
components/images/well.svg
components/images/well-completion.svg
+ components/images/well-completion-01.svg
diff --git a/ApplicationExeCode/Resources/components/images/well-completion-01.svg b/ApplicationExeCode/Resources/components/images/well-completion-01.svg
new file mode 100644
index 0000000000..f9b0477529
--- /dev/null
+++ b/ApplicationExeCode/Resources/components/images/well-completion-01.svg
@@ -0,0 +1,10 @@
+
+
diff --git a/ApplicationExeCode/Resources/components/images/well-completion.svg b/ApplicationExeCode/Resources/components/images/well-completion.svg
index 9b9cf12cab..d8d9621f85 100644
--- a/ApplicationExeCode/Resources/components/images/well-completion.svg
+++ b/ApplicationExeCode/Resources/components/images/well-completion.svg
@@ -11,7 +11,7 @@
-
+
+
\ No newline at end of file
diff --git a/ApplicationExeCode/Resources/padlock-unlocked.svg b/ApplicationExeCode/Resources/padlock-unlocked.svg
new file mode 100644
index 0000000000..5d48572627
--- /dev/null
+++ b/ApplicationExeCode/Resources/padlock-unlocked.svg
@@ -0,0 +1,10 @@
+
+
+
\ No newline at end of file
diff --git a/ApplicationExeCode/Resources/padlock.svg b/ApplicationExeCode/Resources/padlock.svg
index 5009f6cebf..2fe5d5b683 100644
--- a/ApplicationExeCode/Resources/padlock.svg
+++ b/ApplicationExeCode/Resources/padlock.svg
@@ -1,11 +1,10 @@
-
-
-