Skip to content

Quick buckle definition of type + name #23

Description

@charneykaye

New rules for Buckle processing:

  • type can be implied by giving the buckle an extension, e.g. (for type dpkg) strap insert ubuntu/autoconf.dpkg
  • name can be implied by the file name. If no other definition is found, name is assumed to be the alphanumeric slug(s) (a-zA-Z0-9\-_) preceding any extension.
  • name can be implied when the first line of the file is only alphanumeric slug(s) with spaces (a-zA-Z0-9\-_) e.g. a list of dpkg packages like python python-pip)

Although the legacy format will still be intact (e.g. in the buckle ubuntu/python):

type: dpkg
name: python python-pip

The the same outcome could be achieved by naming the buckle ubuntu/python.dpkg with the contents:

python python-pip

Also, the same outcome could be achieved by naming the buckle ubuntu/python python-pip.dpkg with no contents at all. Note the space in the file name!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions