summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-04Test adding of new archivesFlorian Pritz3-0/+51
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-04Borg::list_archive: Use open() instead of IPC::Run for performanceFlorian Pritz2-3/+9
Surprisingly the callback isn't actually that bad, but IPC::Run (probably new_chunker) adds quite some overhead. Since open supports everything we need, use that instead. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-03Fix broken recursion in save_nodeFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-03Pass sub to IPC::Run instead of using a typeglobFlorian Pritz2-7/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-03Add test deps to cpanfileFlorian Pritz2-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-03Support dependency injection of Borg classFlorian Pritz2-3/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-02Allow dots in archive namesFlorian Pritz2-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-27Drop useless =podFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-27Move most code to main packageFlorian Pritz2-346/+364
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-27Move debug() to main packageFlorian Pritz2-6/+26
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-27Test Helper::untaint_archive_nameFlorian Pritz1-0/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-27Remove empty lines from the dbFlorian Pritz1-1/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-27Remove unused sanitize_db_data()Florian Pritz1-16/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-27Extract borg related methods into dedicated packageFlorian Pritz2-18/+43
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-27Move packages to dedicated filesFlorian Pritz4-227/+252
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-26Fix metadataFlorian Pritz5-16/+41
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-26Add scriptFlorian Pritz1-0/+859
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-26initial commitFlorian Pritz11-0/+574
Signed-off-by: Florian Pritz <bluewind@xinu.at>