v5.0.0 (2023-05-24)
Breaking changes:
- Remove deprecated method alias #109 (ekohl)
- Remove forge.puppetlabs.com -> forgeapi.p.c rewrite #108 (ekohl)
- Drop Modulefile support #106 (ekohl)
- Require Ruby 2.7+ #103 (ekohl)
- Default to using API v3 #102 (ekohl)
- Start assuming Puppet 3.6+ is used #101 (ekohl)
Implemented enhancements:
Merged pull requests:
- CI: run on PRs and merges to master #105 (bastelfreak)
- Add dummy CI job we can depend on #104 (bastelfreak)
v4.0.1 (2023-04-26)
Fixed bugs:
v4.0.0 (2023-02-22)
Breaking changes:
- Drop Ruby 2.4 support #96 (evgeni)
- Drop Ruby 2.3 support and switch to Github Actions #86 (ekohl)
- Drop Puppet 3/Puppet 4 and Ruby 2.0/2.1/2.2 testing #82 (bastelfreak)
Implemented enhancements:
- Mark compatible with puppet_forge 3.x #85 (ekohl)
- Add Puppet 7 support #84 (bastelfreak)
- Add Ruby2.5/Puppet6 to CI matrix, disable email notifications on CI runs #83 (bastelfreak)
Closed issues:
- Ubuntu 22.04 Tried to create Proc without a block #90
- Unable to retrieve dependencies #89
- Domain librarian-puppet.com in GitHub About sections is for sale #88
- Bundler 2 requires Ruby 2.3 or later. Either install bundler 1 or update to a supported Ruby version #72
- "Could not resolve the dependencies." for two modules with different version requirements #54
- buffer error (Zlib::BufError) when installing puppetlabs-apache #39
- Faraday::SSLError #32
- Simpler github module specs #31
- -bash: librarian-puppet: command not found #29
- Error: redirection forbidden #28
- Using librarian-puppet and custom modules #18
- Failing to install activesupport-5.0.0.beta3.gem on Ruby 2.1.8. #6
- Puppetfile syntax differences - R10K vs librarian #5
Merged pull requests:
- Actually run acceptance tests #92 (ekohl)
- Typo #87 (sboyd-m)
- Add --[no-]use-v1-api option to update command #75 (dwminer)
- Support basic auth for forge #69 (kim-sondrup)
Librarian-Puppet 3.0.0 and newer requires Ruby >= 2.0. Use version 2.2.4 if you need support for Puppet 3.7 or earlier, or Ruby 1.9 or earlier. Note that Puppet 4.10 and newer require Ruby 2.1 or newer.
- PR #1 Add support for r10k Puppetfile's opts
- PR #5 Update README for r10k syntax from PR #1.
- PR #8 Clean up tests
- PR #19 Fix rsync on Windows (path conversion, return code checking) and add trailing /
- Issue #20 Ignore Gem files
- Issue #25 Move to https and new forge url
- Avoid deleted ripienaar-concat
- PR #59 Fix tests
- PR #61 Bring testing matrix up to date
- Issue #311 Omit versions with a deleted_at date
- Add support for Puppet 4
- Issue #296 Uninitialized constant Puppet::ModuleTool::ModulefileReader using Modulefiles in Puppet 4. Ignore those dependencies
- Issue #302 Ensure path is not lost when default specfile is used
- Issue #294 Undefined variable calling Puppet version in old Puppet 2.x versions
- Issue #285 Update librarianp to allow overriding dependencies from multiple sources
- Update librarian to use the new
exclusion
syntax - Issue #282 Merge duplicated dependencies and warn the user, no more
Cannot bounce Puppetfile.lock!
errors - Issue #217, Issue #244 Use librarianp 0.4.0 that no longer uses recursion to avoid
stack level too deep
errors - Issue #277 Warn when there are two dependencies with the same module name
- Use
librarianp
gem instead oflibrarian
, a fork with the needed improvements and fixes.
- Issue #272 Defined forge is not used when resolving dependencies
- Issue #150 Allow dependencies other than Puppet modules
- Issue #269 Better error message if metadata.json is bad
- Issue #264 Copying files can cause permission problems on Windows
Librarian-Puppet 2.0.0 and newer requires Ruby >= 1.9 and uses Puppet Forge API v3. For Ruby 1.8 use 1.5.0.
- Jump from 1.3.x to 2.x to leave 1.x for Ruby 1.8 compatibility
- Issue #254 Add a rsync option to prevent deleting directories
- Issue #261 Incorrect install directory is created if the organization name contains a dash
- Issue #255 Ignored forge URL when using API v3
- Update librarian to use the new
exclusion
syntax - Issue #282 Merge duplicated dependencies and warn the user, no more
Cannot bounce Puppetfile.lock!
errors - Issue #217, Issue #244 Use librarianp 0.4.0 that no longer uses recursion to avoid
stack level too deep
errors - Issue #277 Warn when there are two dependencies with the same module name
- Use
librarianp
gem instead oflibrarian
, a fork with the needed improvements and fixes.
- Issue #272 Defined forge is not used when resolving dependencies
- Issue #150 Allow dependencies other than Puppet modules
- Issue #269 Better error message if metadata.json is bad
- Issue #264 Copying files can cause permission problems on Windows
- Jump from 1.0.x to 1.4.x to keep Ruby 1.8 compatibility in the 1.x series
- Issue #254 Add a rsync option to prevent deleting directories
- Issue #261 Incorrect install directory is created if the organization name contains a dash
- Issue #250 Fix error when module has no dependencies in
metadata.json
- Issue #246 Do not fail if modules have no
Modulefile
normetadata.json
- Version in dependencies with
metadata.json
is ignored
- If no Puppetfile is present default to use the
metadata.json
orModulefile
- Issue #235 Error when forge is not defined in
Puppetfile
- Issue #243 Warn if
Modulefile
doesn't contain a version
- Implement
metadata
syntax forPuppetfile
- Issue #220 Add support for metadata.json
- Issue #242 Get organization from name correctly if name has multiple dashes
- Issue #237 Issue #238 Unable to use a custom v3 forge: add flags
--use-v1-api
and--no-use-v1-api
- Issue #239 GitHub tarball: add access_token correctly to url's which are already having query parameters
- Issue #234 Use organization-module instead of organization/module by default
- Issue #231 Only use the
GITHUB_API_TOKEN
if it's not empty - Issue #233 Fix version regex to match e.g. 1.99.15
- Can't pass the Puppet Forge v1 api url to clients using v3 (3.6.0+ and PE 3.2.0+)
- Issue #227 Fix Librarian::Puppet::VERSION undefined
- Issue #210 Use forgeapi.puppetlabs.com and API v3
- Accesing the v3 API requires Ruby 1.9 due to the puppet_forge library used
- Issue #250 Fix error when module has no dependencies in
metadata.json
- Issue #246 Do not fail if modules have no
Modulefile
normetadata.json
- Version in dependencies with
metadata.json
is ignored
- If no Puppetfile is present default to use the
metadata.json
orModulefile
- Issue #235 Error when forge is not defined in
Puppetfile
- Issue #243 Warn if
Modulefile
doesn't contain a version
- Implement
metadata
syntax forPuppetfile
- Issue #220 Add support for metadata.json
- Issue #242 Get organization from name correctly if name has multiple dashes
- Issue #237Issue #238 Unable to use a custom v3 forge: add flags
--use-v1-api
and--no-use-v1-api
- Issue #239 GitHub tarball: add access_token correctly to url's which are already having query parameters
- Issue #234 Use organization-module instead of organization/module by default
- Issue #231 Only use the
GITHUB_API_TOKEN
if it's not empty - Issue #233 Fix version regex to match e.g. 1.99.15
- Can't pass the Puppet Forge v1 api url to clients using v3 (3.6.0+ and PE 3.2.0+)
- Issue #223
Cannot bounce Puppetfile.lock!
error when Forge modules contain duplicated dependencies
- Issue #211 Pass the PuppetLabs Forge API v3 endpoint to
puppet module
when running on Puppet >= 3.6.0 - Issue #198 Reduce the length of tmp dirs to avoid issues in windows
- Issue #206 githubtarball call for released versions does not consider pagination
- Issue #204 Fix regex to detect Forge API v3 url
- Issue #199 undefined method run! packaging a git source
- Verify SSL certificates in github calls
- Issue #190 Pass the PuppetLabs Forge API v3 endpoint to
puppet module
when running on Puppet Enterprise >= 3.2 - Issue #196 Fix error in error handling when puppet is not installed
- Remove deprecation warning for github_tarball sources, some people are actually using it
- Issue #193 Support Puppet 3.5.0
- Issue #181 Should use qualified module names for resolution to work correctly
- Deprecate github_tarball sources
- Reduce number of API calls for github_tarball sources
- Issue #187 Fixed parallel installation issues
- Issue #185 Sanitize the gem/bundler environment before spawning (ruby 1.9+)
- Issue #182 Sanitize the environment before spawning (ruby 1.9+)
- Issue #184 Support transitive dependencies in modules using :path
- Git dependencies using modulefile syntax make librarian-puppet fail
- Issue #108 Don't fail on malformed Modulefile from a git dependency
- Issue #176 Upgrade to librarian 0.1.2
- Issue #179 Need to install extra gems just in case we are in ruby 1.8
- Issue #178 Print a meaningful message if puppet gem can't be loaded for :git sources
- Remove extra dependencies from gem added when 0.9.11 was released under ruby 1.8
- Add modulefile dsl to reuse Modulefile dependencies
- Consider Puppetfile-dependencies recursively in git-source
- Support changing tmp, cache and scratch paths
- librarian-puppet package causes an infinite loop
- Show a message if no versions are found for a module
- Make download of tarballs more robust
- Require open3_backport in ruby 1.8 and install if not present
- Git dependencies in both Puppetfile and Modulefile cause a Cannot bounce Puppetfile.lock! error
- Better sort of github tarball versions when there are mixed tags starting with and without 'v'
- Fix error if a git module has a dependency without version
- Fix git dependency with :path attribute
- Cleaner output when no Puppetfile found
- Reduce the number of API calls to the Forge
- Don't sort versions as strings. Rely on the forge returning them ordered
- Pass --module_repository to
puppet module install
to install from other forges - Cache forge responses and print an error if returns an invalid response
- Add a User-Agent header to all requests to the GitHub API
- Convert puppet version requirements to rubygems, pessimistic and ranges
- Use librarian gem
- Catch GitHub API rate limit exceeded
- Make Librarian::Manifest Semver 2.0.0 compatible
- Proper error message when a module that is sourced from the forge does not exist.
- Added support for annotated tags as git references.
librarian-puppet init
adds.tmp/
to gitignore instead oftmp/
.- Fixed syntax error in the template Puppetfile created by
librarian-puppet init
. - Checks for
lib/puppet
as well asmanifests/
when checking if the git repository is a valid module. - When a user specifies
<foo>/<bar>
as the name of a module sources from a git repository, assume the module name is actually<bar>
. - Fixed gem description and summary in gemspec.
- Initial release
* This Changelog was automatically generated by github_changelog_generator