Commit Graph

61 Commits

Author SHA1 Message Date
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Martin Weinelt
541bab0533 borgbackup: 1.1.14 -> 1.1.15 2020-12-25 23:29:17 +01:00
Arnout Engelen
5fd1bffa3b
borgbackup: update description
While it is true borg started as a fork of Attic, this is ancient history.

'attic fork' confused me, suggesting this was some custom fork of borgbackup
instead of the regular version.
2020-10-16 16:21:36 +02:00
Martin Weinelt
c161b0526c
borgbackup: 1.1.13 -> 1.1.14
https://github.com/borgbackup/borg/blob/1.1.14/docs/changes.rst#version-1114-2020-10-07
2020-10-07 03:01:09 +02:00
Martin Weinelt
7fb84ea2f6
borgbackup: 1.1.11 -> 1.1.13 2020-06-07 01:18:54 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Martin Weinelt
dbff9b5479
borgbackup: 1.1.10 → 1.1.11
Version 1.1.11 (2020-03-08)

Compatibility notes:

    When upgrading from borg 1.0.x to 1.1.x, please note:
        read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
        borg upgrade: you do not need to and you also should not run it.
        borg might ask some security-related questions once after upgrading. You can answer them either manually or via environment variable. One known case is if you use unencrypted repositories, then it will ask about a unknown unencrypted repository one time.
        your first backup with 1.1.x might be significantly slower (it might completely read, chunk, hash a lot files) - this is due to the --files-cache mode change (and happens every time you change mode). You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible mode (but that is less safe for detecting changed files than the default). See the --files-cache docs for details.
    1.1.11 removes WSL autodetection (Windows 10 Subsystem for Linux). If WSL still has a problem with sync_file_range, you need to set BORG_WORKAROUNDS=basesyncfile in the borg process environment to work around the WSL issue.

Fixes:

    fixed potential index corruption / data loss issue due to bug in hashindex_set, #4829 Please read and follow the more detailled notes close to the top of this document.
    upgrade bundled xxhash to 0.7.3, #4891 0.7.2 is the minimum requirement for correct operations on ARMv6 in non-fixup mode, where unaligned memory accesses cause bus errors. 0.7.3 adds some speedups and libxxhash 0.7.3 even has a pkg-config file now.
    upgrade bundled lz4 to 1.9.2
    upgrade bundled zstd to 1.4.4
    fix crash when upgrading erroneous hints file, #4922
    extract:
        fix KeyError for "partial" extraction, #4607
        fix "partial" extract for hardlinked contentless file types, #4725
        fix preloading for old (0.xx) remote servers, #4652
        fix confusing output of borg extract --list --strip-components, #4934
    delete: after double-force delete, warn about necessary repair, #4704
    create: give invalid repo error msg if repo config not found, #4411
    mount: fix FUSE mount missing st_birthtime, #4763 #4767
    check: do not stumble over invalid item key, #4845
    info: if the archive doesn't exist, print a pretty message, #4793
    SecurityManager.known(): check all files, #4614
    Repository.open: use stat() to check for repo dir, #4695
    Repository.check_can_create_repository: use stat() to check, #4695
    fix invalid archive error message
    fix optional/non-optional location arg, #4541
    commit-time free space calc: ignore bad compact map entries, #4796
    ignore EACCES (errno 13) when hardlinking the old config, #4730
    --prefix / -P: fix processing, avoid argparse issue, #4769

New features:

    enable placeholder usage in all extra archive arguments
    new BORG_WORKAROUNDS mechanism, basesyncfile, #4710
    recreate: support --timestamp option, #4745
    support platforms without os.link (e.g. Android with Termux), #4901 if we don't have os.link, we just extract another copy instead of making a hardlink.
    support linux platforms without sync_file_range (e.g. Android 7 with Termux), #4905

Other:

    ignore --stats when given with --dry-run, but continue, #4373
    add some ProgressIndicator msgids to code / fix docs, #4935
    elaborate on "Calculating size" message
    argparser: always use REPOSITORY in metavar, also use more consistent help phrasing.
    check: improve error output for matching index size, see #4829
    docs:
        changelog: add advisory about hashindex_set bug #4829
        better describe BORG_SECURITY_DIR, BORG_CACHE_DIR, #4919
        infos about cache security assumptions, #4900
        add FAQ describing difference between a local repo vs. repo on a server.
        document how to test exclusion patterns without performing an actual backup
        timestamps in the files cache are now usually ctime, #4583
        fix bad reference to borg compact (does not exist in 1.1), #4660
        create: borg 1.1 is not future any more
        extract: document limitation "needs empty destination", #4598
        how to supply a passphrase, use crypto devices, #4549
        fix osxfuse github link in installation docs
        add example of exclude-norecurse rule in help patterns
        update macOS Brew link
        add note about software for automating backups, #4581
        AUTHORS: mention copyright+license for bundled msgpack
        fix various code blocks in the docs, #4708
        updated docs to cover use of temp directory on remote, #4545
        add restore docs, #4670
        add a pull backup / push restore how-to, #1552
        add FAQ how to retain original paths, #4532
        explain difference between --exclude and --pattern, #4118
        add FAQs for SSH connection issues, #3866
        improve password FAQ, #4591
        reiterate that 'file cache names are absolute' in FAQ
    tests:
        cope with ANY error when importing pytest into borg.testsuite, #4652
        fix broken test that relied on improper zlib assumptions
        test_fuse: filter out selinux xattrs, #4574
    travis / vagrant:
        misc python versions removed / changed (due to openssl 1.1 compatibility) or added (3.7 and 3.8, for better borg compatibility testing)
        binary building is on python 3.5.9 now
    vagrant:
        add new boxes: ubuntu 18.04 and 20.04, debian 10
        update boxes: openindiana, darwin, netbsd
        remove old boxes: centos 6
        darwin: updated osxfuse to 3.10.4
        use debian/ubuntu pip/virtualenv packages
        rather use python 3.6.2 than 3.6.0, fixes coverage/sqlite3 issue
        use requirements.d/development.lock.txt to avoid compat issues
    travis:
        darwin: backport some install code / order from master
        remove deprecated keyword "sudo" from travis config
        allow osx builds to fail, #4955 this is due to travis-ci frequently being so slow that the OS X builds just fail because they exceed 50 minutes and get killed by travis.
2020-03-08 14:00:40 +01:00
Andrew Childs
128db1b3f0 borgbackup: use llfuse on darwin 2020-01-25 12:59:31 +09:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Florian Klink
5d4b383e20 borgbackup: remove custom msgpack-python override, use bundled version
https://github.com/borgbackup/borg/blob/1.1.10/docs/changes.rst#version-1110-2019-05-16
mentions borgbackup now shipping a supported msgpack-python release, and
strongly encourages using that one.

So don't pass any msgpack-python into the build, and use the provided
one.
2019-05-21 14:36:23 +02:00
R. RyanTM
f4b8412198 borgbackup: 1.1.9 -> 1.1.10
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/borgbackup/versions
2019-05-21 00:16:26 -07:00
Robert Schütz
9f275067b3 borgbackup: use msgpack-python-0.5.6 2019-02-17 14:40:49 +01:00
Robert Schütz
9c5ca86247 borgbackup: 1.1.8 -> 1.1.9
Changelog: https://borgbackup.readthedocs.io/en/stable/changes.html#version-1-1-9-2019-02-10
2019-02-11 09:43:36 +01:00
Robert Schütz
3adf8427d2 borgbackup: 1.1.7 -> 1.1.8 2018-12-09 18:01:54 +01:00
Justin Humm
0cfc923813
borgbackup: patch bug that allowed for exceeding quotas
See also https://github.com/borgbackup/borg/issues/4093 for this.
2018-10-06 23:53:06 +02:00
Robert Schütz
01639b0e63 borgbackup: 1.1.6 -> 1.1.7 (#44933) 2018-08-13 00:16:34 +02:00
Robert Schütz
2b1daeb285 borgbackup: 1.1.5 -> 1.1.6 2018-06-11 17:22:24 +02:00
Johannes Frankenau
bb07e8903d borgbackup: install shell completions 2018-05-13 22:50:25 +02:00
Robert Schütz
406749c82c borgbackup: use system zstd 2018-04-16 08:32:28 +02:00
André-Patrick Bubel
232e0386cd
borgbackup: add blake2 library to build inputs 2018-04-15 23:58:09 +02:00
Robert Schütz
7513208cd3 borgbackup: 1.1.4 -> 1.1.5 2018-04-01 18:44:53 +02:00
Eric Wolf
e2859068b1 pythonPackages.msgpack: renamed to msgpack-python 2018-02-10 14:47:19 +01:00
Frederik Rietdijk
1623c8371c buildPythonPackage: rename nix_run_setup.py to nix_run_setup
If the extension is .py it tends to be picked up by tools, breaking for
example tests.
2018-01-20 13:31:14 +01:00
Tobias Geerinckx-Rice
0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00
Bart Brouns
904ac3185f borgbackup: 1.1.3 -> 1.1.4 2018-01-02 05:14:59 +01:00
Aristid Breitkreuz
c4a5ab728b borg: 1.1.1 -> 1.1.3 2017-12-10 14:26:03 +01:00
Martin Bornhold
629e17b9fd borgbackup: Add llfuse to propagated build inputs if not on darwin
The llfuse package depends on fuse which refuses to build on darwin. But
according to a comment in the setup.py of borgbackup [1] it's ok to leave it out
if it's not available. Most of borgbackup should work without it. Would be great
to make it work on darwin but i am not sure if it's possible to get fuse to work
on darwin. I do not know enough about it ;)

After this modification at least the "borg mount" subcommand is broken due to
the missing llfuse module. But the rest seems to work normally.

[1] 72232a9bd5/setup.py (L32)
2017-11-15 17:49:33 +01:00
Martin Bornhold
b159ed5069 borgbackup: Add acl library to build inputs on linux platform
The acl libraray is only required by the borgbackup package if building on a
linux platform. Adding it only in this case should be fine. Also see the
conditional in the setup.py at [1].

[1] 72232a9bd5/setup.py (L768)
2017-11-15 17:49:33 +01:00
Frederik Rietdijk
bd7074961a
Merge pull request #30897 from flokli/borgbackup-ssh
borgbackup: fix ssh binary location
2017-10-29 12:16:19 +01:00
Florian Klink
f3b311af44 borgbackup: fix ssh binary location
Otherwise, borg might be unable to find its location
2017-10-28 22:05:45 +02:00
Florian Klink
08e06e7d22 borgbackup: add flokli as maintainer 2017-10-28 22:05:37 +02:00
Johannes Frankenau
8f3a2d6991 borgbackup: 1.1.0 -> 1.1.1 2017-10-26 17:14:23 +02:00
Kirill
a63ebf6a77 Change required documentation theme to sphinx_guzzle_theme from #30334 2017-10-12 11:17:24 +03:00
Kirill
9fa341c989 Rebase on nixos-unstable, fix hash. 2017-10-11 12:48:46 +03:00
Kirill
581b7755ed borgbackup: 1.0.11 -> 1.1.0 2017-10-11 12:44:13 +03:00
Franz Pletz
4a810fb31d
borgbackup: fix build with python36
cffi fails to build with python34.
2017-09-10 16:27:12 +02:00
Johannes Frankenau
c6e52bc430 borgbackup: 1.0.10 -> 1.0.11 2017-07-24 19:04:07 +02:00
Bjørn Forsman
5f1398ce13 borgbackup: 1.0.9 -> 1.0.10 2017-03-05 21:14:59 +01:00
Joachim Fasting
5195e0d70f
borgbackup: cleanup inputs
tox/detox are removed; they are used to test multiple python
implementations in parallel, which isn't really appropriate for a Nix
install check.  Also, because these were added to the propagated build
inputs, lots of unnecessary stuff ended up in the resulting closure.
Note that removing tox does not imply tests are not run; they never were
to begin with; this is a separate issue.

This fixes https://github.com/NixOS/nixpkgs/issues/16171

Also, for "correctness" ordinary build-time dependencies are added to
`buildInputs`; only inputs that are to be added to the python path are
added to `propagatedBuildInputs`.
2016-12-31 21:58:41 +01:00
Bjørn Forsman
7fda8db891 borgbackup: 1.0.8 -> 1.0.9 (security fixes)
And bug fixes. Changelog:

https://github.com/borgbackup/borg/blob/1.0.9/docs/changes.rst#version-109-2016-12-20
2016-12-24 13:36:04 +01:00
Bjørn Forsman
ee40829097 borgbackup: 1.0.7 -> 1.0.8 2016-10-31 22:25:50 +01:00
Michael Alan Dorman
739b058779 Fix borgbackup dependency on lz4 2016-09-09 11:24:15 -04:00
Bjørn Forsman
1ba0ef1c73 borgbackup: 1.0.6 -> 1.0.7 2016-08-28 10:50:42 +02:00
Tobias Geerinckx-Rice
0e003d39bc
borgbackup: 1.0.5 -> 1.0.6 2016-08-04 00:25:20 +02:00
Tobias Geerinckx-Rice
3970c6da5e
borgbackup: 1.0.4 -> 1.0.5
This update slipped in between 1.0.4 and me pushing 276448a. Upstream says:

This is a critical bugfix release - upgrading to it is strongly recommended!
Please read https://github.com/borgbackup/borg/blob/1.0.5/docs/changes.rst.
2016-07-08 20:52:39 +02:00
Tobias Geerinckx-Rice
276448a477
borgbackup: 1.0.3 -> 1.0.4
Take Pypi's hint and switch to GitHub.
2016-07-08 20:39:46 +02:00
Vladimír Čunát
0b192a0976 Merge branch 'master' into staging
That's to get mesa rebuild from master, as it's nontrivial.
2016-05-23 09:02:10 +02:00
Tobias Geerinckx-Rice
b1f6a10e1e
borgbackup: 1.0.2 -> 1.0.3
Changes: https://github.com/borgbackup/borg/blob/1.0.3/docs/changes.rst
2016-05-21 14:23:27 +02:00