Subject: CVS commit: pkgsrc/sysutils/packer
From: Iku Iwasa
Date: 2023-07-23 07:51:54
Message id: 20230723055154.E65BAFBDB@cvs.NetBSD.org

Log Message:
packer: update to 1.9.2

NOTES:

* Vendored plugins within Packer have not been updated. Plugin releases
  occur on a regular basis to address issues and feature requests. Please
  note that in an upcoming version of Packer, we will remove the last
  bundled plugins from Packer. Users are encouraged to use packer init
  for HCL2 templates or packer plugins install with legacy JSON templates
  for installing external plugins.

* Packer will now warn when using bundled plugins. This feature will be
  removed in a future version of the tool, so this warning is meant to
  bring awareness of the upcoming change, and help users update their
  templates.

BUG FIXES:

* Fixed a bug with how Packer was discovering plugins: in order to load
  plugins, Packer would recursively scan all the known directories in
  which we could have installed plugins. This caused unnecessary
  directory walks and slowdowns upon invocation. Packer will now only
  check for nested plugins within the directories used by commands such
  as packer init, or packer plugins install, or as defined in
  PACKER_PLUGIN_PATH. Refer to Packer's plugin directory documentation
  for details on how loading works.

* The packer init subcommand now bundles all the missing installed plugins
  into one condensed warning, as opposed to one warning per missing
  plugin.

PLUGINS:

* packer-plugin-parallels: The Parallels plugin has been handed over to the
  Parallels team. New releases for this plugin are available at
  https://github.com/parallels/packer-plugin-parallels. This plugin is no
  longer being bundled in the Packer binary release. Existing references
  to the plugin will continue to work but users are advised to update the
  required_plugins block to use the new plugin source address.

     required_plugins {
       parallels = {
         source  =  "github.com/parallels/parallels"
         version =  "~> 1"
        }
    }

IMPROVEMENTS:

* The hcl2_upgrade sub-command will now add required_plugins to the
  template generated from JSON for official plugins.

Files:
RevisionActionfile
1.8modifypkgsrc/sysutils/packer/Makefile
1.4modifypkgsrc/sysutils/packer/distinfo
1.4modifypkgsrc/sysutils/packer/go-modules.mk