Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Include metadata in .archive file #8

Closed
robert-clegg-tessella opened this issue Oct 31, 2018 · 1 comment
Closed

Include metadata in .archive file #8

robert-clegg-tessella opened this issue Oct 31, 2018 · 1 comment
Assignees
Projects

Comments

@robert-clegg-tessella
Copy link
Collaborator

robert-clegg-tessella commented Oct 31, 2018

Following on from #7 whenever a file is transferred from a directory this event is recorded in the archive file located in that directory.

The following information is captured

  • File name
  • Operation (copy new, update, download, etc)
  • Version of DITTO used
  • Last updated timestamp
  • Name of bucket where it is replicated
  • File size (bytes)
@robert-clegg-tessella robert-clegg-tessella created this issue from a note in ditto (Backlog) Oct 31, 2018
@oliver-tarrant-tessella oliver-tarrant-tessella moved this from Backlog to In progress in ditto Nov 27, 2018
oliver-tarrant-tessella added a commit that referenced this issue Nov 29, 2018
@oliver-tarrant-tessella oliver-tarrant-tessella moved this from In progress to In review & testing in ditto Dec 3, 2018
robert-clegg-tessella added a commit that referenced this issue Dec 4, 2018
@oliver-tarrant-tessella oliver-tarrant-tessella moved this from In review & testing to In progress in ditto Dec 7, 2018
robert-clegg-tessella added a commit that referenced this issue Dec 12, 2018
…t-root-specified-in-bucket-settings/#7/#8

Feature/archive files are created at root specified in bucket settings/#7/#8
@oliver-tarrant-tessella oliver-tarrant-tessella moved this from In progress to In review & testing in ditto Dec 12, 2018
robert-clegg-tessella added a commit that referenced this issue Dec 18, 2018
@daniel-hunt-tessella
Copy link
Contributor

Testing:

  • The .ditto_archived files created have the information referred to above as in this example:
{"new.txt": {"file": "new.txt", "bucket": "ditto-eighteenth", "size": 27, "last archived": "2018-12-18 14:16:18.499411", "type of transfer": "new upload", "ditto version": "1.0.0-0-g5a4fc31"}, "newnew.txt": {"file": "newnew.txt", "bucket": "ditto-eighteenth", "size": 19, "last archived": "2018-12-18 14:18:08.848746", "type of transfer": "file update", "ditto version": "1.0.0-0-g5a4fc31"}}(
  • Checked for a number of different .ditto_archived files in different folders with differently archived files

@daniel-hunt-tessella daniel-hunt-tessella moved this from In review & testing to Done in ditto Dec 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
ditto
  
Done
Development

No branches or pull requests

3 participants