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

Branch name and version number #299

Open
rffontenelle opened this issue Nov 18, 2022 · 1 comment
Open

Branch name and version number #299

rffontenelle opened this issue Nov 18, 2022 · 1 comment

Comments

@rffontenelle
Copy link

Problem

I read the README that the master branch is for an old driver version, and that the currently version is provided in realtek-4.4.x — which is the default branch. However include/rtw_version.h states that the current version is now 5.6.4 (then I saw the commit history for the 5.6.4 update)

So we have 4.4.x in branch and in README, but it doesn't match the driver name. This causes packagers for several distros to use 4.4.1 as latest version (see repology).

Is there a particular reason for keeping these two situations as they are?

Solution suggested

Assuming the above answer is now, I'd bring up the discussion to solve them. And I will start suggesting solutions:

Branch, suggestion 1: Rename

Existent git branches can be renamed. This could be bring some headache, but there could be a heads-up notice of X days/weeks/whatever for the users to be aware. This notice could have 1) when will the change be applied and 2) commands necessary to change rename the branch in there.

Renaming a branch in GitHub Docs shows how the maintainer rename a branch in the web interface, and how to update local clones after the branch name changes.

I suggest renaming it to main.

Branch, suggestion 2: Create a new default

If renaming is too much headache for you and the users, an easy way out is to create a new branch based on the current default realtek-4.4.x and make it default. See Changing the default branch in GitHub Docs.

README, suggestion: update information

(I can do a PR, just let me know if you want to have this started)

  • Update branch name instructions to say the default is now main (or whatever name you choose), and that realtek-4.4.1 (if not renamed) and master are old versions.
  • Provide version information: could be simply a new section stating that the driver version can be found in include/rtw_version.h file, and giving example (something like "this is the content", then point to the actual version: "this one is version")
  • In Submitting patches section, it mentions master which is not the default anymore.
@CGarces
Copy link
Collaborator

CGarces commented Nov 18, 2022

Hi, you are right, the naming not was the best decision.

renaming should broke a lot of projects that use this repo, like ArmBian, some Archilinux AUR, etc.

Create a new default named main looks fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants