Commit graph

148 commits

Author SHA1 Message Date
9b0fbcc55d
npx prettier --write .
Summary:
Also:

- add prettier config and prettierignore
- add quick `npm run` alias.

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

Test Plan: `npm run pcheck`, `npm run pwrite`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D212
2024-06-08 16:38:14 +09:00
d5b6e05a86
gitalias: add more rules
Summary:
 - add !command in correct sections to prevent mistakes
 - alphabetize
 - `diffs` for `diff --staged`
 - `prod` to quick deploy to `prod` branch for some repos.
 - `staash` for `stash -a`

also:
 - add `max_line_length: 80` to editorconfig
 - autofix `TXT1` rule for `.arclint`
 - `rerere.autoUpdate = tru` for `gitconfig`
 - add prettier
 - fix nfty.yml
 - add `.yamllint` config

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

Test Plan: I think there isn't?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D211
2024-06-08 16:31:19 +09:00
da1e5b8acb
git configs: update
Summary:
- remove redundant `.gitmodule`. No more submodules.
- replace tabs with space as space is the majority here.
- spacing issues @ `.arcconfig`.
- sync `.arclint`.
- alphabetize configs.

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

Test Plan: deploy and test?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D171
2024-05-28 21:24:16 +09:00
47afc240b6
Revert "gitconfig: git config --global format.signOff true"
Summary:
This reverts commit 761a5d6c1f.

Was not the thing I was expecting.

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

Test Plan: N/A

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D118
2024-05-21 15:49:40 +09:00
882d54328a
gitalias: count = git count-objects -vH
Summary:
mostly for reference purposes...

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

Test Plan: `git count`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D120
2024-05-21 15:49:38 +09:00
aba4d83c39 deploy.sh: implement todo
Summary:
albeit incomplete in `ash`, who cares? ™️

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

