Skip to content

go.mod: github.com/cilium/ebpf v0.4.0#2875

Merged
cyphar merged 1 commit intoopencontainers:masterfrom
thaJeztah:bump_ebpf
Apr 3, 2021
Merged

go.mod: github.com/cilium/ebpf v0.4.0#2875
cyphar merged 1 commit intoopencontainers:masterfrom
thaJeztah:bump_ebpf

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@kolyshkin
Copy link
Copy Markdown
Contributor

Seems they've renamed readme.md to README.md

make: *** [Makefile:134: verify-dependencies] Error 1
 HEAD detached at pull/2875/merge
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    vendor/github.com/cilium/ebpf/readme.md

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	vendor/github.com/cilium/ebpf/README.md

@thaJeztah
Copy link
Copy Markdown
Member Author

Argh; will probably have to redo this from my case-sensitive partition.

I saw they mentioned breaking changes; doesn't look to be in the parts we use, but thought it would be good to at least test in some repositories if we can update

@thaJeztah
Copy link
Copy Markdown
Member Author

ok, looks like git config core.ignorecase false does the trick as well (as macOS is case-preserving, so with that enabled it also picks up the change in case only 🎉 ) 👍

@thaJeztah thaJeztah marked this pull request as ready for review March 27, 2021 17:18
@thaJeztah
Copy link
Copy Markdown
Member Author

Of course; that fixed it locally for me, but not in CI; added a commit that adds a .gitconfig to this repository, and hope that that's picked up by CI

AkihiroSuda
AkihiroSuda previously approved these changes Mar 28, 2021
.gitconfig Outdated
@@ -0,0 +1,2 @@
[core]
ignorecase = false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmm... wonder why this needs to be set to false explicitly, if this is the default; git-config(1) says:

The default is false, except git-clone(1) or git-init(1) will probe and set core.ignoreCase true if appropriate when the repository is created.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Could the "where appropriate" be the issue when it detects a case-insensitive platform?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I could try reverting the commit to see if it was just coincidence that it passed after I added it? idk

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this helps devs using Mac OS X I'm fine with the change as it is.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No it didn't change my local configuration, and I'm even in doubt now if GitHub actually uses the file, or that it was sheer luck that pushing again solved the Windows linter; I rebased, and removed the commit to confirm that suspicion

@kolyshkin
Copy link
Copy Markdown
Contributor

Needs a rebase @thaJeztah

full diff: cilium/ebpf@v0.2.0...v0.4.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Copy link
Copy Markdown
Member

@cyphar cyphar left a comment

Choose a reason for hiding this comment

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

LGTM.

@cyphar cyphar closed this in b85373f Apr 3, 2021
@cyphar cyphar merged commit b85373f into opencontainers:master Apr 3, 2021
@thaJeztah thaJeztah deleted the bump_ebpf branch April 3, 2021 07:52
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

Successfully merging this pull request may close these issues.

4 participants