[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/triples bf65ed2b31: Add backup strategy "never" to turn
From: |
ELPA Syncer |
Subject: |
[elpa] externals/triples bf65ed2b31: Add backup strategy "never" to turn off backups |
Date: |
Mon, 2 Jan 2023 21:58:15 -0500 (EST) |
branch: externals/triples
commit bf65ed2b311a6a13632ae758b054dc52fa292b90
Author: Andrew Hyatt <ahyatt@gmail.com>
Commit: Andrew Hyatt <ahyatt@gmail.com>
Add backup strategy "never" to turn off backups
Also set version to 0.2.1.
---
CHANGELOG.org | 2 ++
triples-backups.el | 4 ++++
triples.el | 2 +-
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.org b/CHANGELOG.org
index 66d4677898..c71b0515f2 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -1,5 +1,7 @@
TITLE: Changelog for the triples module for GNU Emacs.
+* 0.2.1
+- Add backup strategy =never=.
* 0.2
- Create a default database to encourage a shared triple database. Add
information on why this is an interesting idea in the README.
- Add support for backups of databases via =triples-backup=, and a simple way
to have a sane and shared backups created with the new =triples-backups= module.
diff --git a/triples-backups.el b/triples-backups.el
index 631f87b5d1..a239eb4749 100644
--- a/triples-backups.el
+++ b/triples-backups.el
@@ -71,6 +71,10 @@ FILENAME is also necessary for the backup operation."
"Backup strategy to do a backup on each change."
t)
+(defun triples-backups-strategy-never (_)
+ "Backup strategy to never do a backup."
+ nil)
+
(defun triples-backups-strategy-daily (last-update)
"Backup strategy to create a change daily at most.
LAST-UPDATE is the time of the last update."
diff --git a/triples.el b/triples.el
index 7d688896d0..d34b83eb42 100644
--- a/triples.el
+++ b/triples.el
@@ -6,7 +6,7 @@
;; Homepage: https://github.com/ahyatt/triples
;; Package-Requires: ((seq "2.0") (emacs "25"))
;; Keywords: triples, kg, data, sqlite
-;; Version: 0.2
+;; Version: 0.2.1
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 2 of the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/triples bf65ed2b31: Add backup strategy "never" to turn off backups,
ELPA Syncer <=