Skip to content

Merge Stuart's changes into main, + some polishing#86

Merged
fmeynadier merged 18 commits into
mainfrom
merge_SC
May 7, 2026
Merged

Merge Stuart's changes into main, + some polishing#86
fmeynadier merged 18 commits into
mainfrom
merge_SC

Conversation

@fmeynadier

Copy link
Copy Markdown
Contributor

@stuchalk @gregordudle @mgrub @laurenth974 @Crparedes

As announced last meeting, I created this branch from main, then merged SC_cleanup_repo in it. So it should include all updates we did on the main branch meanwhile.

Stuart, I did not manage to make your "config.py" file correctly for a regular packaging system, so I re-used your idea to use pathlib, but merged it directly into settings.py. If this misses some of the functionalities you intended, tell me and I'll try to compensate !

One major externally-visible change is that I switched the command from "generate_turtle_files" to "generate_sirp_files" (as it generates both TTL and JSONLD anyway). Apart from that I removed the API which now lives in the sirp-tools repo, update Readme, moved the (lone) resbod/utils.py file in aboxes, and made a few fixes that allow gitpython to find its way even when called outside of the repo.

If this suits everyone, I suggest we merge this into main and use it as our baseline from now on. Thanks Stuart for all the clean up !

stuchalk and others added 9 commits March 25, 2026 16:33
Config.py at the root of the project could not be conveniently used within
the package. Transfered some of its content to setting.py

Also removed the default TTL and JSON-LD directories, which are supposed
to be set on the command line. (defaults to ./TTL and ./JSON-LD)
…inue clean up

entry point is now "generate_sirp_files" in order to reflect the fact
that both TTL and JSONLD files are generated. CLI options allow to
redirect the output to specific directories.

API now leaves in a separate repo

Documentation has been updated to reflect past changes

Clean up continues : the lone "resbod/utils.py" file has be moved to
aboxes/rb_utils.py" so subdir resbod is removed.

In order to be able to run from outside the directory, calls to gitlib
Repo() now point to PKG_ROOT (as introduced in setting.py)
@fmeynadier

Copy link
Copy Markdown
Contributor Author

Hmm I see the failed tests. I'll fix that

@Crparedes Crparedes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is great, thank you very much @fmeynadier and @stuchalk !

I tested the branch regenerating the files and rebuilding the web services in the test environment. Everything works fine.

Made minor suggestions in parts of the documentation and in one line of the final logging message.

Comment thread docs/scripts/list_quantities.py Outdated
Comment thread docs/sirp.md Outdated
Comment thread docs/sirp.md Outdated
Comment thread docs/sirp.md Outdated
Comment thread docs/sirp.md Outdated
Comment thread Readme.md Outdated
Comment thread src/si_ref_point/main.py
Comment thread Readme.md
Comment thread src/si_ref_point/main.py Outdated
Crparedes and others added 8 commits May 7, 2026 11:58
Co-authored-by: Cristhian Paredes <cristhian.paredes@bipm.org>
Co-authored-by: Cristhian Paredes <cristhian.paredes@bipm.org>
Co-authored-by: Cristhian Paredes <cristhian.paredes@bipm.org>
Co-authored-by: Cristhian Paredes <cristhian.paredes@bipm.org>
Co-authored-by: Cristhian Paredes <cristhian.paredes@bipm.org>
Co-authored-by: Cristhian Paredes <cristhian.paredes@bipm.org>
@fmeynadier fmeynadier merged commit 8ab11c1 into main May 7, 2026
1 check passed
@fmeynadier fmeynadier deleted the merge_SC branch May 7, 2026 13:30
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.

3 participants