versioning family tree with git

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

versioning family tree with git

MaCXyLo
Hi,
following problem:
a family member want my family tree files to start his own research.
however, the problem is, when i only export the family tree, i can't trace the changes.
is it possible to initialize a git repo or is there a addon available?
or is there another solution that is not in my angle of view?
if i start to versionize the gramps xml package (with media files), the size of the repo explodes (binary format?).

Kind Regards,
MaCXyLo
Reply | Threaded
Open this post in threaded view
|

Re: versioning family tree with git

Ron Johnson
Since the .gpkg file is a gzip file chock full of JPEGs, PDFs, etc, you
definitely don't want that!! :)

The .xml file in the .gramps file is perfect for git, though.

On 01/04/2017 05:47 AM, MaCXyLo wrote:

> Hi,
> following problem:
> a family member want my family tree files to start his own research.
> however, the problem is, when i only export the family tree, i can't trace
> the changes.
> is it possible to initialize a git repo or is there a addon available?
> or is there another solution that is not in my angle of view?
> if i start to versionize the gramps xml package (with media files), the size
> of the repo explodes (binary format?).
>

--
World Peace Through Nuclear Pacification


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
NdK
Reply | Threaded
Open this post in threaded view
|

Re: versioning family tree with git

NdK
Il 04/01/2017 17:14, Ron Johnson ha scritto:

> The .xml file in the .gramps file is perfect for git, though.
Well, not exactly "perfect". At least for conflict resolution when you
have to merge two branches... XML can be reordered and that alone would
cause very big diffs.
You'd need a proper tool to diff & merge the different XML trees...

BYtE,
 Diego

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: versioning family tree with git

jerome
In reply to this post by MaCXyLo
What will re-order a Gramps XML file?

Import/export into gramps is idempotent, a possible
"time log" issue on edited records has been fixed,
and we are able to choose to use or not a compressed
gramps XML file on next major release.

--------------------------------------------
En date de : Mer 4.1.17, NdK <[hidden email]> a écrit :

 Objet: Re: [Gramps-users] versioning family tree with git
 À: "Ron Johnson" <[hidden email]>, [hidden email]
 Date: Mercredi 4 janvier 2017, 19h38
 
 Il 04/01/2017 17:14, Ron
 Johnson ha scritto:
 
 >
 The .xml file in the .gramps file is perfect for git,
 though.
 Well, not exactly
 "perfect". At least for conflict resolution when
 you
 have to merge two branches... XML can be
 reordered and that alone would
 cause very
 big diffs.
 You'd need a proper tool to
 diff & merge the different XML trees...
 
 BYtE,
 
 Diego
 
 ------------------------------------------------------------------------------
 Check out the vibrant tech community on one of
 the world's most
 engaging tech sites,
 SlashDot.org! http://sdm.link/slashdot
 _______________________________________________
 Gramps-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/gramps-users
 https://gramps-project.org
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
NdK
Reply | Threaded
Open this post in threaded view
|

Re: versioning family tree with git

NdK
Il 05/01/2017 12:01, jerome ha scritto:

> What will re-order a Gramps XML file?
I don't know. I vaguely remember that quite some time ago I tried
exporting a tree, importing it in a new one, making a couple of changes,
exporting again and diffing: the resulting diff was huge because some
records were moved around. After that I did not try again, marking the
thing as "better not to do".

BYtE,
 Diego


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: versioning family tree with git

Ron Johnson
In reply to this post by jerome
On 01/05/2017 03:29 PM, NdK wrote:
> Il 05/01/2017 12:01, jerome ha scritto:
>
>> What will re-order a Gramps XML file?
> I don't know. I vaguely remember that quite some time ago I tried
> exporting a tree, importing it in a new one, making a couple of changes,
> exporting again and diffing: the resulting diff was huge because some
> records were moved around. After that I did not try again, marking the
> thing as "better not to do".

That was fixed a few minor versions ago, I think.


--
World Peace Through Nuclear Pacification


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: versioning family tree with git

Nick Hall
On 06/01/17 01:06, Ron Johnson wrote:
What will re-order a Gramps XML file?
I don't know. I vaguely remember that quite some time ago I tried
exporting a tree, importing it in a new one, making a couple of changes,
exporting again and diffing: the resulting diff was huge because some
records were moved around. After that I did not try again, marking the
thing as "better not to do".
That was fixed a few minor versions ago, I think.

4365: Import/Export Gramps XML is not idempotent

https://gramps-project.org/bugs/view.php?id=4365


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org