GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add missing info in Submodule.remove docstring by EliahKagan · Pull Request #1714 · gitpython-developers/GitPython

Conversation

@EliahKagan

@EliahKagan EliahKagan commented Oct 18, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Fixes #1712

This rewords and adds some missing information to the docstring of Submodule.remove, for the method parameter, discussed in #1712. It uses the second suggestion presented in that issue, formatted in the style of the surrounding docstring (an 88-column wrap).

It also does some other rewording in that docstring, for clarity, at the end of that same section (on the method parameter), and a small punctuation fix in the section about the force parameter.

A note on coordination

Please note that, while this is not a behavioral change, I believe an ordinary patch release rather than a "post" release should be made if this is included. In particular, although I discussed doing a "post" release in #1715, a release that includes both this change and the changes from #1715 should be a normal 3.1.39 release. (In contrast, if this modified only files such as README.md or documentation in doc/, then a post release would make sense.)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@EliahKagan
Add missing info in Submodule.remove docstring
427c177
This rewords and adds some missing information to the docstring of
Submodule.remove, for the "method" parameter, discussed in gitpython-developers#1712.
It uses the second suggestion presented in that issue, formatted
in the style of the surrounding docstring (an 88-column wrap).

It also does some other rewording in that docstring, for clarity,
at the end of that same section (on the "method" parameter), and a
small punctuation fix in the section about the "force" parameter.
This was referenced Oct 18, 2023
Submodule.remove module parameter doc is unclear or incomplete #1712
Closed
Have init script clone submodules unconditionally #1715
Merged
@Byron

Byron commented Oct 18, 2023

Copy link
Copy Markdown
Member

Thanks so much for your help, it's much appreciated!

I will happily not make the next release a "post" release as suggested (after looking it up), merely because I have never done it before and am afraid that this breaks anything or anyone downstream 😅.

EliahKagan reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Byron
Byron merged commit a5b2fa5 into gitpython-developers:main Oct 18, 2023
@EliahKagan

EliahKagan commented Oct 18, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

That makes sense, and as I've just written about in #1716, I think there's another change that might make sense to include in 3.1.39 [edit: or 3.1.40], if the timing works out.

Otherwise, it, or some alternative to it, could come in with 3.1.40 [edit: or 3.1.41] later.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@EliahKagan
EliahKagan deleted the docstring-submodule-remove branch October 18, 2023 15:41
@EliahKagan EliahKagan mentioned this pull request Oct 30, 2023
Revise comments, docstrings, some messages, and a bit of code #1725
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Submodule.remove module parameter doc is unclear or incomplete

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@EliahKagan @Byron
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.