ldc-developers / ldc2.snap

Snap package definition for LDC, the LLVM-based D compiler
11 stars 4 forks source link

Remove deprecated elements from snap package definition #58

Closed WebDrake closed 6 years ago

WebDrake commented 6 years ago

The prepare: scriptlet section is now deprecated in favour of override-build:, while in-package alias definitions have been deprecated since snapcraft v2.35 (see also https://docs.snapcraft.io/deprecation-notices/dn5). The latter have been maintained until now in order to support distros using older snapd versions, but can be dropped now since all supported distros seem to be using recent enough snapd releases.

WebDrake commented 6 years ago

For the record: current recommended practice with snap package aliases is that they should be defined by the store (for defaults), or by the local user (for whatever custom setup they want).

JohanEngelen commented 6 years ago

cool that you are keeping track of recommended snap practices