Skip to content

Instrument git_submodule_set_url. #1395

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
merged 1 commit into from
Aug 6, 2025

Conversation

nrybowski
Copy link
Contributor

This commit adds a setter for the url property of the Submodule class. The new setter leverages git_submodule_set_url from libgit2.

@jdavid
Copy link
Member

jdavid commented Aug 5, 2025

Looks good. Could you add a unit test?

nrybowski added a commit to nrybowski/INGInious that referenced this pull request Aug 6, 2025
This commit contains multiple changes.

First, the core containers have been bumped to RockyLinux 10 to access
the packaged version of python3.12.

Second, the initial DB setup script has been updated to load an initial
SSH private key for the superadmin. This key is used to authenticate on
the gitolite instance.
The frontend service image has been updated to leverage this extension
of the DB setup script on service startup.

Third, previous commits leverage a patched version of pygit2. While the
patch libgit2/pygit2#1395 is not available
through PyPi, we have to leverage a custom build of pygit2. However, the
packaged libgit2 version on RL10 is too old for current versions of
pygit2, hence we also have to custom build libgit2 and libssh2.
@nrybowski
Copy link
Contributor Author

Sure, added with 8814e4b.

@jdavid
Copy link
Member

jdavid commented Aug 6, 2025

Thanks, the "ruff format" action fails, just a couple of missing blank lines, could you fix that?

This commit adds a setter for the url property of the Submodule class.
The new setter leverages 'git_submodule_set_url' from libgit2.
@nrybowski
Copy link
Contributor Author

nrybowski commented Aug 6, 2025

Fixed with 7cfc651.

@jdavid jdavid merged commit 45b4091 into libgit2:master Aug 6, 2025
8 checks passed
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