Skip to content
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

[MINOR] Add support for the remainder of .gitmodules attributes #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aureleon
Copy link

  • Adds all remaining .gitmodules "submodule" attributes to objects.Submodule: update, branch, ignore, shallow, fetchRecurseSubmodules (keyed as recurse)

  • Modifies read_gitmodules._read_gitmodules_file_content to use configparser instead of regex to simplify matching optional keys

  • Modifies any tests requiring direct Submodule instantiation, and adds a few extra arguments to test the extension

- Adds all remaining .gitmodules "submodule" attributes to objects.Submodule:
  update, branch, ignore, shallow, fetchRecurseSubmodules (keyed as recurse)

- Modifies read_gitmodules._read_gitmodules_file_content to use
  configparser instead of regex to simplify matching optional keys

- Modifies any tests requiring direct Submodule instantiation,
  and adds a few extra arguments to test the extension
@aureleon
Copy link
Author

aureleon commented Jun 10, 2024

Came across this repository while perusing for a package to extend python-gitlab to include submodules. Needed access to other attributes like "submodule.[name].branch" and "submodule.[name].ignore", so I thought this would be a useful extension here.

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.

1 participant