Commit graph

120 commits

Author SHA1 Message Date
renovate[bot]
48021affb6 CI(deps): Update dependency prettier to v3.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 18:35:36 +00:00
renovate[bot]
3cc99def8c CI(deps): Update dependency @revi/eslint-config to v0.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-06 22:30:00 +00:00
renovate[bot]
8e3b48ce93 CI(deps): Update dependency @revi/prettier-config to v0.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-04 18:28:59 +00:00
d598fc68c0
windows: terminal settings / windows settings to dedicated dir
Summary:
Dump as of 2024-07-04T00:16:00+0900.

Also move the win32 settings to dedicated directory.

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

Test Plan: try copypasting?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #windows

Differential Revision: https://issuetracker.revi.xyz/D510
2024-07-04 00:19:59 +09:00
renovate[bot]
f938eb5b1e CI(deps): Update dependency @revi/eslint-config to v0.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 22:14:36 +00:00
renovate[bot]
357da33cef CI(deps): Update linters to v9.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 08:06:03 +00:00
renovate[bot]
827dfb31f4 CI(deps): Pin dependencies
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 06:07:01 +00:00
renovate[bot]
071a6260a9 CI(deps): Update internal-deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 02:22:43 +00:00
6dc8e7f79f
CI(renovate): add
Summary:
Also do prettier checks.

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

Test Plan: Wait for initial renovate run.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Tags: #renovate

Differential Revision: https://issuetracker.revi.xyz/D492
2024-07-02 11:17:02 +09:00
1c7c4c1376
CI(npm): Pin npm versions
Summary:
Ref T176.

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

Test Plan: `npm ci`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Maniphest Tasks: T176

Differential Revision: https://issuetracker.revi.xyz/D402
2024-06-22 18:25:00 +09:00
c8968ca421
vscode: settings (not the .vscode/)
Summary:
There's `settings sync` native stuff but for visual reference.

Also update `.gitattributes` and `.arclint` to ignore jsonc.

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

Test Plan: Verify this is the same settings as vscode user settings.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D381
2024-06-22 18:10:12 +09:00
2d59c7825c
meta: add npmrc
Summary:
Enforce `--audit=false` and `--fund=false`.

Ref D375.

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

Test Plan: Run `npm ci` and see if audit/funding messages appear.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D386
2024-06-22 18:10:10 +09:00
317043c6a7
CODEOWNERS: no tab
Summary:
Just use space.

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

Test Plan: Verify GitHub handles this well.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D382
2024-06-22 18:10:08 +09:00
c679fa5aef
(deploy|phab-upgrade).sh: #!/usr/bin/env bash
Summary:
[Per wooledge BashGuide](https://mywiki.wooledge.org/BashGuide/CommandsAndArguments#Scripts).

Also set `chmod +x phab-upgrade.sh`.

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

Test Plan: run it?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D364
2024-06-19 14:40:55 +09:00
fed68e7597
gitconfig: more aliases and small config tweak
Summary:
- `fpush` `--force-with-lease` for safer `--force`
- Quick upstream sync with `gon` (main) or `gor` (master)
- `spop` for `stash pop`
- `sshow` for `show --show-signature`

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

Test Plan: try the commands.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D354
2024-06-18 17:42:24 +09:00
a7cd00f7a6
windows: scoop/winget exports
Summary:
For future imports.

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

Test Plan: `scoop import` and `winget import`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D353
2024-06-18 17:42:22 +09:00
0833c791ac
CI(GitHub Actions): add jsonlint, fix yamllint name
Summary:
Add JSONLint (not the jsonlint npm package) for json linting.
Also fix yamllint to correct job name and add `.vscode` stuff.

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

Test Plan: Just land it.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D336
2024-06-16 17:41:33 +09:00
f85a6a2b90
CI(.arclint): use pinterest-linters
Summary:
Thanks pinterest!

Also:
- fix yamllint and update .gitattributes, and make deploy.sh executable by `chmod +x`.
- install linting npm packages.

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

Test Plan: `arc lint`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D326
2024-06-16 17:31:04 +09:00
94d38f2ab6
meta: .gitattributes
Summary:
Correct GitHub linguist language detections

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

Test Plan: deploy and wait for GitHub to update language syntax highlight.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D250
2024-06-11 18:53:41 +09:00
c98952d447
CI(arclint): fix jshint/json
Summary:
 - jshint: config @ `.jshint.json`
 - json: track sublime-settings
 - remove jsonlint (see {D214})
 - `npm install --save-dev jshint`

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

Test Plan: `npm run p:c .`, 'arc lint`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D231
2024-06-10 03:30:49 +09:00
5e2a2c7516
gitconfig: add some extra rules
Summary:
From https://github.com/simnalamburt/.dotfiles/blob/main/.gitconfig

Apache-2.0 license used.

Also:

 - fix `npm run` command
 - fix incorrect `.gitconfig` rule.

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

Test Plan: Not really as well.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D225
2024-06-09 21:30:25 +09:00
b0ae699487
gitattributes/arclint: add
Summary:
Mostly from rWEBXYZ. Added to `.gitconfig` via `core.attributesFile`.

Also: add some arclint

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

Test Plan: Not really.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D224
2024-06-09 21:30:23 +09:00
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