[Puppet-dev] Re: Environments in URIs

2009-02-27 Thread Luke Kanies
On Feb 27, 2009, at 10:29 PM, Nigel Kersten wrote: > > On Fri, Feb 27, 2009 at 4:45 PM, Luke Kanies wrote: > >> The big reason I thought about using parameters was just that we >> might >> need to version the overall API (the split between environment, >> resource type, and resource key) separ

[Puppet-dev] Re: Environments in URIs

2009-02-27 Thread Nigel Kersten
On Fri, Feb 27, 2009 at 4:45 PM, Luke Kanies wrote: > The big reason I thought about using parameters was just that we might > need to version the overall API (the split between environment, > resource type, and resource key) separately from the resource type API > (any formatting within the key

[Puppet-dev] Re: Environments in URIs

2009-02-27 Thread Eric Gerlach
On Fri, Feb 27, 2009 at 06:45:12PM -0600, Luke Kanies wrote: > > On Feb 27, 2009, at 1:07 PM, Eric Gerlach wrote: > > > > > On Fri, Feb 27, 2009 at 12:47:36PM -0600, Luke Kanies wrote: > >> Your points are definitely valid. This is the closest (and best) > >> discussion I've found: > >> > >> ht

[Puppet-dev] Re: Environments in URIs

2009-02-27 Thread Luke Kanies
On Feb 27, 2009, at 1:07 PM, Eric Gerlach wrote: > > On Fri, Feb 27, 2009 at 12:47:36PM -0600, Luke Kanies wrote: >> Your points are definitely valid. This is the closest (and best) >> discussion I've found: >> >> http://stackoverflow.com/questions/389169/best-practices-for-api-versioning > > Ac

[Puppet-dev] Re: Environments in URIs

2009-02-27 Thread Eric Gerlach
On Fri, Feb 27, 2009 at 12:47:36PM -0600, Luke Kanies wrote: > Your points are definitely valid. This is the closest (and best) > discussion I've found: > > http://stackoverflow.com/questions/389169/best-practices-for-api-versioning Actually, that's a really good treatment of the subject. >

[Puppet-dev] Re: Environments in URIs

2009-02-27 Thread Luke Kanies
On Feb 26, 2009, at 10:58 AM, Eric Gerlach wrote: > > On Sun, Feb 22, 2009 at 12:02:08PM -0800, Luke Kanies wrote: >> >> On Feb 21, 2009, at 6:24 PM, Ohad Levy wrote: >> >>> >>> >>> On Sun, Feb 22, 2009 at 2:42 AM, Luke Kanies >>> wrote: >>> >>> >>> I could see some other version numbers makin

[Puppet-dev] Re: Environments in URIs

2009-02-27 Thread Luke Kanies
On Feb 23, 2009, at 1:10 PM, Nigel Kersten wrote: > > On Sun, Feb 22, 2009 at 12:02 PM, Luke Kanies > wrote: >> >> On Feb 21, 2009, at 6:24 PM, Ohad Levy wrote: >> >>> >>> >>> On Sun, Feb 22, 2009 at 2:42 AM, Luke Kanies >>> wrote: >>> >>> >>> I could see some other version numbers making t

[Puppet-dev] Re: Environments in URIs

2009-02-26 Thread Eric Gerlach
On Sun, Feb 22, 2009 at 12:02:08PM -0800, Luke Kanies wrote: > > On Feb 21, 2009, at 6:24 PM, Ohad Levy wrote: > > > > > > > On Sun, Feb 22, 2009 at 2:42 AM, Luke Kanies wrote: > > > > > > I could see some other version numbers making their way to the URI at > > some point, but those would like

[Puppet-dev] Re: Environments in URIs

2009-02-23 Thread Nigel Kersten
On Sun, Feb 22, 2009 at 12:02 PM, Luke Kanies wrote: > > On Feb 21, 2009, at 6:24 PM, Ohad Levy wrote: > >> >> >> On Sun, Feb 22, 2009 at 2:42 AM, Luke Kanies wrote: >> >> >> I could see some other version numbers making their way to the URI at >> some point, but those would likely be per-resour

[Puppet-dev] Re: Environments in URIs

2009-02-22 Thread Luke Kanies
On Feb 21, 2009, at 6:24 PM, Ohad Levy wrote: > > > On Sun, Feb 22, 2009 at 2:42 AM, Luke Kanies wrote: > > > I could see some other version numbers making their way to the URI at > some point, but those would likely be per-resource, rather than site- > wide, and each resource type has a lot of

[Puppet-dev] Re: Environments in URIs

2009-02-21 Thread Ohad Levy
On Sun, Feb 22, 2009 at 2:42 AM, Luke Kanies wrote: > > > I could see some other version numbers making their way to the URI at > some point, but those would likely be per-resource, rather than site- > wide, and each resource type has a lot of control over how its portion > of the URI is managed.

[Puppet-dev] Re: Environments in URIs

2009-02-21 Thread Luke Kanies
On Feb 21, 2009, at 9:38 AM, Nigel Kersten wrote: > > On Fri, Feb 20, 2009 at 8:07 AM, Luke Kanies wrote: >> >> Hi all, >> >> I've been thinking about how to solve >> http://projects.reductivelabs.com/issues/1557 >> -- Environments should be in fileserving URIs. >> >> As I was implementing the

[Puppet-dev] Re: Environments in URIs

2009-02-21 Thread Nigel Kersten
On Fri, Feb 20, 2009 at 8:07 AM, Luke Kanies wrote: > > Hi all, > > I've been thinking about how to solve > http://projects.reductivelabs.com/issues/1557 > -- Environments should be in fileserving URIs. > > As I was implementing the plugin support, I realized that the format > of the URI is act