Skip to content

facsimile-linux/facsimile

Repository files navigation

Facsimile

Snapshot backup system

Development

New work / bug fixes

Each commit should include an addition or change to a line in the debian/changelog file. Running dch will set this up for you in an editor.

Testing

TravisCI

All commits will automatically tested by TravisCI, and failures to build will be mailed to the commit author.

Locally

Before running tests locally, the local environment needs to be set up once. Follow all instructions in the .travis.yml file in the before_script section; if all commands return 0 exit codes, then you are ready to run the tests.

Run all tests with activator test.

Publishing

  • To create a new release candidate branch and release:
    • git stash
    • git checkout master
    • git pull --rebase
    • previousreleasesha=$(git log --format=format:%H -n 1 --grep="Release version")
    • changes=$(git log --format=%B $previousreleasesha..HEAD)
    • dch --changelog debian/facsimile/changelog --newversion <next minor version, like 1.3.0-1ubuntu1> "$changes"
    • dch --release --distribution unstable
      • Group commits into changes appropriate for a changelist
    • cp debian/facsimile/changelog debian/facsimile-toolbar/changelog
    • git add debian/facsimile/changelog debian/facsimile-toolbar/changelog && git commit -m "Release version <release version>"
    • git checkout -b <new candidate release branch identifier>
    • git tag <release version>
    • git push origin <new candidate release branch identifier> --tags
    • git checkout master
    • git stash pop
  • To create patch of existing release series:
    • git stash
    • git checkout <release branch>
    • git cherry-pick -x <sha>
      • Do this repeatedly for shas to integrate
    • previousreleasesha=$(git log --format=format:%H -n 1 --grep="Release version")
    • changes=$(git log --format=%B $previousreleasesha..HEAD)
    • git checkout master
    • dch --changelog debian/facsimile/changelog --newversion <next minor version, like 1.3.0-1ubuntu1> "$changes"
    • dch --release --distribution unstable
      • Group commits into changes appropriate for a changelist
    • cp debian/facsimile/changelog debian/facsimile-toolbar/changelog
    • git add debian/facsimile/changelog debian/facsimile-toolbar/changelog && git commit -m "Release version <release version>"
    • lastcommit=$(git rev-list HEAD -n 1)
    • git checkout <release branch>
    • git cherry-pick -x $lastcommit
    • git tag <release version>
    • git push origin <new candidate release branch identifier> --tags
    • git checkout master
    • git stash pop
  • To release a new major version
    • ./makedeb-src.sh <package> <version>
      • This will create and upload source packages to the repository in Launchpad. Note that the version specified must be a git reference (preferrably a tag).

TODO

  • Maintain system-wide encfsctl process for encrypting / decrypting pathnames on the fly (for speed increase)
  • Build local, fixed path mode (link-dest-based)
  • Proper config load / save
  • Backup
  • Build local, whole disk mode (link-dest-based)
  • Proper config load / save
  • Backup
  • Add menu item to cancel backup in progress
  • Allow suspend and hibernate to work properly
  • Auto cancel backup if destination becomes unavailable (network disconnect, resume from suspend, etc)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published