~mterry/snapcraft/ubuntu-multi-package

Viewing all changes in revision 102.

  • Committer: Michael Terry
  • Date: 2015-07-22 20:33:07 UTC
  • mfrom: (76.4.6 source-options)
  • Revision ID: michael.terry@canonical.com-20150722203307-myr4h77zavbax2aq
This branch makes plugin code even simpler, by setting the groundwork for automatic handling of source options in the future.

We introduce a standard handle_source_options() method which will look at a standard set of 'source*' options and use them to grab project code. As we grow source options (see other branches), this method will gracefully handle it without any changes to the plugins.

In addition to the expected changes, I threw in some tiny cleanups I found along the way:

- in autotools_project.py, dropped the 'snap_files' method automatically excluding 'include' -- we haven't determined a sensible default exclusion like that yet

- in python3-project.yaml file, drop unused configflags option

- in plugin.py, dropped support for options_override. We don't use it anymore, I suspect it was originally a sort of option mock. But we seemed to evolve past the need for it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: