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

Nexus backend support (and minor visual fixes) #2

Open
wants to merge 9 commits into
base: upstream
Choose a base branch
from

Conversation

javiplx
Copy link
Owner

@javiplx javiplx commented Mar 7, 2015

No description provided.

Added alphabetical sorting of search results based on the full name of the puppet module
Added more parameters to the info output
Modified the /modules/:author-:module-:version.tar.gz route as Semantic versioning allows a hyphen (-) to denote pre-release versioning and the route incorrectly matches the parameters.
Added additional information to the module information page
Fixed a spelling mistake
A cludge, but set the top margin of the body to 60 points so that the module heading is displayed properly
Added another option for defining a Sonatype Nexus storage directory as the local forge.  This allows maven to be used for managing the build life cycle of puppet modules.
The Nexus forge is basically the same as the directory forge but modified to accommodate the Nexus file storage structure of Maven artefacts. It assumes that the nexus directory points to the groupId folder for finding puppet modules. 
Eg: 
Maven GAV: puppet-module:author-modulename-0.0.1-SNAPSHOT:(tar.gz,json)
Nexus Dir config: <base directory/puppet-module
Nexus path: author-modulename/0.0.1-SNAPSHOT/author-modulename-0.0.1-SNAPSHOT.(.tar.gz,json)
Needed to sort the directory listing by time created to ensure that the latest SNAPSHOT versions were being returned by puppet library.
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.

2 participants