[git-users] Re: git as database

2009-12-22 Thread Ido Ran
Hi Konstantin, You are right, and what you describe is the way relational database implement reference, that is using fixed IDs. But, that makes versioning harder because you have to add another value to identify an entity is specific version, since it's id will be fixed for ever. In git you can th

[git-users] Re: git as database

2009-12-18 Thread Konstantin Khomoutov
On Dec 18, 11:44 am, Ido Ran wrote: [...] > The thing is that I have more than two entity types and each entity is > identify by unique string (say GUID). > If I will include the unique ID in the hash process it will destroy > any chance of two content identical entities to have the same hash. As

[git-users] Re: git as database

2009-12-18 Thread Ido Ran
I think you exactly right about the wiki. Relational database is unnatural fit for wiki. I know I'm unclear, that's because I have hard time explain what I'm going for. In the application I'm working on there is a need for kind of database that will store history in a re-creatable way, that means

[git-users] Re: git as database

2009-12-17 Thread Konstantin Khomoutov
On Dec 17, 5:31 pm, Rick DeNatale wrote: [...] > One example is a wiki. Ward Cunningham's original wiki used (probably > still uses) the file system to save the wiki pages, and relied on > users to manually weed out unwanted changes. Wikipedia uses a complex > relational database to save wiki p

Re: [git-users] Re: git as database

2009-12-17 Thread Rick DeNatale
On Thu, Dec 17, 2009 at 8:32 AM, Petr Baudis wrote: > On Thu, Dec 17, 2009 at 05:27:20AM -0800, Ido Ran wrote: >> So my question is how can git still be used as database backend. >> I'm open for ideas, I just don't see it yet. > > Then why do you actually want to do it? :-) It's not clear what you

Re: [git-users] Re: git as database

2009-12-17 Thread Petr Baudis
On Thu, Dec 17, 2009 at 05:27:20AM -0800, Ido Ran wrote: > So my question is how can git still be used as database backend. > I'm open for ideas, I just don't see it yet. Then why do you actually want to do it? :-) It's not clear what your goals are, you should specify them first, then check how c

[git-users] Re: git as database

2009-12-17 Thread Ido Ran
Hi, I've mail to the guy wrote gimd project and he told me that it is now an abandoned project so it is not a solution. I would like to ask about the different models between regular database and git database. Usually in relational database (or object database) each entity has a primary key which

[git-users] Re: git as database

2009-12-14 Thread Marek Wywiał
On 14 Gru, 19:47, Ido Ran wrote: > It sure look like it's something like this. > Is gimd a google project? I'm not sure, but developers has @google.com emails :) > > Thanks. > > On Dec 14, 3:48 pm, Marek Wywiał wrote: > > > > > On 14 Gru, 13:33, Ido Ran wrote: > > > > Hi, > > > I've been thi

[git-users] Re: git as database

2009-12-14 Thread Ido Ran
It sure look like it's something like this. Is gimd a google project? Thanks. On Dec 14, 3:48 pm, Marek Wywiał wrote: > On 14 Gru, 13:33, Ido Ran wrote: > > > Hi, > > I've been thinking (and drawing) about using git as backend database > > for full revision database system. > > I've reach some

[git-users] Re: git as database

2009-12-14 Thread Marek Wywiał
On 14 Gru, 13:33, Ido Ran wrote: > Hi, > I've been thinking (and drawing) about using git as backend database > for full revision database system. > I've reach some conclusions and like to know what you think: >   The reason git is so easy to use by SCM systems is because source > control databa