<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dss/snap.c, branch master</title>
<subtitle>DSS - dyadic snapshot scheduler</subtitle>
<id>https://git.tue.mpg.de/cgit/dss/atom?h=master</id>
<link rel='self' href='https://git.tue.mpg.de/cgit/dss/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/'/>
<updated>2025-02-01T19:11:59Z</updated>
<entry>
<title>Dedoxify the source.</title>
<updated>2025-02-01T19:11:59Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2024-10-22T18:01:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=5770e00c6e59528762be20610af6d8bd24d6872f'/>
<id>urn:sha1:5770e00c6e59528762be20610af6d8bd24d6872f</id>
<content type='text'>
The doxygen comments actually make the source code harder to read,
because they tend to document the obvious. Besides, they are not used
uniformly accross the code base anyway.
</content>
</entry>
<entry>
<title>get_snapshot_list(): Add comment about sorting.</title>
<updated>2019-09-21T13:08:40Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2019-02-10T11:05:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=fa415abf954777fd0064fd5cbe222f34126bd8ed'/>
<id>urn:sha1:fa415abf954777fd0064fd5cbe222f34126bd8ed</id>
<content type='text'>
Callers rely on the returned snapshot list being sorted by creation
time, so let's document this fact.
</content>
</entry>
<entry>
<title>Replace license boilerplate with single line SPDX comments.</title>
<updated>2017-11-19T01:53:25Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2017-11-06T00:12:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=1f5ecfacc341f893d73caa0a613d553af33a6cc9'/>
<id>urn:sha1:1f5ecfacc341f893d73caa0a613d553af33a6cc9</id>
<content type='text'>
This gets rid of existing copyright templates in favor of just the
one-liner SPDX (Software Package Data Exchange) notice. All files are
licensed under the GPL-2.0, so the same tag is added to each file. No
copyright is changed by this commit.

Several files (mostly the very short ones) did not contain a license
text so far. By default all files without license information are
under the default license of this package, which is GPL version 2.
This commit adds the missing SPDX line so that now all files except
dss.css, index.html.in, INSTALL, NEWS and README have it.

We also remove author and copyright year, since the author is the same
everywhere, and the year hasn't been updated any more since at least
six years. Accurate information is available from the git log.

The COPYING file can also be removed because the license text at
https://spdx.org/licenses/GPL-2.0.html is immutable.
</content>
</entry>
<entry>
<title>Assorted typo fixes in comments.</title>
<updated>2015-01-06T19:55:32Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2015-01-03T16:34:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=16f02580474d5f4a284863f48416a2a51fa78e85'/>
<id>urn:sha1:16f02580474d5f4a284863f48416a2a51fa78e85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'refs/heads/t/min-complete'</title>
<updated>2014-12-12T13:21:53Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2014-12-12T13:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=15eb99dcf9a30f8c8d488d5bc3c92130cf828d60'/>
<id>urn:sha1:15eb99dcf9a30f8c8d488d5bc3c92130cf828d60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce --min-complete.</title>
<updated>2014-09-16T16:26:36Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2014-02-18T13:16:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=b76728084d7b36d55e08764c9de42ad59fd6f6fd'/>
<id>urn:sha1:b76728084d7b36d55e08764c9de42ad59fd6f6fd</id>
<content type='text'>
Currently dss cowardly refuses to remove the last complete snapshot
even if disk space is low, and fails if there is not enough disk space
left for a second snapshot. However, in some situations it is more
important to have a recent snapshot and to to keep dss up and running.

This commit introduces a new integer option, --min-complete, which
defaults to one to resemble the old behaviour.

If it is set to zero, dss will happily remove the last complete
snapshot, even if it is used as the reference directory for rsync's
--link-dest option. This is dangerous, but it's the only way to keep
dss going.

Conversely, --min-complete may be set to a value greater than one
to guarantee there is always a certain number of complete snapshots
available.
</content>
</entry>
<entry>
<title>Change email address and URLs.</title>
<updated>2014-08-19T12:18:38Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2014-08-16T10:00:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=8daf8f3836e745ba07f1aa01252279588574c95a'/>
<id>urn:sha1:8daf8f3836e745ba07f1aa01252279588574c95a</id>
<content type='text'>
The web and email service of systemlinux.org was down for two
weeks. Meanwhile the dss web pages found a new home at the MPI campus
of Tübingen.

This commit changes the email addresses and the home page URL.
</content>
</entry>
<entry>
<title>Rename source files which also exist as system headers.</title>
<updated>2012-08-15T09:41:32Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2012-08-11T18:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73'/>
<id>urn:sha1:46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73</id>
<content type='text'>
As pointed out by Daniel Richard G. some of the dss header files
are named the same as system header files.

This patch renames these headers as well as their corresponding .c
files. Specifically, error.h, fd.h, signal.h, string.h and time.h
become err.h, file.h, sig.h, str.h and tv.h.
</content>
</entry>
<entry>
<title>Remove some debug messages.</title>
<updated>2012-08-04T11:34:54Z</updated>
<author>
<name>Daniel Richard G</name>
<email>skunk@iSKUNK.ORG</email>
</author>
<published>2012-08-02T18:04:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=9e6c2f5e801c5b192d8e25987ef1a326dce20d27'/>
<id>urn:sha1:9e6c2f5e801c5b192d8e25987ef1a326dce20d27</id>
<content type='text'>
These were only helpful during development and are commented out
for quite some time now. Remove them.
</content>
</entry>
<entry>
<title>compare_snapshots(): Add const keyword.</title>
<updated>2012-08-04T11:34:52Z</updated>
<author>
<name>Daniel Richard G</name>
<email>skunk@iSKUNK.ORG</email>
</author>
<published>2012-08-04T11:20:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=97fbf4e7ae1416c60e70657e5b918e9e0d129383'/>
<id>urn:sha1:97fbf4e7ae1416c60e70657e5b918e9e0d129383</id>
<content type='text'>
This fixes a "cast drops const qualifier" warning.
</content>
</entry>
</feed>
