Antoine Beaupré
5f6eb87385
much nicer validation checking
2015-10-01 08:50:06 -04:00
Antoine Beaupré
d5198c551b
split out depends in imports
2015-10-01 08:47:23 -04:00
Antoine Beaupré
d66516351f
use builtin NotImplementedError instead of writing our own
...
NotImplemented didn't work with pytest.raise(), i didn't know about NotImplementedError, thanks tw
2015-10-01 08:46:30 -04:00
Antoine Beaupré
ef0ed409b6
fix typo
2015-10-01 08:44:17 -04:00
Antoine Beaupré
5b8cb63479
remove duplicate code with the unit test
2015-10-01 08:43:05 -04:00
Antoine Beaupré
dbd4ac7f8d
add missing colon
2015-10-01 08:41:44 -04:00
Antoine Beaupré
c2913f5f10
style: don't use continue for nothing
2015-10-01 08:40:56 -04:00
Antoine Beaupré
efbad396f4
help text review: magic s/number/string/, s/can/must/
2015-10-01 08:40:25 -04:00
Antoine Beaupré
a81755f1a9
use triple-double-quoted instead of single-double-quoted
...
at the request of TW, see #231
2015-10-01 08:34:18 -04:00
TW
50fe290770
Merge pull request #229 from anarcat/rmapi
...
remove api file introduced by mistake in #228
2015-10-01 10:52:09 +02:00
Antoine Beaupré
c990829225
add attic dependency for build as a separate factor
...
this way we don't depend on attic for regular build, but we can still see proper test coverage
2015-10-01 00:51:19 -04:00
Antoine Beaupré
bcd94b96e0
split up keyfile, segments and overall testing in converter
2015-10-01 00:32:34 -04:00
Antoine Beaupré
1ba856d2b3
refactor: group test repo subroutine
2015-10-01 00:15:25 -04:00
Antoine Beaupré
1b29699403
cosmetic: reorder
2015-10-01 00:15:12 -04:00
Antoine Beaupré
a5f32b0a27
add convert command
2015-09-30 23:50:46 -04:00
Antoine Beaupré
f35e8e17f2
add dry run support to converter
2015-09-30 23:50:35 -04:00
Antoine Beaupré
e554365765
remove unused import
2015-09-30 23:28:07 -04:00
Antoine Beaupré
77ed6dec2b
skip converter tests if attic isn't installed
2015-09-30 23:27:55 -04:00
Antoine Beaupré
c30df4e033
move converter code out of test suite
2015-09-30 23:18:03 -04:00
Antoine Beaupré
5a1680397c
remove needless use of self
2015-09-30 23:02:21 -04:00
Antoine Beaupré
aa25a217a4
move conversion code to a separate class for clarity
2015-09-30 23:01:03 -04:00
Antoine Beaupré
312c3cf738
rewrite converter to avoid using attic code
...
the unit tests themselves still use attic to generate an attic
repository for testing, but the converter code should now be
standalone
2015-09-30 22:54:00 -04:00
Antoine Beaupré
c7af4c7f1d
more debug
2015-09-30 22:43:08 -04:00
Antoine Beaupré
2d1988179e
some debugging code
2015-09-30 22:41:38 -04:00
Antoine Beaupré
e88a994c8a
reshuffle and document
2015-09-30 22:41:21 -04:00
Antoine Beaupré
9ab1e1961e
keyfile conversion code
2015-09-30 22:37:39 -04:00
Antoine Beaupré
de54228809
first stab at an attic-borg converter
...
for now, just in the test suite, but will be migrated to a separate command
2015-09-30 21:08:47 -04:00
Antoine Beaupré
a2cf0025c2
add automatically generated API
...
this is a crude hack for now, and could use a better table of contents
but at least we have some way of linking and showing the different
internal functions
the next phase here is obviously to document that API through the
addition of docstrings. a static api.rst could also be easier to read,
but maybe that could go through some docstrings as well, to be tested
2015-09-30 18:35:57 -04:00
Antoine Beaupré
b72d955c3e
remove api file introduced by mistake in #228
2015-09-30 18:33:45 -04:00
TW
3b1fae6b34
Merge pull request #228 from anarcat/faster-usage
...
generate usage include files only as needed
2015-10-01 00:03:12 +02:00
Antoine Beaupré
50e7d0f345
more human-readable output in usage generation
2015-09-30 17:42:18 -04:00
Antoine Beaupré
e3433f433c
generate usage include files only as needed
...
right now, the update_usage script regenerates the usage files at
every call
by moving this into the makefile, we make those files be generated
only when the source file change, which makes testing docs much faster
2015-09-30 17:30:56 -04:00
Thomas Waldmann
967963e17d
Vagrantfile: remove usage, it is in the development docs now
2015-09-30 17:42:20 +02:00
Thomas Waldmann
bc9679f0e5
development docs: update / fix / add Vagrant section
...
thanks to level323 for the vagrant docs
2015-09-30 17:38:51 +02:00
Thomas Waldmann
ba5fa0ba99
update / improve / reformat FAQ
...
- reduce redundancy (platforms are documented in README.rst)
- reformat to 80 chars width
- clarify checkpoints
- remove workarounds for stuff that was fixed
2015-09-30 17:13:22 +02:00
Thomas Waldmann
6aca4694fe
fix segment entry header size check, attic issue #352
...
it only checked for too big sizes, but not for too small ones.
that made it die with a ValueError and not raise the appropriate IntegrityError
that gets handled in check() and triggers the repair attempt for the segment.
2015-09-30 16:10:50 +02:00
Thomas Waldmann
a3d967bdff
hint to single-file pyinstaller binaries from README
2015-09-28 00:41:40 +02:00
Thomas Waldmann
507752f39a
update CHANGES
2015-09-28 00:34:18 +02:00
Thomas Waldmann
524ca297ea
document binary and non-binary requirements
2015-09-28 00:22:20 +02:00
Thomas Waldmann
4a71613f14
modularize Vagrantfile, use centos6 boxes for building the binaries
...
for building binaries that run everywhere, we need to love old stuff like centos6,
because it has the oldest glibc version which we want to support.
use 768MB for 64bit machines (not 512)
2015-09-28 00:05:52 +02:00
Thomas Waldmann
86502d2729
docs: explain --read-special in more detail, fixes #220
2015-09-26 14:24:37 +02:00
Thomas Waldmann
22f335e0a0
docs: add how to build wheels and standalone binaries
2015-09-21 21:48:46 +02:00
Thomas Waldmann
7dbe2b80b3
docs: add a note about the single-file binaries
2015-09-21 21:28:18 +02:00
Thomas Waldmann
c557613e3a
vagrant: darwin: give configure options so libpython gets build
...
it is needed by pyinstaller to build the borg binary
2015-09-21 21:20:33 +02:00
Thomas Waldmann
9dc98eeb45
vagrant: add py3.4 for precise/trusty, install pyinstaller
...
also: source .profile so the PATH is ok
2015-09-20 22:22:40 +02:00
Thomas Waldmann
4410f1c3c3
docs: must run make html after tagging, so the html titel says correct version
2015-09-19 22:38:00 +02:00
Thomas Waldmann
688488d62d
docs: must run make html before release
2015-09-19 22:20:41 +02:00
Thomas Waldmann
507d90f476
MANIFEST.in: add some more excludes
2015-09-19 22:17:46 +02:00
Thomas Waldmann
d4de0fd019
remove remainders of versioneer, typo fix.
2015-09-19 21:44:40 +02:00
Thomas Waldmann
0f68f1ccd1
add docs about release process
2015-09-19 21:35:02 +02:00