Skip to content

Releases: mirkobrombin/DaBaDee

v0.6.0

08 Jul 07:49
Compare
Choose a tag to compare

Changelog

  • Implemented global storage path configuration:
    • Uses /home/<user>/.dabadee/Storage if launched in a sub-directory of a non-root user.
    • Uses /opt/.dabadee/Storage if launched as root from any other path.
  • Updated command syntax for dedup and cp commands:
    • Added --storage flag to specify the storage directory.
    • Added --workers flag to specify the number of workers.

Full Changelog: v0.5.0...v0.6.0

v0.5.0

08 Jul 07:20
Compare
Choose a tag to compare

Changelog

  • Implemented a new destDir in NewDedupProcessor to support deduplication-based copying.
  • Implemented a new --dest/-d flag in the dedup command to specify the destination directory for deduplicated files.
  • Implemented a new --append/-a flag in the cp command to allow appending directory contents to the destination with deduplication.
  • Implemented verbose mode to provide detailed logging information. This can be enabled by passing the --verbose/-v flag in the command line interface (CLI) or by setting the verbose parameter to true when using the library.

Full Changelog: v0.3...v0.5.0

v0.4.0

27 Feb 13:21
Compare
Choose a tag to compare

Just a new version to satisfy gopkg.

v0.3

27 Feb 13:16
Compare
Choose a tag to compare

Verbose mode is currently used only to suppress minor issues, like failing in process missing files during the deduplication process.

Full Changelog: v0.2...v0.3

v0.2

27 Feb 07:20
Compare
Choose a tag to compare

Prior to this, the directive to keep metadata was passed in both storage creation and processor, increasing the possibility of conflicts. Now to keep metadata, storage options directive is used everywhere:

package main

import (
    "github.com/mirkobrombin/dabadee/pkg/dabadee"
    "github.com/mirkobrombin/dabadee/pkg/hash"
    "github.com/mirkobrombin/dabadee/pkg/processor"
    "github.com/mirkobrombin/dabadee/pkg/storage"
)

func main() {
    s := storage.NewStorage(storage.StorageOptions{
      Root: "/path/to/storage",
      WithMetadata: true,
    })
    h := hash.NewSHA256Generator()
    p := processor.NewDedupProcessor("/path/to/folder", s, h, 2)

    d := dabadee.NewDaBaDee(p)
    err := d.Run()
    if err != nil {
        panic(err)
    }
}

Full Changelog: v0.1...v0.2

v0.1

26 Feb 20:18
Compare
Choose a tag to compare

First release.

dabadee --help

Usage:
  dabadee [command]

Available Commands:
  completion     Generate the autocompletion script for the specified shell
  cp             Copy a file and deduplicate it in storage
  dedup          Deduplicate files in a directory
  find-links     Find all hard links to the specified file
  help           Help about any command
  remove-orphans Remove all orphaned files from the storage
  rm             Remove a file and its link from storage

Flags:
  -h, --help   help for dabadee

Use "dabadee [command] --help" for more information about a command.

Continuous Build

26 Feb 20:12
Compare
Choose a tag to compare
Continuous Build Pre-release
Pre-release
continuous

ci: release CI