Skip to content

Create empty eessi_api_metadata_software.json if it does not exist#705

Closed
bedroge wants to merge 1 commit intoEESSI:mainfrom
bedroge:another_ci_fix
Closed

Create empty eessi_api_metadata_software.json if it does not exist#705
bedroge wants to merge 1 commit intoEESSI:mainfrom
bedroge:another_ci_fix

Conversation

@bedroge
Copy link
Copy Markdown
Collaborator

@bedroge bedroge commented Mar 17, 2026

Follow-up for #704 , which still failed because eessi_api_metadata_software.json did not exist in the github repo. Fixed by creating a dummy file if it does not exist, such that a change will be detected and a PR will be opened.

json_file=docs/available_software/data/eessi_api_metadata_software.json
json_file_orig=${json_file}.orig
# if the json file does not exist yet, create an empty JSON file
if [[ ! -f "${json_file}" ]]; then
Copy link
Copy Markdown
Member

@ocaisa ocaisa Mar 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, this seems wrong. That file is never meant to exist in this repo, it's the files that are generated after processing that file that are important to check for changes

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yeah, good point... Too focused on trying to fix the old behaviour 😅
I'll close this PR and make a new one.

@bedroge bedroge closed this Mar 17, 2026
@bedroge bedroge deleted the another_ci_fix branch March 17, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants