1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 09:19:31 +00:00
Commit graph

1581 commits

Author SHA1 Message Date
Thomas Waldmann
1093894be8 UpgradableLock: release exclusive lock in case of exceptions
also: add some comments about how to use the locks in the safest way
2015-11-21 16:53:33 +01:00
Thomas Waldmann
f19e95fcf7 implement --lock-wait, support timeout for UpgradableLock, fixes #210
also: simplify exceptions / exception handling
2015-11-21 15:34:51 +01:00
Thomas Waldmann
b3b4db427c rename print_info to print_verbose
better name as it is only outputting if verbose flag is set.
2015-11-21 02:26:50 +01:00
Thomas Waldmann
6abf7621c1 remove rarely used print_status method 2015-11-21 02:22:26 +01:00
Thomas Waldmann
25140e8c82 add --log-level to set the level of the builtin logging configuration, fixes #426 2015-11-21 02:09:16 +01:00
TW
e372dfb834 Merge pull request #422 from ThomasWaldmann/logging-config
configure logging via env var
2015-11-21 01:38:37 +01:00
Thomas Waldmann
c4dae52ca4 configure logging via env var, use LazyLogger
logging.raiseExceptions not needed any more for py >= 3.2
2015-11-21 01:14:07 +01:00
TW
a7eb83efa5 Merge pull request #419 from anarcat/no-progress
add a --no-progress flag to forcibly disable progress info
2015-11-20 20:08:39 +01:00
TW
5dda00c923 Merge pull request #435 from ThomasWaldmann/rtd-improvements
style changes of previous changeset did not work on rtd, try 2
2015-11-20 19:34:12 +01:00
Thomas Waldmann
42e9a77f5b style changes of previous changeset did not work on rtd, try 2 2015-11-20 19:32:04 +01:00
TW
3c121c207a Merge pull request #434 from ThomasWaldmann/rtd-improvements
rtd docs: color and logo improvements
2015-11-20 19:13:48 +01:00
Thomas Waldmann
077bcd0cde logo: have a separate, bigger logo (do not reuse the favicon)
currently just scaled up / converted to png from the favicon.ico.
2015-11-20 19:06:40 +01:00
Thomas Waldmann
87bb886705 rtd theme adjustment: borg darkness for the upper left corner 2015-11-20 18:51:11 +01:00
Thomas Waldmann
7a08368b65 fix html_theme_path overriding previous definition of it 2015-11-20 17:56:35 +01:00
Thomas Waldmann
57ffa4d648 more precise binary installation steps 2015-11-20 15:49:53 +01:00
Thomas Waldmann
67c85734ba upgrade OS X FUSE to 3.0.9, update release todo docs 2015-11-20 01:12:31 +01:00
Thomas Waldmann
b1ba7a84f0 --keep-tag-files: fix file status, fix multiple tag files in one directory, fixes #432 2015-11-19 20:03:50 +01:00
Thomas Waldmann
dcab7dd8a7 new mailing list borgbackup@python.org
also: remove mailing list and irc channel address from development docs,
it is enough to have this information on the main page and on the support page.
2015-11-18 15:40:23 +01:00
TW
04b4d63ffd Merge pull request #421 from ThomasWaldmann/datetime-iso-style
use ISO-8601 date and time format, fixes #375
2015-11-17 00:51:06 +01:00
Thomas Waldmann
2e64c29e01 use ISO-8601 date and time format, fixes #375 2015-11-16 23:51:21 +01:00
TW
3aa3148250 Merge pull request #418 from ThomasWaldmann/update-faq
FAQ entry about unexpected 'A' status for unchanged file(s), fixes #403
2015-11-16 21:43:41 +01:00
Thomas Waldmann
559c8908c1 add FAQ entry about unexpected 'A' status for unchanged file(s), fixes #403 2015-11-16 21:30:16 +01:00
Antoine Beaupré
9b1ca5c1eb force --no to be at the start of option 2015-11-16 15:26:50 -05:00
Antoine Beaupré
5be060d1f1 add a --no-progress flag to forcibly disable progress info
--progress isn't a "toggle" anymore, in that it will never disable progress information: always enable it.

example:

$ borg create ~/test/borg2::test$(date +%s) . ; echo ^shows progress
reading files cache
processing files
^shows progress
$ borg create ~/test/borg2::test$(date +%s) . < /dev/null; echo ^no progress
reading files cache
processing files
^no progress
$ borg create --progress ~/test/borg2::test$(date +%s) . < /dev/null; echo ^progress forced
reading files cache
processing files
^progress forced
$ borg create --no-progress ~/test/borg2::test$(date +%s) . ; echo ^no progress
reading files cache
processing files
^no progress

we introduce a ToggleAction that can be used for other options, but
right now is just slapped in there near the code, which isn't that
elegant. inspired by:

http://stackoverflow.com/questions/11507756/python-argparse-toggle-flags

note that this is supported out of the box by click:
http://click.pocoo.org/5/options/#boolean-flags

fixes #398
2015-11-16 11:27:27 -05:00
Thomas Waldmann
38472900af add 'E' file status to docs 2015-11-16 15:38:06 +01:00
TW
d387dedb7d Merge pull request #417 from anarcat/more-docs
More docs
2015-11-16 15:34:21 +01:00
Antoine Beaupré
917236231f correct ubuntu release number 2015-11-16 09:07:59 -05:00
Antoine Beaupré
3bbd3319a4 use 'distribution' more consistently 2015-11-15 22:43:08 -05:00
Antoine Beaupré
d78d6d60b1 turn distro list into a table, adding Debian, Ubuntu, OSX 2015-11-15 22:40:00 -05:00
Antoine Beaupré
2c3f3f1b07 install docs: don't use "from" twice
it always abstracts "pypi" and "github" away (technical words that are
not necessary). pip remains.
2015-11-15 22:20:07 -05:00
Thomas Waldmann
3a72fbe418 update CHANGES 2015-11-15 20:30:58 +01:00
Thomas Waldmann
0070ef0c4a minor install docs fixes 2015-11-15 20:23:33 +01:00
TW
eefc137ec9 Merge pull request #412 from anarcat/install-docs-nitpick
Install docs nitpick
2015-11-15 20:19:17 +01:00
TW
fac11608f6 Merge pull request #416 from ThomasWaldmann/pyinstaller-no-hidden-import
avoid hidden import, make it easy for pyinstaller
2015-11-15 16:32:31 +01:00
Thomas Waldmann
234a88bec6 avoid hidden import, make it easy for pyinstaller
this fixes #218 in an easier way so one doesn't have to type
--hidden-import=logging.config all the time when using pyinstaller.
2015-11-15 15:52:02 +01:00
TW
ff6e95534c Merge pull request #415 from ThomasWaldmann/flag-docs
add docs for item flags / status output, fixes #402
2015-11-15 14:50:04 +01:00
Thomas Waldmann
d6b8de943b add docs for item flags / status output, fixes #402 2015-11-15 14:32:19 +01:00
Antoine Beaupré
aa4c76872c move pyinstaller mention out of heading
pyinstaller probably means nothing for most people, while standalone binary is more meaningful
2015-11-14 21:08:28 -05:00
Antoine Beaupré
a8d2c18fee split packaging meta-info in a separate paragraph and link to github 2015-11-14 21:07:16 -05:00
Antoine Beaupré
9f8700e383 restructure install page headings
do not repeat "installation" all the time, and regroup git and pip under "from source"

also link to the sections in the summary
2015-11-14 21:03:38 -05:00
TW
44f54c427f Merge pull request #411 from jungle-boogie/patch-1
correct install link
2015-11-15 01:46:11 +01:00
jungle-boogie
5942b79740 correct install link 2015-11-14 16:13:25 -08:00
Thomas Waldmann
fd5ccadcac update CHANGES 2015-11-14 23:48:44 +01:00
TW
d52c09378d Merge pull request #408 from anarcat/static-usage
Static usage generation
2015-11-14 22:32:47 +01:00
Antoine Beaupré
811c18dcd4 explain how to regenerate usage and API files and when 2015-11-13 10:46:13 -05:00
Antoine Beaupré
8e36075fe9 commit usage files directly into git
the generation of those files was causing us way too much pain to
justify automatically generating them all the time.

those will have to be re-generated with `build_api` or `build_usage`
as appropriate, for example when function signatures or commandline
flags change.

see #384
2015-11-13 10:42:52 -05:00
Antoine Beaupré
f13dd6e579 completely remove have_cython() hack
this was making us require mock, which is really a test component and
shouldn't be part of the runtime dependencies. furthermore, it was
making the imports and the code more brittle: it may have been
possible that, through an environment variable, backups could be
corrupted because mock libraries would be configured instead of real
once, which is a risk we shouldn't be taking.

finally, this was used only to build docs, which we will build and
commit to git by hand with a fully working borg when relevant.

see #384.
2015-11-13 10:40:53 -05:00
Antoine Beaupré
f52fb410a5 Revert "use build_py to fix build on RTD", disables docs build
This reverts commit 86487d192a.

We will instead commit the generated `.rst` usage and API files
directly into git. The setup commands remain to generate them when the
usage or API changes, but as things are the hoops required to generate
those RST files are way too complicated to justify simply build docs.

See #384.

Conflicts:
	setup.py
2015-11-13 10:40:43 -05:00
TW
be73e7cb96 Merge pull request #396 from ThomasWaldmann/exclude_if_present
Exclude if present
2015-11-09 04:27:56 +01:00
Thomas Waldmann
7d178e09b0 Implement --keep-tag-files to preserve directory roots/tag-files
We also add --keep-tag-files to keep in the archive the root directory and the
tag/exclusion file in the archive.

This is taken from a attic PR (and adapted for borg):
    commit f61e22cacc90e76e6c8f4b23677eee62c09e97ac
    Author: Yuri D'Elia <yuri.delia@eurac.edu>
    Date:   Mon Dec 15 12:27:43 2014 +0100
2015-11-09 04:08:49 +01:00