From a1885b309ceb50afddf3b6cf758b3569e942ecbb Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 22 Sep 2011 22:03:10 +0200 Subject: //cholerab: cleanup structure --- cholerab/HACKING/git | 6 ------ cholerab/HACKING/git/log-follow | 6 ++++++ cholerab/HACKING/git/remove-submodule | 5 +++++ cholerab/cockbook/git/remove-submodule | 5 ----- cholerab/reaktor/priviliged_functions | 24 ------------------------ 5 files changed, 11 insertions(+), 35 deletions(-) delete mode 100644 cholerab/HACKING/git create mode 100644 cholerab/HACKING/git/log-follow create mode 100644 cholerab/HACKING/git/remove-submodule delete mode 100644 cholerab/cockbook/git/remove-submodule delete mode 100644 cholerab/reaktor/priviliged_functions diff --git a/cholerab/HACKING/git b/cholerab/HACKING/git deleted file mode 100644 index 5bdc41bd..00000000 --- a/cholerab/HACKING/git +++ /dev/null @@ -1,6 +0,0 @@ -# preserve history after move -you do not have to [✈], simply use: - git log --follow . - - -[✈] http://stackoverflow.com/questions/2314652/is-it-possible-to-move-rename-files-in-git-and-maintain-their-history diff --git a/cholerab/HACKING/git/log-follow b/cholerab/HACKING/git/log-follow new file mode 100644 index 00000000..5bdc41bd --- /dev/null +++ b/cholerab/HACKING/git/log-follow @@ -0,0 +1,6 @@ +# preserve history after move +you do not have to [✈], simply use: + git log --follow . + + +[✈] http://stackoverflow.com/questions/2314652/is-it-possible-to-move-rename-files-in-git-and-maintain-their-history diff --git a/cholerab/HACKING/git/remove-submodule b/cholerab/HACKING/git/remove-submodule new file mode 100644 index 00000000..da8a1b00 --- /dev/null +++ b/cholerab/HACKING/git/remove-submodule @@ -0,0 +1,5 @@ +Delete the relevant line from the .gitmodules file. +Delete the relevant section from .git/config. +Run git rm --cached path_to_submodule (no trailing slash). +Commit and delete the now untracked submodule files. + diff --git a/cholerab/cockbook/git/remove-submodule b/cholerab/cockbook/git/remove-submodule deleted file mode 100644 index da8a1b00..00000000 --- a/cholerab/cockbook/git/remove-submodule +++ /dev/null @@ -1,5 +0,0 @@ -Delete the relevant line from the .gitmodules file. -Delete the relevant section from .git/config. -Run git rm --cached path_to_submodule (no trailing slash). -Commit and delete the now untracked submodule files. - diff --git a/cholerab/reaktor/priviliged_functions b/cholerab/reaktor/priviliged_functions deleted file mode 100644 index a673267e..00000000 --- a/cholerab/reaktor/priviliged_functions +++ /dev/null @@ -1,24 +0,0 @@ -Use Case 1: Request update on Host -================================= - -< user> bot: update -< bot> /whois user -< bot> /msg user [CHALLENGE] -< user> /msg bot [CHALLENGE-RESPONSE] -< bot> updating... -< bot> now on rev XXXXX - -Command Flow ----------------- -The bot has a locally stored list of [trusted] hosts along with their public -key, preferably from the tinc/retiolum directory. - -The bot encrypts a 1K Byte long message with the public key of the host -retrieved by the /whois command. - -This challenge is sent to the user requesting the command via private message. -The user then decrpyts the message with its own private key and sends the -decrpyted message to the bot. - -The bot then executes the requested command if the challenge is answered -correctly -- cgit v1.2.3