Development Team/Datastore Rewrite: Difference between revisions

Tomeu (talk | contribs)
Tomeu (talk | contribs)
Line 59: Line 59:
  2b
  2b
       2b90597c-0912-4e7f-8eeb-71a0f004490d
       2b90597c-0912-4e7f-8eeb-71a0f004490d
             2b90597c-0912-4e7f-8eeb-71a0f004490d -> checksums/464493d8d929436b6152e868867ed451
             2b90597c-0912-4e7f-8eeb-71a0f004490d
             checksum ~> checksums/464493d8d929436b6152e868867ed451
             checksum ~> checksums/464493d8d929436b6152e868867ed451
             extra_metadata
             extra_metadata
Line 66: Line 66:
  3c
  3c
       3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a
       3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a
             3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a -> checksums/464493d8d929436b6152e868867ed451
             3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a -> 2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/2b90597c-0912-4e7f-8eeb-71a0f004490d
             checksum ~> checksums/464493d8d929436b6152e868867ed451
             checksum ~> checksums/464493d8d929436b6152e868867ed451
             extra_metadata
             extra_metadata
Line 77: Line 77:
             extra_metadata
             extra_metadata
                   preview
                   preview
5e
       4d9f2027-b41e-4015-a848-6b3972193eb8
       5e9f2027-b41e-4015-a848-6b3972193eb8
             4d9f2027-b41e-4015-a848-6b3972193eb8
             5e9f2027-b41e-4015-a848-6b3972193eb8
             metadata
             metadata
             extra_metadata
             extra_metadata
Line 111: Line 110:
'''1a/1ab88287-766a-4d98-a7c0-4233dc48647a/metadata''': file containing the metadata properties of an entry
'''1a/1ab88287-766a-4d98-a7c0-4233dc48647a/metadata''': file containing the metadata properties of an entry


'''2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/2b90597c-0912-4e7f-8eeb-71a0f004490d -> checksums/464493d8d929436b6152e868867ed451''': hard link to a file in '''checksums'''
'''2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/extra_metadata''': directory containing those metadata properties not contained in '''metadata''' for being either binary data or too big


'''2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/checksum ~> checksums/464493d8d929436b6152e868867ed451''': symbolic link to the file in '''checksums'''. Used to get the checksum of the entry without having to recalculate it nor read it from the metadata file
'''2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/extra_metadata/preview''': file containing the value of the '''preview''' property
 
'''3c/3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a/3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a''': hard link to the same file in the entry '''2b90597c-0912-4e7f-8eeb-71a0f004490d'''
 
'''3c/3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a/checksum ~> checksums/464493d8d929436b6152e868867ed451''': symbolic link to the file in '''checksums'''. Used to get the checksum of the entry without having to recalculate it nor read it from the metadata file
 
'''checksums''': directory containing a directory per each file contained in the DS, named by its md5 checksum
 
'''checksums/464493d8d929436b6152e868867ed451''': directory containing links to all the


== Source code ==
== Source code ==


http://dev.laptop.org/git?p=users/tomeu/datastore;a=summary
http://dev.laptop.org/git?p=users/tomeu/datastore;a=summary