Issue #6770 has been updated by Josh Cooper. Status changed from Available In Testing Branch to Closed
See: commit:36021021b4cb11aea0a5acd35d051db52d8fc99f commit:dc2675df2805d1e2dbf3c50a49152bcfd78f922f commit:f7f1e5822f3921336872956fe07c4da4406ce8eb commit:4609e203fd47f8159118bb74a8308f9c6aee179f commit:6aea116701b8e03558ef7a5a15766b267af14281 commit:1af9bb232ed73f16789f465e89a0d498c39e1b78 commit:78371a739bcf1b1d76496e9038fa4b076a27032f commit:c25fb94725c9abfb36e67938356f97823f8b605e commit:7aa8f2252c7b0512c929fb87a6c3a09a952a142a commit:1187a0eb2550f04d9b6c3dcfdcacdfbb32de0e56 ---------------------------------------- Feature #6770: Interfaces don't support versioning https://projects.puppetlabs.com/issues/6770 Author: Paul Berry Status: Closed Priority: Normal Assignee: Daniel Pittman Category: Faces Target version: Statler Affected Puppet version: Keywords: Branch: In order to provide for better backward compatibility if a specific interface changes in the future, we should have a versioning scheme for interfaces. For example, the writer of an interface action should be able to specify which version of that action they are writing, e.g.: Puppet::Interface::Foo.action :bar, :version => '1.3.5' do |args| ... end And, when calling an interface, the caller should be able to specify which version of the action they are trying to invoke: Puppet::Interface::Foo.bar('x', 'y', :version => '2.4') * If the requested version cannot be found, it's a fatal error. * If a different version exists, that should be noted in the error message. * We should use semantic versioning (as per semver.org) as the default approach for specifying the versions of interface actions. This would also allow us to permit version patterns for the callers (e.g. "give me anything in the 2.x series") * Invoking an action without a version (including from the command line) always implicitly invokes the most recent version installed. If we don't address versioning concerns from the outset, they will be difficult to address in the future, because users of the interface API will already exist in the field that do not specify their versions, and it will be difficult to be backward-compatible in any meaningful way. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
