Change default branch (GitLab) to 2.x

Created on 23 October 2023, 8 months ago
Updated 24 October 2023, 8 months ago

Problem/Motivation

Change default branch (GitLab) to 2.x

@greggles could you do that please? I don't have the required permissions.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Anybody
  • πŸ‡ΊπŸ‡ΈUnited States greggles Denver, Colorado, USA

    I'm not sure what needs to be changed or if I have the permission :)

    What screen would it be on? Do you know the URL?

    I poked around on the settings for the project, the edit page, the releases page, and on gitlab and I don't see a spot to make 2.x the default branch.

    On https://www.drupal.org/node/182476/edit/releases β†’ there is a spot where we could mark 2.x as "supported" but it is disabled for me. I'm not sure if we need a point release before we can mark it as supported?

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    @greggles if you have "Administer maintainers", you should be able to switch the branch.

    It's done in GitLab now:
    https://git.drupalcode.org/project/email_registration > Settings (left) > Change branch (or similar)

    I don't have appropriate permissions to see "Settings" on the left in GitLab.

    If you can't, please assign another active maintainer. Thanks :)

  • Status changed to Fixed 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States greggles Denver, Colorado, USA

    FYI it's Settings > General > Branch defaults > Default branch. Done now.

    This makes sense to me because this is the branch where work is happening, but also could you explain any pros/cons for this change?

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Thanks @greggles! Yes the key point is, that it's the default when checking out / creating MR's and because it's the active branch for future development it's risky to have it at the old value. In several projects I saw wrong commits / checkouts caused by an old setting :)

  • Status changed to Active 8 months ago
  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Sorry @greggles, GitLab says 8.x-1.x is still default: https://git.drupalcode.org/project/email_registration/-/branches

  • Status changed to Fixed 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States greggles Denver, Colorado, USA

    Hmm, thanks for the ping. I must not have hit the save button?

    Better now?

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Perfect, thanks!!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024