Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Summain default has changed, so to be compatible with old
summain output files, we have to force the checksum algorithm to what
the old default was.
|
|
There needs to be some whitspace after the FIFO tag, otherwise k4dirstat
(silently!) stops parsing at this entry.
This was wrong in the initial commit to add FIFO support to kdirstat
4ce858d7c593 ("kdirstat: Handled named pipes (fifos)"), manual testing at the
time apparently only verified that the file was generated, not that it was
valid, sorry.
I updated the test yarns to also check for FIFO, however this is only run
"ASSUMING extended attributes are allowed for users", which does not appear to
be the case on my system. Also the testshould probably test for all sorts of
files, not just regular and FIFO.
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
|
|
|
|
This used to assume things of gpg's output, which break when gpg
becomes version 2.1.something. This changed version of the step should
hopefully work with either version of gpg.
|
|
|
|
This used to work, but a recent change to yarn broke it. The change is
that yarn now supports (or its next release will do so) arbitrary
language for IMPLEMENTS, and as a result yarn no longer puts empty
lines between files it concatenates and feeds to the shell.
|
|
|
|
Yarn now does that automatically.
|
|
For some reason this was missing from the mode_str lookup, it is the only type
listed on
https://github.com/thomas-joiner/k4dirstat/blob/master/kdirstat/cache-file-format.txt
which wasn't handled.
For unknown file types emit a commented "#UNHANDLED ..." line rather than
crashing with a backtrace.
Add a yarn for this scenario, although I've not been able to run it due to
"ASSUMING extended attributes are allowed for users".
Real world use has been tested by Florian Geyer,
http://listmaster.pepperfish.net/pipermail/obnam-support-obnam.org/2015-September/003836.html
Cc: Florian Geyer <blueice@fobos.de>
|
|
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
|
|
|
|
|
|
|
|
This has never worked, *sigh*.
|
|
|
|
It seems CentOS 6 has a version of gpg that says "No secret key"
instead of "secret key not available". Fixed yarns to check for that.
Reported-by: Dennis Jacobfeuerborn
|
|
|
|
|
|
|
|
|
|
|
|
On Sat, 2014-12-06 at 19:15 +0200, Lars Wirzenius wrote:
> On Sun, Nov 16, 2014 at 11:24:11AM +0000, Ian Campbell wrote:
> > This implements an ls variant whose output format is compatible with the
> > kdirstat cache format. The best reference I can find for this is from an old fork:
> > https://github.com/thomas-joiner/k4dirstat/blob/master/kdirstat/cache-file-format.txt
> >
> > Recent versions of k4dirstat appear to be able to read the files produced just
> > fine, although this document is not present in their source AFAICT.
> >
> > I find k4dirstat to be an excellent way to visualise what is included in a
> > backup, e.g. for the purposes of excluding file types or marking directories
> > with a CACHEDIR.TAG. My previous solution involved post-processing the output
> > of ls which require a ssh to the machine with the files (for stat() purposes).
> > This approach pulls all of the data out of the obnam repo, so is much faster,
> > less hacky and gets the status of the actual generation and not the current
> > files etc.
>
> Thank you, Ian. I've applied the patch and pushed the changes to
> master on git.liw.fi.
Thanks.
> It would be nice if someone wrote a test case for this (in yarn form),
> so that I'll notice when I break it.
Your wish etc etc... (it even found a bug!)
8<----------------
>From 8f1aecfee8ec34e5d060f81ee47f9fd8aacdc201 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@hellion.org.uk>
Date: Sun, 7 Dec 2014 15:19:57 +0000
Subject: [PATCH] Add a yarn for testing kdirstat cachefile generation.
Rather simplistic, but caught one bug (unwanted newline at start of file) which
is also fixed here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add test case. Fix code.
Reported-by: Junyx
|
|
|
|
|
|
|
|
Doing this exposed a bug in yarn, which meant that the test needs a
newer yarn to run. (Not yet released.)
|
|
Merge branch 'liw/enc-cmdtest-conv'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Remove use of extended attributes from some tests.
Make the remaining tests be conditional on whether
extended attributes actually work in the temporary
directory (in the user.* namespace).
|