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:

    source: local-source/
    plugin: dump
      '*.png' : images/
      launch.wrapper: usr/bin/launcher
      - -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.