lastnpe / eclipse-null-eea-augments

Eclipse External null Annotations (EEA) repository
http://lastnpe.org
Eclipse Public License 2.0
41 stars 22 forks source link

Add Maven Wrapper #185

Closed vorburger closed 1 week ago

vorburger commented 3 weeks ago

Fixes #175.

@J-N-K and @sebthom OK for you? Plz Merge if LGTY; thanks!

PS: Ignore the revert commit on this PR (due to this), I just couldn't figure out how to get rid of it, here.

sebthom commented 3 weeks ago

just out of interest how is the process in upgrading the wrapper or the maven version? is there e. g. a command that can upgrade both to the latest minor version? If so we could add a custom ci job to create PRs accordingly, since dependabot does not yet support upgrading maven wrapper https://github.com/dependabot/dependabot-core/issues/485 but there is https://github.com/marketplace/actions/update-gradle-wrapper-action

I haven't used the wrapper myself so far.


sebthom commented 3 weeks ago

I saw the build failed because of a commit signing is missing. does the "signed-of-by" commit message appendix actually have any value? It is not cryptographic anyway. I wouldn't mind to remove it. None of the eclipse projects I am contributing to has it.

J-N-K commented 3 weeks ago

It's a kind of "CLA per commit", see https://wiki.linuxfoundation.org/dco. IIRC eclipse projects require signing a CLA prior to the first contribution.

J-N-K commented 3 weeks ago

@vorburger Currently the diff shows "0 changed files".

sebthom commented 2 weeks ago

I rebased the branch which resolves the issue of the diff showing "0 changed files".

@vorburger Can we merge it without commit sign-off? Btw. the contribution guidelines don't say anything about a requirement for commit signing. Maybe they should be extended and maybe a pull request template should be created that names that requirement.

vorburger commented 1 week ago

I rebased the branch which resolves the issue of the diff showing "0 changed files".

Thank You!

just out of interest how is the process in upgrading the wrapper or the maven version? is there e. g. a command that can upgrade both to the latest minor version? If so we could add a custom ci job to create PRs accordingly, since dependabot does not yet support upgrading maven wrapper https://github.com/dependabot/dependabot-core/issues/485 but there is https://github.com/marketplace/actions/update-gradle-wrapper-action

FYI somehow (to my own surprise!) Dependabot actually seem to proposed version bumps upgrades for the Maven Wrapper... see https://github.com/enola-dev/enola/pull/869/files for an example I've just run into!

does the "signed-of-by" commit message appendix actually have any value? It is not cryptographic anyway. I wouldn't mind to remove it. None of the eclipse projects I am contributing to has it.

Re. ^^^ this is why:

It's a kind of "CLA per commit", see https://wiki.linuxfoundation.org/dco. IIRC eclipse projects require signing a CLA prior to the first contribution.

Maybe they should be extended and maybe a pull request template should be created that names that requirement.

Good idea! Do you want to do that? I do think this could avoid hypothetical problems - if this was ever used by more people.

Can we merge it without commit sign-off?

I'll fix it.