Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename master brach to main #574

Open
5 of 7 tasks
rauldpm opened this issue Feb 4, 2025 · 1 comment · May be fixed by #583
Open
5 of 7 tasks

Rename master brach to main #574

rauldpm opened this issue Feb 4, 2025 · 1 comment · May be fixed by #583
Assignees
Labels
level/task Task issue request/operational Operational requests type/maintenance Maintenance issue

Comments

@rauldpm
Copy link
Member

rauldpm commented Feb 4, 2025

Description

We need to update the reference from master to main to align with modern naming conventions and inclusive practices.

Tasks

Important

Change references to other repositories if needed

  • Create a backup of the master branch.
  • Create a main branch from the master branch.
  • Update references from "master" to "main" in the new branch. Check the repository list provided.
  • Update any external references from "master" to "main."
  • Other specific tasks related to the repository (to be completed by the repository DRI if needed)
  • Once approved, remove the master branch and update GitHub security policies and settings accordingly.
  • Communicate the branch name change to the team.

Resources

List of repositories affected by renaming
  • wazuh
  • wazuh-agent
  • wazuh-agent-packages
  • wazuh-ansible
  • wazuh-automation
  • wazuh-docker
  • wazuh-kubernetes
  • wazuh-puppet
  • wazuh-indexer
  • wazuh-indexer-plugins
  • wazuh-indexer-reporting
  • wazuh-dashboard
    -wazuh-dashboard-plugins
  • wazuh-dashboards-reporting
  • wazuh-security-dashboards-plugin
@rauldpm rauldpm added level/subtask Subtask issue request/operational Operational requests type/maintenance Maintenance issue level/task Task issue and removed level/subtask Subtask issue labels Feb 4, 2025
@wazuhci wazuhci moved this to Triage in XDR+SIEM/Release 4.12.0 Feb 4, 2025
@vikman90 vikman90 self-assigned this Feb 5, 2025
@wazuhci wazuhci moved this from Triage to Backlog in XDR+SIEM/Release 4.12.0 Feb 5, 2025
@vikman90
Copy link
Member

vikman90 commented Feb 7, 2025

Tasks

Create a backup of the master branch

git checkout master
git pull
git checkout -b master-bak
git push --set-upstream origin master-bak

Create a main branch from master branch

  • Branch master renamed to main.
  • PRs have been implicitly updated.
  • Branch protection rules have been implicitly updated.

Image

Update references from "master" to "main"

Update any external references from "master" to "main"

Nothing to do here.

Other specific tasks related to the repository

  • Created branch master from main
    git remote set-branches --add origin
    git fetch --depth 128 origin
    git checkout main
    git branch -D master
    git checkout -b master
    git push --set-upstream origin master

Communicate the branch name change to the team

@wazuh/devel-xdrsiem-agent has been notified internally.

@wazuhci wazuhci moved this from Backlog to In progress in XDR+SIEM/Release 4.12.0 Feb 7, 2025
@vikman90 vikman90 linked a pull request Feb 7, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue request/operational Operational requests type/maintenance Maintenance issue
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

2 participants