Skip to content

.gitmodules: Fix make init#6828

Merged
lguohan merged 1 commit intosonic-net:masterfrom
donNewtonAlpha:fix-on-master
Feb 23, 2021
Merged

.gitmodules: Fix make init#6828
lguohan merged 1 commit intosonic-net:masterfrom
donNewtonAlpha:fix-on-master

Conversation

@donNewtonAlpha
Copy link
Contributor

  • fix url for
  • submodule "platform/mellanox/hw-management/hw-mgmt"
  • remove trailing / from url

Signed-off-by: Don Newton [email protected]

Why I did it

During make init submodule`` "platform/mellanox/hw-management/hw-mgmt" fails to clone due to trailing / on the url

How I did it

Removed the trailing /

How to verify it

make init and look for errors

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • [x ] 202012
    ONF is using the 202012 branch as the base for our effort

Description for the changelog

Correct the url line for submodule "platform/mellanox/hw-management/hw-mgmt"

A picture of a cute animal (not mandatory but encouraged)

* fix url for
* submodule "platform/mellanox/hw-management/hw-mgmt"
* remove trailing / from url

Signed-off-by: Don Newton [email protected]
Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. I'm surprised we haven't noticed any issues to date. Must be due to differences in our environments. According to the Git documentation, the path must not end with a trailing slash.

@donNewtonAlpha
Copy link
Contributor Author

Thanks for the fix. I'm surprised we haven't noticed any issues to date. Must be due to differences in our environments. According to the Git documentation, the path must not end with a trailing slash.

It doesn't actually break make init it just fails on that step. I imagine you would never really notice unless you were deploying to a mellanox switch.

@lguohan lguohan merged commit 4ddf3fc into sonic-net:master Feb 23, 2021
yxieca pushed a commit that referenced this pull request Feb 23, 2021
* remove trailing / from url for submodule "platform/mellanox/hw-management/hw-mgmt"

Signed-off-by: Don Newton [email protected]
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
* remove trailing / from url for submodule "platform/mellanox/hw-management/hw-mgmt"

Signed-off-by: Don Newton [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants