[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/triples f8f7fa5a5f 5/7: Set the last-update-time when m
From: |
ELPA Syncer |
Subject: |
[elpa] externals/triples f8f7fa5a5f 5/7: Set the last-update-time when making a backup |
Date: |
Sun, 1 Jan 2023 14:58:17 -0500 (EST) |
branch: externals/triples
commit f8f7fa5a5f6634748058a20834379558ed984115
Author: Andrew Hyatt <ahyatt@gmail.com>
Commit: Andrew Hyatt <ahyatt@gmail.com>
Set the last-update-time when making a backup
If this isn't done, backups will start to happen every time we check, which
is
incorrect.
---
triples-backups.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/triples-backups.el b/triples-backups.el
index b60a2af3dc..631f87b5d1 100644
--- a/triples-backups.el
+++ b/triples-backups.el
@@ -64,7 +64,8 @@ FILENAME is also necessary for the backup operation."
:error))
(when (funcall (or (symbol-function strategy-func)
triples-backups-strategy-daily)
(time-convert (plist-get backup-info :last-update-time) t))
- (triples-backup db filename (plist-get backup-info :num-to-keep)))))
+ (triples-backup db filename (plist-get backup-info :num-to-keep))
+ (apply #'triples-set-type db 'database 'backup (plist-put backup-info
:last-update-time (time-convert (current-time) 'integer))))))
(defun triples-backups-strategy-every-change (_)
"Backup strategy to do a backup on each change."
- [elpa] externals/triples updated (d40e1754ae -> 0d7555226a), ELPA Syncer, 2023/01/01
- [elpa] externals/triples f8f7fa5a5f 5/7: Set the last-update-time when making a backup,
ELPA Syncer <=
- [elpa] externals/triples 0d7555226a 7/7: Fix minor misspelling, ELPA Syncer, 2023/01/01
- [elpa] externals/triples ac12a6b7fe 1/7: Add a default filename to encourage a shared triple database., ELPA Syncer, 2023/01/01
- [elpa] externals/triples 5d70bb0c0d 3/7: Add `triples-backups' module., ELPA Syncer, 2023/01/01
- [elpa] externals/triples 09a78f5b80 6/7: Add `triples-mode-subject', for renaming a subject., ELPA Syncer, 2023/01/01
- [elpa] externals/triples 5520bf8852 4/7: Note new triples-backups module in CHANGELOG.org., ELPA Syncer, 2023/01/01
- [elpa] externals/triples b961d0bf1b 2/7: Create `triples-backup' and some surrounding functionality., ELPA Syncer, 2023/01/01