Skip to content

@openedx-community-bot should merge with original commit message(s) #134

Open

Description

@kdmccormick

@openedx-community-bot merge was used to merge this PR. The bot use the "Squash & Merge" strategy, dropped Maria's original commit message, and replaced it with the PR description (which included noise from the PR template): openedx/openedx-platform@a11ad35

I think it would be better to do either a "Rebase & Merge" or a "Merge with Merge Commit", which would preserve the author's original commit messages and avoid copying in noise from the PR description. We currently lint commit messages, so it would make sense to use them.

Activity

  1. e0d commented on Jul 11, 2022

    @e0d
    Member

    You mean strange as potentially outdated or something else? Based on the description I was expecting a bug in the bot or a compromise.

  2. kdmccormick commented on Jul 11, 2022

    @kdmccormick
    MemberAuthor

    Sorry, I should have been more specific. What I find strange is that it does a squash+merge, throws out the existing commit message(s), and uses the PR description as the commit message instead. This leads to a very awkwardly long commit message, often including noise from the PR template (like the one linked).

    Since we are already linting individual commit messages, I think we should instead just do a rebase+merge or a standard merge, which would preserve the author's original commit messages.

  3. e0d commented on Jul 11, 2022

    @e0d
    Member

    Ah, I clicked on the second link and was lost. Thanks.

  4. changed the title [-]`@openedx-community-bot merge` generates long, strange commit messages[/-] [+]`@openedx-community-bot` should use original commit message(s), not PR description[/+] on Jul 11, 2022
  5. changed the title [-]`@openedx-community-bot` should use original commit message(s), not PR description[/-] [+]`@openedx-community-bot` should merge with original commit message(s)[/+] on Jul 11, 2022
  6. kdmccormick commented on Jul 11, 2022

    @kdmccormick
    MemberAuthor

    Np. I rewrote the issue title and description to be more self-evident.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions