Skip to content

[Dev] Merge PR script defaults to the wrong milestone when merging #36634

Closed

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

I saw that lots of PRs were merged with the wrong milestone (13.0.0) now that the maintenance branch has been created it should default to 14.0.0 but it is not as seen:

Would you like to update the associated issue? (y/n): y
Enter fix version [13.0.0]:

It does seem that the 12.0.0 and 12.0.1 maintenance branches are also not shown:

(Pdb) pr.maintenance_branches
['maint-0.11.x', 'maint-0.12.x', 'maint-0.14.x', 'maint-0.15.x', 'maint-0.17.x', 'maint-1.0.x', 'maint-3.0.x', 'maint-4.0.x', 'maint-6.0.x', 'maint-7.0.x', 'maint-7.0.1', 'maint-8.0.x', 'maint-9.0.0', 'maint-10.0.x', 'maint-10.0.0', 'maint-10.0.1', 'maint-11.0.0']
(Pdb) 

It might be due to pagination when requesting branches:

    def get_branches(self):
        return get_json("%s/branches" % (self.github_api),
                        headers=self.headers)

Component(s)

Developer Tools

Activity

  1. self-assigned this
    on Jul 12, 2023
  2. added a commit that references this issue on Jul 12, 2023
  3. raulcd commented on Jul 12, 2023

    @raulcd
    MemberAuthor

    @kou there are some branches which I am unsure should be on the repo, like old RC branches or some feature branches like:
    decimal256
    new-contrib-language
    flight-sql-jdbc
    ibis-remove-string-contains
    dom/aray

    I think all those can be removed, for the old RC ones we have the release and the maintenance branch. Are you ok with me removing those?

    edit: typo

  4. kou commented on Jul 13, 2023

    @kou
    Member

    Yes. Could you remove them?

    decimal256

    This was merged by #8475

    This was merged by #13217 and I removed it now.

    flight-sql-jdbc

    This was merged by #13800.

    ibis-remove-string-contains

    This is garbage.

    dom/aray

    This was merged by #35772 and I removed it now.

  5. raulcd commented on Jul 13, 2023

    @raulcd
    MemberAuthor

    Thanks @kou , I've removed:
    decimal256
    flight-sql-jdbc
    ibis-remove-string-contains
    and all the release candidate branches for old releases.

  6. added a commit that references this issue on Jul 14, 2023
  7. added this to the 14.0.0 milestone on Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions