Repository navigation
test(engine): preserve files written by past releases #2103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Mavrick-F
merged 1 commit into
opengeos:main
from
Mavrick-F:t3/saved-file-release-fixtures
Nov 15, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,93 @@ | ||
| //! Compatibility with files written by published releases, never by the code under test. | ||
|
|
||
| use crate::{Project, Session}; | ||
| use rustgis_map::{Marker, Projection, Renderer, Rgba}; | ||
| use serde_json::json; | ||
| use std::path::Path; | ||
|
|
||
| #[test] | ||
| fn released_projects_and_preferences_still_open() { | ||
| let fixtures = Path::new(env!("CARGO_MANIFEST_DIR")).join("testdata/releases"); | ||
| for version in ["v0.2.0", "v0.3.0", "v0.4.0", "v0.5.0", "v0.6.0"] { | ||
| let prefs = super::read_at(&fixtures.join(format!("{version}.prefs.json"))).unwrap(); | ||
| assert_eq!(prefs.get("ribbon_minimized"), Some(&json!("true")), "{version}"); | ||
| if matches!(version, "v0.2.0" | "v0.3.0") { | ||
| assert_eq!(prefs.len(), 1, "{version}"); | ||
| } else { | ||
| assert_eq!(prefs.len(), 2, "{version}"); | ||
| let connections = crate::connections::Connections::from_json(prefs["connections"].as_str().unwrap()); | ||
| assert!(connections.connections.is_empty() && connections.unread().is_empty(), "{version}"); | ||
| } | ||
|
|
||
| let mut s = Session::new(Project::default()); | ||
| s.run("project.open", &json!({"path": fixtures.join(format!("{version}.rgis"))})).unwrap(); | ||
| // These inline datasets need no repair. An unexpected loss notice is a regression too. | ||
| assert_eq!( | ||
| s.notices_since(0).iter().map(|n| (n.text.as_str(), n.error)).collect::<Vec<_>>(), | ||
| [(format!("Opened {version}").as_str(), false)], | ||
| "{version}" | ||
| ); | ||
| assert_eq!(s.project.name, version); | ||
| assert_eq!(s.project.maps.len(), 1, "{version}"); | ||
| let map = s.map(); | ||
| assert_eq!(map.name, "Map"); | ||
| assert_eq!(map.projection, Projection::WebMercator); | ||
| let center = map.camera.center_lonlat(); | ||
| assert!((center.x - 2.0).abs() < 1e-10 && (center.y - 3.0).abs() < 1e-10, "{version}"); | ||
| assert!((map.camera.scale() - 250_000.0).abs() < 1e-6, "{version}"); | ||
| // These releases changed where a newly added layer goes; preserve each saved order. | ||
| let order = if matches!(version, "v0.5.0" | "v0.6.0") { [(2, "Routes"), (1, "Places")] } else { [(1, "Places"), (2, "Routes")] }; | ||
| assert_eq!(map.layers.iter().map(|l| (l.id, l.name.as_str())).collect::<Vec<_>>(), order, "{version}"); | ||
|
|
||
| let places = map.layer(1).unwrap(); | ||
| assert!(places.visible); | ||
| assert_eq!(places.dataset.name, "Places"); | ||
| assert_eq!( | ||
| places.dataset.fields.iter().map(|f| (f.name.as_str(), f.ty)).collect::<Vec<_>>(), | ||
| [("name", rustgis_data::FieldType::Text), ("pop", rustgis_data::FieldType::Integer)], | ||
| "{version}" | ||
| ); | ||
| assert_eq!(places.definition_query.as_deref(), Some("pop >= 20")); | ||
| assert_eq!(places.visible_rows(), [false, true]); | ||
| assert_eq!( | ||
| serde_json::to_value(&places.dataset.features).unwrap(), | ||
| json!([ | ||
| {"id": 1, "geometry": {"Point": {"x": 1.0, "y": 2.0}}, "attrs": [{"Text": "Alpha"}, {"Int": 10}]}, | ||
| {"id": 2, "geometry": {"Point": {"x": 3.0, "y": 4.0}}, "attrs": [{"Text": "Béta"}, {"Int": 20}]} | ||
| ]), | ||
| "{version}" | ||
| ); | ||
| let Renderer::Unique { field, classes, other, ramp, .. } = &places.renderer else { panic!("{version}: unique renderer lost") }; | ||
| assert_eq!(field, "name"); | ||
| assert_eq!( | ||
| classes.iter().map(|(name, symbol)| (name.as_str(), symbol.fill)).collect::<Vec<_>>(), | ||
| [("Alpha", Rgba::rgb(59, 125, 216)), ("Béta", Rgba::rgb(232, 122, 65)),], | ||
| "{version}" | ||
| ); | ||
| assert_eq!(other.fill, Rgba::rgb(176, 176, 176)); | ||
| for symbol in classes.iter().map(|(_, symbol)| symbol).chain(std::iter::once(other)) { | ||
| assert_eq!(symbol.stroke, Rgba::rgb(255, 255, 255)); | ||
| assert_eq!((symbol.stroke_width, symbol.size, symbol.marker), (1.0, 7.0, Marker::Circle)); | ||
| } | ||
| assert_eq!(ramp.name(), "Harbour"); | ||
| assert!(places.labels.enabled && places.labels.default.bold && places.labels.default.halo); | ||
| assert_eq!(places.labels.default.field, "name"); | ||
| assert_eq!(places.labels.default.size, 14.0); | ||
| assert_eq!(places.labels.default.color, Rgba::rgb(18, 52, 86)); | ||
|
|
||
| let routes = map.layer(2).unwrap(); | ||
| assert!(routes.visible && !routes.labels.enabled); | ||
| assert_eq!(routes.transparency, 25.0); | ||
| assert_eq!( | ||
| serde_json::to_value(&routes.dataset.features).unwrap(), | ||
| json!([{"id": 1, "geometry": {"Line": [[{"x": 1.0, "y": 2.0}, {"x": 3.0, "y": 4.0}]]}, "attrs": [{"Text": "Route"}]}]), | ||
| "{version}" | ||
| ); | ||
| let Renderer::Single(symbol) = &routes.renderer else { panic!("{version}: single renderer lost") }; | ||
| assert_eq!(symbol.fill, Rgba::rgb(51, 102, 153)); | ||
| assert_eq!(symbol.stroke, Rgba::rgb(17, 34, 51)); | ||
| assert_eq!((symbol.stroke_width, symbol.size, symbol.marker), (2.5, 0.0, Marker::Circle)); | ||
| assert_eq!(routes.dataset.fields[0].name, "name"); | ||
| assert_eq!(routes.dataset.fields[0].ty, rustgis_data::FieldType::Text); | ||
| } | ||
| } | ||
This file contains hidden or 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,3 @@ | ||
| # Preserve released writers' bytes across platforms, including their line endings. | ||
| v*.rgis -text | ||
| v*.prefs.json -text |
This file contains hidden or 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,37 @@ | ||
| # Files written by RustGIS releases | ||
|
|
||
| These are the original bytes written by the published Linux x86-64 binaries on | ||
| 2026-11-14, downloaded with `gh release download` from | ||
| [opengeos/RustGIS](https://github.com/opengeos/RustGIS/releases). | ||
| Never regenerate, reformat or resave them. Add a project and preferences file for | ||
| each new release, and extend `released_projects_and_preferences_still_open`. | ||
| All five releases below support both file types; none was skipped. | ||
|
|
||
| | Writer | Release archive | Archive SHA-256 | | ||
| |---|---|---| | ||
| | v0.2.0 | `RustGIS-0.2.0-linux-x86_64.tar.gz` | `1cd13d8c5d84777537d211314adc745ccf9341707b546555e24a294f990b384a` | | ||
| | v0.3.0 | `RustGIS-0.3.0-linux-x86_64.tar.gz` | `98c7c2a3c2e646fb0affb6c812db6735f83b316d35c4ef89fd3bb658cebb08f2` | | ||
| | v0.4.0 | `RustGIS-0.4.0-linux-x86_64.tar.gz` | `6ccd39f1c35ff824e2ce9d875922394a00ab2468057ad183080205d17f1e07a1` | | ||
| | v0.5.0 | `RustGIS-0.5.0-linux-x86_64.tar.gz` | `a14e6bed30059ab8fb1c026c71bdb46891b2b4195e0d0ea39cc1f903b64fa9bf` | | ||
| | v0.6.0 | `RustGIS-0.6.0-linux-x86_64.tar.gz` | `633bea1712c3369ce43aa0d5ffcebe9928ff2dd1068280e9a6a8c31a2c94a972` | | ||
|
|
||
| Each `v*.rgis` was saved by that release's `rustgis-cli run --no-plugins` | ||
| with commands followed by `--save v<version>.rgis`. Starting with `project.new`, | ||
| `layer.addDataText` added two made-up GeoJSON datasets, with no external data: | ||
|
|
||
| - Places: points (1, 2), (3, 4), with `name` = Alpha, Béta and `pop` = 10, 20. | ||
| `layer.symbology` set unique values on `name`; `labels.enable`, `labels.field` | ||
| and `labels.style` set bold, haloed labels on `name`, size 14, color `#123456`. | ||
| `layer.definitionQuery` set `pop >= 20`. | ||
| - Routes: one line from (1, 2) to (3, 4), with `name` = Route. | ||
| `layer.color` set `#336699`, `layer.outline` set `#112233`, width 2.5, | ||
| and `layer.transparency` set 25 percent. | ||
| - `map.camera` set longitude 2, latitude 3, scale 250000. | ||
|
|
||
| The same commands saved Places before Routes in v0.2.0–v0.4.0, and Routes before | ||
| Places in v0.5.0–v0.6.0, which inserted new layers first. The test pins both orders. | ||
|
|
||
| Each `v*.prefs.json` was written by that release's desktop binary, started with | ||
| `--sample` and an empty, isolated `XDG_CONFIG_HOME`. Ctrl+F1 collapsed the ribbon; | ||
| the resulting `rustgis/prefs.json` was copied unchanged. Releases from v0.4.0 also | ||
| write an empty connections collection on startup. No personal settings were used. |
This file contains hidden or 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 @@ | ||
| {"ribbon_minimized":"true"} |
This file contains hidden or 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 @@ | ||
| {"format":1,"name":"v0.2.0","maps":[{"name":"Map","layers":[{"id":1,"name":"Places","visible":true,"dataset":{"name":"Places","geometry_type":"Point","fields":[{"name":"name","ty":"Text","alias":null},{"name":"pop","ty":"Integer","alias":null}],"features":[{"id":1,"geometry":{"Point":{"x":1.0,"y":2.0}},"attrs":[{"Text":"Alpha"},{"Int":10}]},{"id":2,"geometry":{"Point":{"x":3.0,"y":4.0}},"attrs":[{"Text":"Béta"},{"Int":20}]}],"source":"Places.geojson"},"renderer":{"Unique":{"field":"name","classes":[["Alpha",{"fill":[59,125,216,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"}],["Béta",{"fill":[232,122,65,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"}]],"other":{"fill":[176,176,176,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"},"ramp":"Harbour"}},"labels":{"enabled":true,"field":"name","size":14.0,"color":[18,52,86,255],"halo":true,"bold":true,"min_scale":null,"max_scale":null,"closest":null,"farthest":null,"placement":"Auto"},"transparency":0.0,"min_scale":null,"max_scale":null,"definition_query":"pop >= 20","selection":[],"expanded":true,"selectable":true,"graphics":false,"blend":"Normal","mask":null,"display_filters":[],"aggregation":null,"extrusion":null,"priority":0,"geometry_rev":0},{"id":2,"name":"Routes","visible":true,"dataset":{"name":"Routes","geometry_type":"Polyline","fields":[{"name":"name","ty":"Text","alias":null}],"features":[{"id":1,"geometry":{"Line":[[{"x":1.0,"y":2.0},{"x":3.0,"y":4.0}]]},"attrs":[{"Text":"Route"}]}],"source":"Routes.geojson"},"renderer":{"Single":{"fill":[51,102,153,255],"stroke":[17,34,51,255],"stroke_width":2.5,"size":0.0,"marker":"Circle"}},"labels":{"enabled":false,"field":"name","size":10.0,"color":[43,43,43,255],"halo":true,"bold":false,"min_scale":null,"max_scale":null,"closest":null,"farthest":null,"placement":"Auto"},"transparency":25.0,"min_scale":null,"max_scale":null,"definition_query":null,"selection":[],"expanded":true,"selectable":true,"graphics":false,"blend":"Normal","mask":null,"display_filters":[],"aggregation":null,"extrusion":null,"priority":0,"geometry_rev":0}],"basemap":"Paper","camera":{"center":{"x":222638.98158654713,"y":334111.1714019597},"res":70.09606421985447},"bookmarks":[],"graticule":true,"projection":"WebMercator","popup_mode":"Topmost","label_display":{"paused":false,"locked":false,"show_unplaced":false},"editing":{"relationships":[],"snapping":{"enabled":false,"tolerance_px":10.0,"vertex":true,"edge":true,"end":true},"topology":[],"settings":{"enabled":true,"show_vertices":true,"elevation":"None","ground_to_grid":null}},"swipe":null,"view":{"effects":{"sun_time":null,"weather":"None","vignette":false,"edges":false,"tilt_shift":false,"grain":false,"brightness":0.0,"contrast":0.0,"saturation":0.0,"sepia":0.0},"wireframe":false,"clip_distance":null},"animation":[],"next_layer_id":3}],"active_map":0,"tables":[],"gp_history":[],"layouts":[],"folders":[],"styles":[],"tasks":[],"gp_env":{"extent":null,"cell_size":null},"models":[],"workspaces":[],"link_views":false,"jobs":[],"offline_areas":[],"reports":[],"presentations":[],"notebooks":[],"dl_models":[],"shared":[],"data_stores":[]} |
This file contains hidden or 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 @@ | ||
| {"ribbon_minimized":"true"} |
This file contains hidden or 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 @@ | ||
| {"format":1,"name":"v0.3.0","maps":[{"name":"Map","layers":[{"id":1,"name":"Places","visible":true,"dataset":{"name":"Places","geometry_type":"Point","fields":[{"name":"name","ty":"Text","alias":null},{"name":"pop","ty":"Integer","alias":null}],"features":[{"id":1,"geometry":{"Point":{"x":1.0,"y":2.0}},"attrs":[{"Text":"Alpha"},{"Int":10}]},{"id":2,"geometry":{"Point":{"x":3.0,"y":4.0}},"attrs":[{"Text":"Béta"},{"Int":20}]}],"source":"Places.geojson"},"renderer":{"Unique":{"field":"name","classes":[["Alpha",{"fill":[59,125,216,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"}],["Béta",{"fill":[232,122,65,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"}]],"other":{"fill":[176,176,176,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"},"ramp":"Harbour"}},"labels":{"enabled":true,"field":"name","size":14.0,"color":[18,52,86,255],"halo":true,"bold":true,"min_scale":null,"max_scale":null,"closest":null,"farthest":null,"placement":"Auto"},"transparency":0.0,"min_scale":null,"max_scale":null,"definition_query":"pop >= 20","selection":[],"expanded":true,"selectable":true,"graphics":false,"blend":"Normal","mask":null,"display_filters":[],"aggregation":null,"extrusion":null,"priority":0,"geometry_rev":0},{"id":2,"name":"Routes","visible":true,"dataset":{"name":"Routes","geometry_type":"Polyline","fields":[{"name":"name","ty":"Text","alias":null}],"features":[{"id":1,"geometry":{"Line":[[{"x":1.0,"y":2.0},{"x":3.0,"y":4.0}]]},"attrs":[{"Text":"Route"}]}],"source":"Routes.geojson"},"renderer":{"Single":{"fill":[51,102,153,255],"stroke":[17,34,51,255],"stroke_width":2.5,"size":0.0,"marker":"Circle"}},"labels":{"enabled":false,"field":"name","size":10.0,"color":[43,43,43,255],"halo":true,"bold":false,"min_scale":null,"max_scale":null,"closest":null,"farthest":null,"placement":"Auto"},"transparency":25.0,"min_scale":null,"max_scale":null,"definition_query":null,"selection":[],"expanded":true,"selectable":true,"graphics":false,"blend":"Normal","mask":null,"display_filters":[],"aggregation":null,"extrusion":null,"priority":0,"geometry_rev":0}],"basemap":"Paper","camera":{"center":{"x":222638.98158654713,"y":334111.1714019597},"res":70.09606421985447},"bookmarks":[],"graticule":true,"projection":"WebMercator","popup_mode":"Topmost","label_display":{"paused":false,"locked":false,"show_unplaced":false},"editing":{"relationships":[],"snapping":{"enabled":false,"tolerance_px":10.0,"vertex":true,"edge":true,"end":true},"topology":[],"settings":{"enabled":true,"show_vertices":true,"elevation":"None","ground_to_grid":null}},"swipe":null,"view":{"effects":{"stars":true,"sun_time":null,"weather":"None","vignette":false,"edges":false,"tilt_shift":false,"grain":false,"brightness":0.0,"contrast":0.0,"saturation":0.0,"sepia":0.0},"wireframe":false,"clip_distance":null},"animation":[],"next_layer_id":3}],"active_map":0,"tables":[],"next_table_id":1,"gp_history":[],"layouts":[],"folders":[],"styles":[],"ramps":[],"tasks":[],"gp_env":{"extent":null,"cell_size":null},"models":[],"workspaces":[],"link_views":false,"jobs":[],"offline_areas":[],"reports":[],"presentations":[],"notebooks":[],"dl_models":[],"shared":[],"data_stores":[]} |
This file contains hidden or 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 @@ | ||
| {"connections":"{\"connections\":[],\"next\":0,\"version\":1}","ribbon_minimized":"true"} |
This file contains hidden or 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 @@ | ||
| {"format":1,"name":"v0.4.0","maps":[{"name":"Map","layers":[{"id":1,"name":"Places","visible":true,"dataset":{"name":"Places","geometry_type":"Point","fields":[{"name":"name","ty":"Text","alias":null},{"name":"pop","ty":"Integer","alias":null}],"features":[{"id":1,"geometry":{"Point":{"x":1.0,"y":2.0}},"attrs":[{"Text":"Alpha"},{"Int":10}]},{"id":2,"geometry":{"Point":{"x":3.0,"y":4.0}},"attrs":[{"Text":"Béta"},{"Int":20}]}],"source":"Places.geojson"},"renderer":{"Unique":{"field":"name","classes":[["Alpha",{"fill":[59,125,216,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"}],["Béta",{"fill":[232,122,65,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"}]],"other":{"fill":[176,176,176,255],"stroke":[255,255,255,255],"stroke_width":1.0,"size":7.0,"marker":"Circle"},"ramp":"Harbour"}},"labels":{"enabled":true,"field":"name","size":14.0,"color":[18,52,86,255],"halo":true,"bold":true,"min_scale":null,"max_scale":null,"closest":null,"farthest":null,"placement":"Auto"},"transparency":0.0,"min_scale":null,"max_scale":null,"definition_query":"pop >= 20","selection":[],"expanded":true,"selectable":true,"graphics":false,"blend":"Normal","mask":null,"display_filters":[],"aggregation":null,"extrusion":null,"priority":0,"geometry_rev":0},{"id":2,"name":"Routes","visible":true,"dataset":{"name":"Routes","geometry_type":"Polyline","fields":[{"name":"name","ty":"Text","alias":null}],"features":[{"id":1,"geometry":{"Line":[[{"x":1.0,"y":2.0},{"x":3.0,"y":4.0}]]},"attrs":[{"Text":"Route"}]}],"source":"Routes.geojson"},"renderer":{"Single":{"fill":[51,102,153,255],"stroke":[17,34,51,255],"stroke_width":2.5,"size":0.0,"marker":"Circle"}},"labels":{"enabled":false,"field":"name","size":10.0,"color":[43,43,43,255],"halo":true,"bold":false,"min_scale":null,"max_scale":null,"closest":null,"farthest":null,"placement":"Auto"},"transparency":25.0,"min_scale":null,"max_scale":null,"definition_query":null,"selection":[],"expanded":true,"selectable":true,"graphics":false,"blend":"Normal","mask":null,"display_filters":[],"aggregation":null,"extrusion":null,"priority":0,"geometry_rev":0}],"basemap":"Paper","camera":{"center":{"x":222638.98158654713,"y":334111.1714019597},"res":70.09606421985447,"bearing":0.0,"pitch":0.0},"bookmarks":[],"graticule":true,"projection":"WebMercator","popup_mode":"Topmost","label_display":{"paused":false,"locked":false,"show_unplaced":false},"editing":{"relationships":[],"snapping":{"enabled":false,"tolerance_px":10.0,"vertex":true,"edge":true,"end":true},"topology":[],"settings":{"enabled":true,"show_vertices":true,"elevation":"None","ground_to_grid":null}},"swipe":null,"view":{"effects":{"stars":true,"sun_time":null,"weather":"None","vignette":false,"edges":false,"tilt_shift":false,"grain":false,"brightness":0.0,"contrast":0.0,"saturation":0.0,"sepia":0.0},"wireframe":false,"clip_distance":null,"terrain":null},"animation":[],"next_layer_id":3}],"active_map":0,"tables":[],"next_table_id":1,"gp_history":[],"layouts":[],"folders":[],"styles":[],"ramps":[],"tasks":[],"gp_env":{"extent":null,"cell_size":null},"models":[],"workspaces":[],"link_views":false,"jobs":[],"offline_areas":[],"reports":[],"presentations":[],"notebooks":[],"dl_models":[],"shared":[],"data_stores":[]} |
This file contains hidden or 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 @@ | ||
| {"connections":"{\"connections\":[],\"next\":0,\"version\":1}","ribbon_minimized":"true"} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quality (test coverage), medium confidence. The version list is hard-coded, so a release whose
v*.rgis/v*.prefs.jsonfiles are added totestdata/releaseswithout extending this list passes silently. Only deletions fail (viaunwrap). The docs make adding files a manual step, so the test should check the directory itself. Suggested change: list the fixtures on disk and require the list to match, so a new file fails until the test is extended.Not a blocker. The same list should also be checked against the README table, but that is a nit for the release quality pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point. The list stays explicit for now; checking it against the files on disk is left for the release quality pass.