Skip to content

Commit

Permalink
Merge pull request #114 from arcticicestudio/feature/gh-113-migrate-t…
Browse files Browse the repository at this point in the history
…o-git-crypt

Migrate to "git-crypt"
  • Loading branch information
arcticicestudio authored Sep 8, 2018
2 parents 8e47b17 + b079adb commit 4bb0d48
Show file tree
Hide file tree
Showing 21 changed files with 31 additions and 44 deletions.
4 changes: 4 additions & 0 deletions .git-crypt/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Do not edit this file. To specify the files to encrypt, create your own
# .gitattributes file in the directory where your files are.
* !filter !diff
*.gpg binary
Binary file not shown.
12 changes: 0 additions & 12 deletions snowblocks/git/git-diff-igloocrypt

This file was deleted.

4 changes: 3 additions & 1 deletion snowblocks/git/gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
# https://www.gnupg.org
# https://wiki.archlinux.org/index.php/GnuPG

*.igloocrypt filter=igloocrypt diff=igloocrypt
*.igloocrypt filter=git-crypt diff=git-crypt
.gitattributes !filter !diff
.gitignore !filter !diff
.gitmodules !filter !diff
23 changes: 8 additions & 15 deletions snowblocks/git/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@
# https://github.com/so-fancy/diff-so-fancy#options

[includeIf "gitdir:~/yggdrasil/"]
path = ~/.gitconfig_auth
path = ~/.gitconfig-auth

[includeIf "gitdir:~/code/bitbucket/"]
path = ~/.gitconfig_auth
path = ~/.gitconfig-auth

[includeIf "gitdir:~/code/bitfroest/"]
path = ~/.gitconfig_auth
path = ~/.gitconfig-auth

[includeIf "gitdir:~/code/github/"]
path = ~/.gitconfig_auth
path = ~/.gitconfig-auth

[includeIf "gitdir:~/code/gitlab/"]
path = ~/.gitconfig_auth
path = ~/.gitconfig-auth

[includeIf "gitdir:~/code/incubator/"]
path = ~/.gitconfig_auth
path = ~/.gitconfig-auth

[includeIf "gitdir:~/.igloo/"]
path = ~/.gitconfig_auth
path = ~/.gitconfig-auth

[includeIf "gitdir:~/code/job/"]
path = ~/.gitconfig_auth_job
path = ~/.gitconfig-auth-job

[core]
repositoryFormatVersion = 0
Expand All @@ -54,9 +54,6 @@
tool = intellij
compactionHeuristic = true

[diff "igloocrypt"]
textconv = "~/.git-diff-igloocrypt"

[difftool "intellij"]
prompt = true
cmd = idea diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE")
Expand All @@ -70,10 +67,6 @@
[interactive]
diffFilter = diff-so-fancy

[filter "igloocrypt"]
clean = "gpg --encrypt --recipient 60C54F1519346085"
smudge = "gpg --decrypt"

[merge]
tool = intellij
ff = false
Expand Down
Binary file added snowblocks/git/gitconfig-auth-job.igloocrypt
Binary file not shown.
Binary file added snowblocks/git/gitconfig-auth-svengreb.igloocrypt
Binary file not shown.
Binary file added snowblocks/git/gitconfig-auth.igloocrypt
Binary file not shown.
5 changes: 0 additions & 5 deletions snowblocks/git/gitconfig_auth

This file was deleted.

Binary file removed snowblocks/git/gitconfig_auth_job.igloocrypt
Binary file not shown.
19 changes: 12 additions & 7 deletions snowblocks/git/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,23 @@
}
},
"~/.git-commit-msg": null,
"~/.git-diff-igloocrypt": null,
"~/.gitconfig": null,
"~/.gitconfig_auth": {
"~/.gitconfig-auth": {
"hosts": {
"archbook": "gitconfig_auth",
"igloo": "gitconfig_auth"
"archbook": "gitconfig-auth",
"igloo": "gitconfig-auth"
}
},
"~/.gitconfig_auth_job": {
"~/.gitconfig-auth-svengreb": {
"hosts": {
"archbook": "gitconfig_auth_job.igloocrypt",
"igloo": "gitconfig_auth_job.igloocrypt"
"archbook": "gitconfig-auth-svengreb",
"igloo": "gitconfig-auth-svengreb"
}
},
"~/.gitconfig-auth-job": {
"hosts": {
"archbook": "gitconfig-auth-job.igloocrypt",
"igloo": "gitconfig-auth-job.igloocrypt"
}
},
"~/.gitignore": null
Expand Down
Binary file not shown.
Binary file added snowblocks/tilix/bookmarks-igloo.json.igloocrypt
Binary file not shown.
Binary file removed snowblocks/tilix/bookmarks.json.archbook.igloocrypt
Binary file not shown.
Binary file removed snowblocks/tilix/bookmarks.json.igloo.igloocrypt
Binary file not shown.
4 changes: 2 additions & 2 deletions snowblocks/tilix/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"~/.config/tilix/bookmarks.json": {
"create": true,
"hosts": {
"archbook": "bookmarks.json.archbook.igloocrypt",
"igloo": "bookmarks.json.igloo.igloocrypt"
"archbook": "bookmarks-archbook.json.igloocrypt",
"igloo": "bookmarks-igloo.json.igloocrypt"
}
}
}
Expand Down
Binary file added snowblocks/xdg/gtk-3.0/bookmarks-archbook.igloocrypt
Binary file not shown.
Binary file added snowblocks/xdg/gtk-3.0/bookmarks-igloo.igloocrypt
Binary file not shown.
Binary file removed snowblocks/xdg/gtk-3.0/bookmarks.archbook.igloocrypt
Binary file not shown.
Binary file removed snowblocks/xdg/gtk-3.0/bookmarks.igloo.igloocrypt
Binary file not shown.
4 changes: 2 additions & 2 deletions snowblocks/xdg/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"create": true,
"force": true,
"hosts": {
"archbook": "gtk-3.0/bookmarks.archbook.igloocrypt",
"igloo": "gtk-3.0/bookmarks.igloo.igloocrypt"
"archbook": "gtk-3.0/bookmarks-archbook.igloocrypt",
"igloo": "gtk-3.0/bookmarks-igloo.igloocrypt"
}
},
"~/.local/share/applications/atom.desktop": {
Expand Down

0 comments on commit 4bb0d48

Please sign in to comment.