-
-
Notifications
You must be signed in to change notification settings - Fork 164
Move reference results metadata into each archive #882
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
Open
PranjalManhgaye
wants to merge
4
commits into
precice:develop
Choose a base branch
from
PranjalManhgaye:issue-811-embed-reference-metadata
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
8d3823f
Embed metadata in each reference results archive
PranjalManhgaye 8740f97
Update 811.md
PranjalManhgaye 5d37cd9
Merge branch 'develop' into issue-811-embed-reference-metadata
MakisH 3130da7
Rename embedded metadata and ignore it in fieldcompare
PranjalManhgaye 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Store each `reference-results-metadata.txt` inside the case directory of its reference results archive instead of sharing one metadata file between all archives of a tutorial. The SHA256 checksum of the outer archive is no longer included, because the metadata now lives inside that archive [#882](https://github.com/precice/tutorials/pull/882). |
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,33 @@ | ||
| <!--- | ||
| This File has been generated by the generate_reference_results.py and should not be modified manually | ||
| --> | ||
|
|
||
| # Reference Results | ||
|
|
||
| This file describes the reference results in `{{ archive_name }}` and includes | ||
| the arguments and machine used to generate them. | ||
|
|
||
| ## Archive | ||
|
|
||
| | name | generated at | | ||
| |------|--------------| | ||
| | {{ archive_name }} | {{ time }} | | ||
|
|
||
| ## Arguments used to generate the results | ||
|
|
||
| | name | value | | ||
| |------|------| | ||
| {% for name,value in arguments.items() -%} | ||
| | {{ name }} | {{ value }} | | ||
| {% endfor -%} | ||
|
|
||
|
|
||
| ## Information about the machine | ||
|
|
||
| ### uname -a | ||
|
|
||
| {{ uname }} | ||
|
|
||
| ### lscpu | ||
|
|
||
| {{ lscpu }} |
This file was deleted.
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.
Something looks wrong: In this run, I see the updated template in the
tools/directory, but I cannot find the updatedreference-results.metadatain it.While we are on it, let's rename the file to
reference-results-metadata.txt, to make it easier to open it with editors.Uh oh!
There was an error while loading. Please reload this page.
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.
Thanks for testing the generation run. I checked the regenerated archive from that run: the updated metadata is already inside the case folder of the
.tar.gz(new format, dated 2026-07-18).The shared
reference-results/reference_results.metadataoutside the archive is a leftover from before this PR and was not refreshed because we stopped writing it.Also renamed the embedded file to
reference-results-metadata.txt(and the template accordingly), as suggested.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.
In the archive
quickstart_fluid-openfoam-solid-cpp_2026-07-18-092817/reference-results/fluid-openfoam_solid-cpp.tar.gz, I do not see any metadata file. Should I look elsewhere?fluid-openfoam_solid-cpp.tar.gz