-
Notifications
You must be signed in to change notification settings - Fork 193
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
(PE-17663) update logic for solaris 11 package name #163
Merged
MikaelSmith
merged 1 commit into
puppetlabs:master
from
johnduarte:pe17663-fix-solaris-p5p-pkg-name
Sep 27, 2016
Merged
(PE-17663) update logic for solaris 11 package name #163
MikaelSmith
merged 1 commit into
puppetlabs:master
from
johnduarte:pe17663-fix-solaris-p5p-pkg-name
Sep 27, 2016
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit updates the logic for cleaning a vanagon package version name to be compatible with the IPS requirements for solaris ll p5p package naming. It adds the same logic found in vanagon itself for removing any leading zeros from the dotted segments of the version string. Prior to this commit, leading zeros in a version segment were left in the package name which violates p5p naming rules. This caused vanagon builds containing such a version to fail the install process. Ref: [vanagon ips version code](https://github.com/puppetlabs/vanagon/blob/master/lib/vanagon/platform/solaris_11.rb#L94-L107) [Solaris 11 package versioning](http://www.oracle.com/technetwork/articles/servers-storage-admin/ips-package-versioning-2232906.html)
Ping @highb @MikaelSmith for review. |
@johnduarte 👍 from me, have you run this through acceptance tests yet? |
highb
approved these changes
Sep 27, 2016
@highb Ran it via the following
Where
Validation of the package filename is successful, but test currently fails due to RE-8072
|
Not a big fan of using PE tickets for this, but it's no worse than calling it maint. |
@MikaelSmith Oh yeah, FM is the right project, right? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit updates the logic for cleaning a vanagon package version
name to be compatible with the IPS requirements for solaris ll p5p
package naming. It adds the same logic found in vanagon itself for
removing any leading zeros from the dotted segments of the version
string.
Prior to this commit, leading zeros in a version segment were left
in the package name which violates p5p naming rules. This caused
vanagon builds containing such a version to fail the install
process.
Ref:
vanagon ips version code
Solaris 11 package versioning