Skip to content

Implement import from xml

Dirk HOFFMANN requested to merge github/fork/DefteZ/xml-import into master

Created by: DefteZ

Hello,

this enhancement is not full solution for #247 , but it is first step to resolve it. It can do imprort facts from xml files by "merge" subcommand.

Example: ./hamster-cli merge xml /tmp/09.07.2015-12.31.2015.xml 2015-07-09 2015-12-31

It is some limitations now:

  • only cli tool
  • it assumed that current DB is "main'. Tool do not rewrite existing records anyway.
  • by default it works with last day (as other hamster-cli subcommands)
  • it will not write to DB if there are 'unfinished' activities in the past.

Best regard, Andrii Danyleiko

Merge request reports

Loading