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

Drop the cruft #66

Closed
wants to merge 14 commits into from
Closed

Drop the cruft #66

wants to merge 14 commits into from

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Mar 2, 2024

Continued along the lines of #65

Drop even more cruft
Changes:

  • drop MAT
  • simplify all the hoops and loops
  • stop propagating bad practice (passphrase in files or SCM)
  • introduce another signer: BC signer

@cstamas cstamas self-assigned this Mar 2, 2024
@@ -177,7 +188,10 @@ AbstractGpgSigner newSigner(MavenProject project) throws MojoExecutionException,
signer.setLockMode(lockMode);
signer.setArgs(gpgArguments);

loadGpgPassphrase();
String passphrase = System.getenv(MAVEN_GPG_PASSPHRASE);
Copy link

Choose a reason for hiding this comment

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

Shouldn’t the env variable be configurable with the current value as a default ?

Copy link
Member Author

Choose a reason for hiding this comment

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

It could be, yes, even better

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@hboutemy
Copy link
Member

hboutemy commented Mar 2, 2024

splitting at least the MAT migration vs the gpg passphrase change would ease review and learning

@cstamas
Copy link
Member Author

cstamas commented Mar 2, 2024

splitting at least the MAT migration vs the gpg passphrase change would ease review and learning

Once @olamy or @slawekjaranowski figure out this PR apache/maven-gh-actions-shared#96 (ideally as "v4"), will split this PR into several distinct PRs

@cstamas cstamas changed the title Drop the cruft more Drop the cruft Mar 2, 2024
@cstamas cstamas marked this pull request as draft March 3, 2024 16:11
@cstamas
Copy link
Member Author

cstamas commented Mar 3, 2024

This PR is going to be "chopped" into a series of smaller PRs, along the lines for 3.2.0 version:
https://issues.apache.org/jira/issues/?jql=project%20%3D%20MGPG%20AND%20fixVersion%20%3D%203.2.0

@cstamas cstamas closed this Mar 3, 2024
@cstamas cstamas deleted the drop-the-cruft-more branch March 3, 2024 22:13
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.

3 participants