meta: various changes

Summary:
- remove vscode submodule
- git mv git(config|ignore).sample to default.git(config|ignore)
- more rules for editorconfig, alphabetize
- enforce ^
- mv REAMDE.wiki to REAMDE.md but forgot git mv (markup difference would've made them different enough anyway)
- gitconfig to new identity
- change gpg.conf default too

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Read the Diff ™️.

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D18
This commit is contained in:
revi 2024-05-03 12:27:50 +09:00
parent 85c3adc9fc
commit 7dcaa2e6da
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94
14 changed files with 65 additions and 73 deletions

View file

@ -1,3 +1,3 @@
{ {
"phabricator.uri": "https://issuetracker.revi.xyz" "phabricator.uri": "https://issuetracker.revi.xyz"
} }

View file

@ -15,5 +15,5 @@
alias py='python3' alias py='python3'
# Python2 as py2 # Python2 as py2
alias py2='python' alias py2='python'
# tailscale (temporary) # tailscale (just for my old laptop - locally uncheck this.)
alias tailscale='$HOME/go/bin/tailscale' # alias tailscale='$HOME/go/bin/tailscale'

View file

@ -116,4 +116,4 @@
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"
# Don't check mail when opening terminal. # Don't check mail when opening terminal.
unset MAILCHECK unset MAILCHECK

View file

@ -3,8 +3,8 @@
root = true root = true
[*] [*]
charset = utf-8
end_of_line = lf end_of_line = lf
charset = utf-8
indent_size = tab indent_size = tab
indent_style = tab indent_style = tab
insert_final_newline = true insert_final_newline = true
@ -12,25 +12,25 @@ tab_width = 4
trim_trailing_whitespace = true trim_trailing_whitespace = true
[*.md] [*.md]
indent_style = space
indent_size = 2 indent_size = 2
indent_style = space
# Tabs may not be valid YAML # Tabs may not be valid YAML
# @see https://yaml.org/spec/1.2/spec.html#id2777534 # @see https://yaml.org/spec/1.2/spec.html#id2777534
[*.{yml,yaml}] [*.{sh,yml,yaml}]
indent_style = space
indent_size = 2 indent_size = 2
indent_style = space
# yaml-lint configuration # yaml-lint configuration
# YAML files should be indented with spaces, which .yamllint is # YAML files should be indented with spaces, which .yamllint is
[.yamllint] [.yamllint]
indent_style = space
indent_size = 2 indent_size = 2
indent_style = space
[*.sample] [default.git*]
indent_style = space
indent_size = 2 indent_size = 2
indent_style = space
[.git/**] [.git/**]
indent_style = space
indent_size = 2 indent_size = 2
indent_style = space

View file

@ -1,16 +1,16 @@
[alias] [alias]
co = checkout co = checkout
cm = commit -s cm = commit -s
st = status st = status
br = branch -v br = branch -v
fa = fetch --all fa = fetch --all
graph = log --pretty=format:\"%h %s\" --graph graph = log --pretty=format:\"%h %s\" --graph
fo = fetch origin fo = fetch origin
usync = rebase upstream/master usync = rebase upstream/master
osync = rebase origin/master osync = rebase origin/master
aal = add * aal = add *
po = push origin master po = push origin master
amend = commit --amend -s amend = commit --amend -s
cmt = commit -S -s cmt = commit -S -s
amends = commit --amend -S -s amends = commit --amend -S -s
acmt = commit -a -S -s acmt = commit -a -S -s

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "vscode"]
path = vscode
url = https://gist.github.com/6f8c8c173081ae98b229f3602d739589.git

View file

@ -1,4 +1,3 @@
# [Don't be an asshole and don't be tolerant of assholes](https://asshole.fyi). # [Don't be an asshole and don't be tolerant of assholes](https://asshole.fyi).
That simple. That simple.

16
README.md Normal file
View file

@ -0,0 +1,16 @@
# dots
The non-confidential config store. Of course, confidential config values are not reused across devices.
Other related documentations are available at [reviwiki](https://revi.wiki/wiki/%ED%95%B8%EB%93%9C%EB%B6%81:Setup/.dot).
## LICENSE
[Apache License 2.0](LICENSE).
## Dependencies
* Git, obviously
* Bash or zsh, while I haven't backed up zsh configs.
* gnupg or gnupg2.
* [ntfy](https://github.com/dschep/ntfy) and ``ntfy[telegram]`.

View file

@ -1,18 +0,0 @@
== Dots ==
The non-confidential config store. Of course, confidential config values are not reused across devices.
Other related documentations are available at [https://www.notion.so/revinim/Setup-02b636b665364d2297f1537e3611a6e2 Notion].
=== License ===
[https://revi.mit-license.org/2015/ MIT] License.
== Dependencies ==
* Git, obviously
* Bash or zsh, while I haven't backed up zsh configs.
** If bash, [https://github.com/Bash-it/bash-it bash-it].
** If zsh, [http://ohmyz.sh/ oh my zsh].
* gnupg or gnupg2.
* [https://github.com/dschep/ntfy ntfy] and <code>ntfy[telegram]</code>

26
default.gitconfig Normal file
View file

@ -0,0 +1,26 @@
[user]
name = Yongmin Hong
email = revi@omglol.email
signingkey = EA100E94
[gitreview]
username = revi
[core]
editor = nano
[include]
path = ~/dots/.gitaliases
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[sendemail]
smtpserver = smtp.fastmail.com
smtpuser = revi@omglol.email
smtpencryption = tls
smtpserverport = 587
[init]
defaultBranch = master

View file

@ -1,27 +0,0 @@
[user]
name = Yongmin Hong
email = revi@pobox.com
signingkey = BEFF197A
[gitreview]
username = revi
[core]
editor = nano
[include]
path = ~/dots/.gitaliases
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[sendemail]
smtpserver = smtp.pobox.com
smtpuser = revi@pobox.com
smtpencryption = tls
smtpserverport = 587
[init]
defaultBranch = master

View file

@ -1,5 +1,5 @@
utf8-strings utf8-strings
keyserver hkp://oc.pool.sks-keyservers.net keyserver hkp://keyserver.ubuntu.com
personal-digest-preferences SHA512 personal-digest-preferences SHA512
cert-digest-algo SHA512 cert-digest-algo SHA512

1
vscode

@ -1 +0,0 @@
Subproject commit efa5e89f1fcb4b016cbfe775941636b6ba5a0310