Test Plan: `sh deploy.sh`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D117
2024-05-21 02:22:21 +09:00
e839c265f8
gitconfig: git config --global rerere.enabled true
Summary:
Ref [pro git](https://git-scm.com/book/en/v2/Distributed-Git-Maintaining-a-Project).

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

Test Plan: `git rerere` with forced merge conflict?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D99
2024-05-19 15:10:31 +09:00
761a5d6c1f
gitconfig: git config --global format.signOff true
Summary:
Ref [man git config](https://git-scm.com/docs/git-config#Documentation/git-config.txt-formatsignOff).

Also disables aliases with `-s` now that config takes over

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

Test Plan: Apply patch and `git cm`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D100
2024-05-19 15:10:29 +09:00
92dc476d6f
gitconfig: update smtp config
Summary:
Per [fastmail.help](https://www.fastmail.help/hc/en-us/articles/1500000278342-Server-names-and-ports)

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

Test Plan: try `git send-email`?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D102
2024-05-19 15:10:27 +09:00
221d389edf
gitconfig: git config --global core.quotepath false
Summary:
Per [git.vger.kernel.org](https://lore.kernel.org/git/xmqq1q643whe.fsf@gitster.g/).

Fixes git patch quoting problems, as documented in https://we.phorge.it/T15805. See [git docs](https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath).

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

Test Plan: apply the patch, run `git format-patch` with non-ascii file names, verify unicodes works as intended.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D88
2024-05-15 16:32:36 +09:00
cac61e049a
gitconfig: add credential-helper store
Summary:
See http://go/man/git/credential-store

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

Test Plan: Remove the config bar and check git asking for credential. Now patch it and test it again to verify.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D80
2024-05-12 19:04:22 +09:00
7b5aed5b48
meta: Add arclint and supporting files
Summary:
Mostly lint and CIs

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

Test Plan: Is there one?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D78
2024-05-12 18:58:04 +09:00
109c34c1ad
gitalias: add more aliases
Summary:
Even more shorter for lazy myself

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

Test Plan: `git a-d`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D71
2024-05-11 16:48:16 +09:00
14c908207b
gitalias: add amends, amendss, change amend
Summary:
- amend: remove `-s` so it's pure `--amend`.
- amends: previous `amend` which is `-s`
- amendss: previous `amends` which is `-s -S`

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

Test Plan: `sh deploy.sh` and run commands

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D76
2024-05-11 16:48:12 +09:00
5cf35f9cbb
gitconfig: add tag.forceSignAnnotated
Summary:
Config in macOS device. [man git](https://git-scm.com/docs/git-config#Documentation/git-config.txt-tagforceSignAnnotated)

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

Test Plan: test creating tags?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D63
2024-05-10 18:11:03 +09:00
0f5af9e513
gitaliases: shorter arc shortcuts
Summary:
what's the point of using `git arcdiff` when it is longer than `arc diff`? make it shorter to quicker typing time.

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

Test Plan: `git ad`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D64
2024-05-10 18:11:01 +09:00
fbd4a63e03
gitalias: do not assume master as universal default branch
Summary:
Since around 2020, `main` has gained traction but not everyone has followed suit, so move master-tracking commands to make way for disambig command.

This will let me select my own default primary branch that is neither main nor master.

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

Test Plan: `sh deploy.sh` then try `git com`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D68
2024-05-10 18:10:59 +09:00
30c04e1cb6
deploy.sh: add deploy commands
Summary:
Also change gitconfig and gitalias to be @ $HOME.

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

Test Plan: Try `sh deploy.sh` AT YOUR OWN RISK.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D60
2024-05-09 20:44:27 +09:00
405c1968b7
phab-upgrade.sh: update
Summary:
and remove outdated info

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

Test Plan: read the docs ™️

Reviewers: O1 revi & code reviewers, revi

Reviewed By: O1 revi & code reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D56
2024-05-08 18:30:43 +09:00
32914edc14
gitignore: update
Summary:
OS specific gitignore should go here (gotta remove from repo settings)

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

Test Plan: Verify those files not tracked by `git`

Reviewers: O1 revi & code reviewers, revi

Reviewed By: O1 revi & code reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D25
2024-05-05 14:56:40 +09:00
7dcaa2e6da
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
2024-05-03 12:28:13 +09:00
85c3adc9fc
meta: sync with 2024 standards
Summary:
relicense, various other stuff that is considered standard in 2024

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

Test Plan: Read The Docs™️

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D15
2024-05-03 11:34:10 +09:00
7a987ba1a7
.bash_aliases: tailscale (temporary)
Signed-off-by: Yongmin Hong <revi@pobox.com>
2024-03-17 02:47:08 +09:00
b155144436
Move ntfy config to proper location
Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-01-13 13:37:54 +09:00
c3450d09b2
Add .ntfy.yml
Keys are omitted. Intentional.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-01-13 13:30:53 +09:00
3971fdff02
Re-add vscode
submodule ftw

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-01-05 09:12:33 +09:00
340c82c3ab
Remove .gitmodules
Don't do shit on mobile.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-01-05 09:10:59 +09:00
155c3b28f6
add vscode submosule
Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-01-05 09:04:32 +09:00
9d453441bc
Remove vscode
To be replaced by submodules

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-01-05 09:02:30 +09:00
df2868fab2
Bump license, modernize phab-upgrade.sh
The sun of 2021 is just here.
sudo should not do things as root, but as www-data.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-01-01 07:21:30 +09:00
8cbb75ae7e
force set language
shell should use English even when interface language is Korean.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-01-01 06:43:30 +09:00
e65b98278a
Set git config for default branch
See also https://git.revi.dev/u/gitmain

Signed-off-by: Yongmin Hong <revi@pobox.com>
2020-07-31 04:04:38 +09:00
78ba4e6767
Add new aliases
Signed-off-by: Yongmin Hong <revi@pobox.com>
2020-05-05 23:28:15 +09:00
7bf1044a83
Fix bashaliases
Signed-off-by: Yongmin Hong <revi@pobox.com>
2020-01-17 04:41:22 +09:00
1e638dbbac Update .bash_aliases
Signed-off-by: Yongmin Hong <revi@pobox.com>
2020-01-17 04:38:41 +09:00
23ad2ed154
Dump gist 6f8c8c173081ae98b229f3602d739589
Revision as of 2020-01-10

Signed-off-by: Yongmin Hong <revi@pobox.com>
2020-01-12 07:15:12 +09:00
b5bd803c9e
Link MIT-license.org
Signed-off-by: Yongmin Hong <revi@pobox.com>
2020-01-10 07:21:07 +09:00
c55fc7224a
Fix gitconfig, bump copyright
Fixes MISC-1.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2020-01-10 06:57:43 +09:00
92be9410c5
Update README
Signed-off-by: Yongmin Hong <revi@pobox.com>
2019-09-23 19:38:05 +09:00
6d93e4f8e7
Remove migrated files
Moved to Notion

Signed-off-by: Yongmin Hong <revi@pobox.com>
2019-09-23 19:36:51 +09:00
859eafc955
Add more to gitconfig
Missing details

Signed-off-by: Yongmin Hong <revi@pobox.com>
2019-09-16 10:12:55 +09:00
ac32ba3ccd
Update gpg conf
Signed-off-by: Yongmin Hong <revi@pobox.com>
2019-09-16 04:27:03 +09:00
f837a5ee4d
Add git-send.email.io configs
Signed-off-by: Yongmin Hong <revi@pobox.com>
2019-08-18 22:23:42 +02:00
4974ae349a Revert "Add heroku autocomplete"
This reverts commit 785d5f1388.
2018-10-19 01:56:50 +09:00
785d5f1388
Add heroku autocomplete
Signed-off-by: Yongmin Hong <revi@pobox.com>
2018-10-13 00:36:05 +09:00
d810c98141
Use VScode for git merge conflict resolving
Per https://code.visualstudio.com/docs/editor/versioncontrol

Signed-off-by: Yongmin Hong <revi@pobox.com>
2018-10-02 17:06:05 +09:00
ad08237089
Add export LANG="en_US.UTF-8"
No git localization

Signed-off-by: Yongmin Hong <revi@pobox.com>
2018-09-18 01:57:04 +09:00
3691475c15 Revert "Add export LANG="en_US.UTF-8""
This reverts commit bc8d0f18e5.
2018-09-18 01:56:36 +09:00
bc8d0f18e5
Add export LANG="en_US.UTF-8"
No git localization

Signed-off-by: Yongmin Hong <revi@pobox.com>
2018-09-18 01:55:18 +09:00
18b1fe1aa9
Update ublock list
Signed-off-by: Yongmin Hong <revi@pobox.com>
2018-08-11 02:14:57 +09:00