[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/zuul ef4dba22c6 11/17: Increase anonymity
From: |
ELPA Syncer |
Subject: |
[elpa] externals/zuul ef4dba22c6 11/17: Increase anonymity |
Date: |
Tue, 30 Aug 2022 11:58:25 -0400 (EDT) |
branch: externals/zuul
commit ef4dba22c6de7a0f5cacb2a89a5f0cb120e26319
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Increase anonymity
---
notes.org | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/notes.org b/notes.org
index 34aa58d165..a013454e9d 100644
--- a/notes.org
+++ b/notes.org
@@ -142,12 +142,20 @@ Add functions used to =anonymize= data.
(insert command)
(unpackaged/lorem-ipsum-overlay t)
(buffer-string))))
+
+ (defun zuul-anonymize-playbook-name (data)
+ (with-temp-buffer
+ (insert (let-alist (plist-get data ':playbook)
+ .playbook))
+ (unpackaged/lorem-ipsum-overlay t)
+ (buffer-string)))
#+end_src
Add =advices= around functions that could be sensitive.
#+begin_src elisp :results none
(advice-add 'zuul--data-host-cmd-str :override #'zuul-anonymize-task-command)
+ (advice-add 'zuul--data-playbook-name-str :override
#'zuul-anonymize-playbook-name)
(advice-add 'url-insert-file-contents :around
#'zuul-anonymize-silence-messages)
(advice-add 'compile-goto-error :around #'zuul-anonymize-silence-messages)
(advice-add 'compile-goto-error :after #'zuul-anonymize-buffer)
@@ -160,6 +168,7 @@ Remove advices and settings to restore original behavior.
#+begin_src elisp :results none
(advice-remove 'zuul--data-host-cmd-str #'zuul-anonymize-task-command)
+ (advice-remove 'zuul--data-playbook-name-str #'zuul-anonymize-playbook-name)
(advice-remove 'url-insert-file-contents #'zuul-anonymize-silence-messages)
(advice-remove 'compile-goto-error #'zuul-anonymize-silence-messages)
(advice-remove 'compile-goto-error #'zuul-anonymize-buffer)
- [elpa] externals/zuul 36fb6e7a13 15/17: Address feedback from package-lint, (continued)
- [elpa] externals/zuul 36fb6e7a13 15/17: Address feedback from package-lint, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul c3e69263ce 14/17: Update command section in README, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul b14fb97cc0 03/17: Replace keybinding for eldoc-mode, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul c15f79d769 07/17: Add previous/next command in build log, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 982b0eac12 09/17: Add faces for prompt and input in zuul build, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 83f68268cc 01/17: Add LICENSE file, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 58af096228 04/17: Update output to contain cmd as well, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul aecdb85b15 02/17: Add zuul.el, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul ad20c55828 17/17: Update required Emacs version, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul d58e139493 08/17: Update zuul-open-build-log implementation, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul ef4dba22c6 11/17: Increase anonymity,
ELPA Syncer <=
- [elpa] externals/zuul 3c0e5ccd4e 16/17: Address feedback from checkdoc, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 02c7f26463 12/17: Version 0.2, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 22d942a78c 13/17: Bump header version in zuul.el, ELPA Syncer, 2022/08/30