On Oct 23, 2009, at 1:49 AM, Michael Gliwinski wrote:

>
> On Thursday 22 October 2009 17:07:20 Luke Kanies wrote:
>> My goal is not to have to have checked out the current revision of  
>> the
>> repository anywhere, but rather to rely entirely on direct API-like
>> access to the repository - creating blobs, storing them, and
>> retrieving them can all be done pretty easily without having a  
>> checked
>> out repository, and I think the branches can all be done similarly.
>>
>> The benefit of this is that you get considerable space savings - 10x
>> or so, because of file compression, but probably more in the end
>> because of  a lack of duplication.
>
> This is a really good point.  I am actually a bit suprised as I  
> thought git
> discouraged that kind of access as they didn't have a clean  
> separated API.
> In any case I'm pretty confident this would be easy to do with  
> bzrlib API as
> well.
>
> Really all I'm saying here is that when implementing this feature,  
> if you
> treat git as implementation detail and wrap it's behaviour in  
> something like
> a provider (which will need to be done to some degree anyways unless  
> git
> provides ruby bindings, no?), then at some point some interested  
> folk may
> look into implementing such provider based on another VCS ;)   
> Obviously
> there's no point trying to capture differences between different  
> systems from
> the start, that would be hard enough job to do in one go anyways.


Given I've no real idea when we'll actually get around to this, it's  
easy to be accomodating. :)

Really, though, my guess is that I'd start without the abstraction  
layer, and plan on adding it later.  Abstractions are always harder,  
especially when you only have one thing to abstract at first.

Once people start sharing code, I'll be more concerned about it, though.

-- 
No one who cannot rejoice in the discovery of his own mistakes
deserves to be called a scholar. --Donald Foster
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to