Skip to content

Expose git add to CLI and remove add_all= True as default from repo.commit()#116

Open
hannahlanzrath wants to merge 26 commits intomainfrom
feat/expose_git_add_to_cli
Open

Expose git add to CLI and remove add_all= True as default from repo.commit()#116
hannahlanzrath wants to merge 26 commits intomainfrom
feat/expose_git_add_to_cli

Conversation

@hannahlanzrath
Copy link
Contributor

This PR seeks to harmonize CADET-RDM further with the Git Interface, by exposing git add via rdm add, giving the possibility to stage single files instead of adding all with the commit. Secondly, the default setting of add_all=True for the Python interface method repo.commit() is changed to False, and the arguments removed from internal function calls respectively. Finanlly, the documentation is updated to make the use of these commands clearer and reflect those changes.

hannahlanzrath and others added 25 commits February 5, 2026 14:54
…rojectRepo classes

Change attribute name in ProjectRepo
…putRepo

Add "directory" naming backwarts compatibility to OutputRepo
Also move version update before the metadata is checked

Co-authored-by: Johannes Schmölder <j.schmoelder@fz-juelich.de>
Co-authored-by: Hannah Lanzrath <h.lanzrath@fz-juelich.de>
We had two CI workflows, one in the main CI working via tokens and one
seperate workflow file, using trusted publishers. Since tokens are not
recommended anymore and this was a duplicate, the CI working with tokens
was removed.
Co-authored-by: Hannah Lanzrath <h.lanzrath@fz-juelich.de>

Fix typos and directy speech

Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
Co-authored-by: Katharina Paul <katharina.paul2403@gmail.com>
This commit exposes the git add function to the CLI via "rdm add" which
allows specifying files to be staged.
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

Comments