-
Notifications
You must be signed in to change notification settings - Fork 55
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
Update SCM information #924
Conversation
remove the no longer supported anonymous git access URL do not app child names to SCM entries as this produces incorrect metadata that then fails with the PCT
@@ -29,10 +29,10 @@ | |||
<email>[email protected]</email> | |||
</developer> | |||
</developers> | |||
<scm> | |||
<connection>scm:git:git://github.com/jenkinsci/aws-java-sdk-plugin.git</connection> | |||
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modules now retain exactly this configuration rather than appending ${project.artifactId}
<scm> | ||
<connection>scm:git:git://github.com/jenkinsci/aws-java-sdk-plugin.git</connection> | ||
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> | ||
<connection>scm:git:https://github.com/jenkinsci/aws-java-sdk-plugin.git</connection> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to https to fix
[WARNING] <connection>scm:git:git://github.com/jenkinsci/aws-java-sdk-plugin.git/aws-java-sdk-ec2</connection> is invalid because git:// URLs are deprecated. Replace it with <connection>scm:git:https://github.com/jenkinsci/aws-java-sdk-plugin.git/aws-java-sdk-ec2</connection>. In the future this warning will be changed to an error and will break the build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vlatombe I think this needs a release.
<scm> | ||
<connection>scm:git:git://github.com/jenkinsci/aws-java-sdk-plugin.git</connection> | ||
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> | ||
<connection>scm:git:https://github.com/jenkinsci/aws-java-sdk-plugin.git</connection> | ||
<developerConnection>scm:git:[email protected]:jenkinsci/aws-java-sdk-plugin.git</developerConnection> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine to also use HTTPS here: jenkinsci/archetypes#267
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left this alone, most devs are setup to use SSH access and so this makes manual security releases less painful in the most part (you are probable not going to need that here) - but it makes things at least less controversial for a patch and the maintainers could choose to adopt this if they wanted at their conveinience.
https://github.com/jenkinsci/aws-java-sdk-plugin/actions/runs/4175013240/jobs/7229353134 401 problem needs to be retried. BTW I would recommend using the |
remove the no longer supported anonymous git access URL
do not app child names to SCM entries as this produces incorrect metadata that then fails with the PCT
fixes failure observed when testing jenkinsci/plugin-compat-tester#452