Duplicate deprecation notices on install/prepare/build/override-build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Medium
|
Unassigned |
Bug Description
Building the LXD snap (https:/
DEPRECATED: The 'install' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'build' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'install' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'install' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'install' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'prepare' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'install' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'install' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'build' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'install' keyword has been replaced by 'override-build'
See http://
DEPRECATED: The 'install' keyword has been replaced by 'override-build'
See http://
This adds a lot of noise to the build. There are no details on what's causing these particular messages so they are effectively duplicates that aren't very helpful.
No details? What do you call the tremendously helpful URLs that are 404s (waiting for the deprecation notices to be merged)? :P
Yes, I agree. This is a general problem we have with deprecation notices. The deprecations module could track this and ensure each notice is printed a maximum of one time, or we could wrap it in an object that does so.