Skip to content

Commit

Permalink
Bump version to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oll3 committed Oct 13, 2019
1 parent 40a328e commit b8f0397
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "bita"
version = "0.2.1"
version = "0.3.0"
authors = ["Olle Sandberg <[email protected]>"]
license = "MIT"
edition = '2018'
description = "Fast file synchronization over http."
description = "Differential file synchronization over http(s)."
repository = "https://github.com/oll3/bita"
readme = "README.md"
keywords = ["update", "swupdate", "synchronization", "delta-update"]
categories = ["command-line-utilities", "compression"]
categories = ["command-line-utilities", "compression", "differential"]

[build-dependencies]
protoc-rust = "2.8.1"
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
[![Build Status](https://travis-ci.org/oll3/bita.svg?branch=master)](https://travis-ci.org/oll3/bita)
[![](http://meritbadge.herokuapp.com/bita)](https://crates.io/crates/bita)

bita is a tool aiming for fast and low bandwidth file synchronization over http.
Tool for fast and low bandwidth file synchronization over http.

The file to synchronize could be any file where data is expected to change partially or completely between updates.
---

The file to synchronize can be any file where data is expected to change partially or completely between updates.
Any local file that might contain data of the source file may be used as seed while cloning.

In a software update system (IoT device/embedded system) with an A/B partition setup bita can be used to update the B partition while using the A partition as seed. The result written to the B parition will be an exact clone of the remote file but the only data fetched from remote is the data which actually differ between the A partition and the remote file.
On a system with an A/B partition setup bita can be used to update the B partition while using the A partition as seed. The result written to the B partition will be an exact clone of the remote file but the only data fetched from remote is the data which actually differ between the A partition and the remote file.

---

Expand Down Expand Up @@ -61,16 +63,16 @@ olle@host:~$ bita compress file.ext4 file.ext4.cba

#### Clone

Clone file at http://host/new.tar.cba using seed another_old.tar and stdin (-):
Clone file at https://host/new.tar.cba using seed another_old.tar and stdin (-):

```console
olle@device:~$ gunzip -c old.tar.gz | bita clone --seed another_old.tar --seed - http://host/new.tar.cba new.tar
olle@device:~$ gunzip -c old.tar.gz | bita clone --seed another_old.tar --seed - https://host/new.tar.cba new.tar
```

Clone using block device /dev/mmcblk0p1 as seed and /dev/mmcblk0p2 as target:

```console
olle@device:~$ bita clone --seed /dev/mmcblk0p1 http://host/file.ext4.cba /dev/mmcblk0p2
olle@device:~$ bita clone --seed /dev/mmcblk0p1 https://host/file.ext4.cba /dev/mmcblk0p2
```


Expand Down

0 comments on commit b8f0397

Please sign in to comment.