Skip to content

[Meta/Maintenance]: Update default branch name so it's not master #3195

@ssddanbrown

Description

@ssddanbrown

Describe the feature you'd like

Think we should update the default branch name to get with the times.
Not had any complaints or seen anyone take offence (For BookStack) but might as well change it since master is not overly descriptive and there may be those that are privately offended or feel awkward using master. Not much hassle on our side to accommodate that.

I've changed the other BookStackApp repos to use main, but thinking we'd be better off with dev / develop / development since that better describes the main purpose of the default BookStack branch and may provide an obvious indicator for people on the wrong branch.

Should be relatively easy to change, thanks to most people using the release branch. Thinking it should only really affect current active developers. From experience, GitHub should redirect existing links to the new default branch which acts as a nice backup for old references.

Areas to update

  • Website references (If any)
  • GitHub action branch references
  • Maintainer scripts (In devops repo)
  • Integrations
    • CrowdIn
    • StyleCI
    • Code Climate

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions