The dump plugin

The dump plugin transfers data from a specified source into a snap part.

This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.

Data organisation can be modified during transfer using the standard keywords available to all plugins: filesets, stage, snap and organize.

For example:

parts:
  my-part:
    source: local-source/
    plugin: dump
    organize:
      '*.png' : images/
      launch.wrapper: usr/bin/launcher
    prime:
      - -README*

See common keywords for more information about these keywords.

For examples, search GitHub for projects already using the plugin.

This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.

Last updated 6 months ago. Help improve this document in the forum.