Commit graph

362 commits

Author SHA1 Message Date
Anmol Sethi
9732ae577e
ci/aws/windows: Improved examples 2022-12-18 10:33:15 -08:00
Anmol Sethi
26a5086e37
ci/aws/windows: Use 5s sleep instead of 2s for glory command 2022-12-18 10:33:15 -08:00
Anmol Sethi
888fa88009
ci/release/aws: Minor fixes and improvements 2022-12-18 10:33:15 -08:00
Anmol Sethi
77e778daff
ci/aws/windows: Only update $PATH if required 2022-12-18 10:33:15 -08:00
Anmol Sethi
f64a9368d7
ci/aws/windows: Bootstrap into the vastly superior PowerShell v7 2022-12-18 10:33:15 -08:00
Anmol Sethi
1e52115a6b
ci/aws: Document how to run a POSIX script on windows 2022-12-18 10:33:15 -08:00
Anmol Sethi
2ffd1c51a4
ci: fmt 2022-12-18 10:33:15 -08:00
Anmol Sethi
6509eb51ec
ci/aws: Format docs better 2022-12-18 10:33:15 -08:00
Anmol Sethi
7187d2ffaa
aws: Set $PATH for rsync on windows
amazing
2022-12-18 10:33:15 -08:00
Anmol Sethi
7310211eaf
ci/aws: Use powershell for ssh on windows
msys2 just doesn't work when you're running a command noninteractively.
No output is shown. And then using msys2's opensshd doesn't actually
listen exposed. I was unable to connect on port 22 remotely but could
locally in windows. 🤷
2022-12-18 10:33:15 -08:00
Anmol Sethi
6fe4af1105
ci: Build and push official Dockerfile
Closes #76
2022-12-18 10:33:14 -08:00
Anmol Sethi
c03ead091d
ci/aws: Use static IPs again 2022-12-18 10:31:29 -08:00
Anmol Sethi
ece68225b1
ci/release/aws: Setup windows instance 2022-12-18 10:31:29 -08:00
Anmol Sethi
d23eb5b332
ci: Prep for windows host 2022-12-18 10:31:29 -08:00
Anmol Sethi
6e61645d0f
ci: reorg aws 2022-12-18 10:31:29 -08:00
Gavin Nishizawa
bd1abd766d
changelog 2022-12-17 21:41:54 -08:00
Gavin Nishizawa
a0515da60b
changelog 2022-12-17 20:47:14 -08:00
Gavin Nishizawa
4a134df79b
changelog 2022-12-16 17:24:45 -08:00
Gavin Nishizawa
9c2e0950db
changelog 2022-12-16 15:58:34 -08:00
Alexander Wang
a354ae574e
preserve comment spacing in autofmt 2022-12-13 10:06:14 -08:00
Anmol Sethi
e993bb1071
deps: update [ci-base] [ci-force] 2022-12-13 03:29:30 -08:00
Anmol Sethi
dd160cdc8d
deps: update [ci-base] [ci-force] 2022-12-13 00:04:15 -08:00
Anmol Sethi
ceefc9ef72
deps: update [ci-base] [ci-force] 2022-12-12 22:55:44 -08:00
Anmol Sethi
f759b29685
deps: update [ci-base] [ci-force] 2022-12-12 22:48:12 -08:00
Anmol Sethi
8a58087dac
deps: update [ci-base] [ci-force] 2022-12-12 22:43:20 -08:00
Anmol Sethi
68382605f0
deps: update [ci-base] [ci-force] 2022-12-12 10:42:40 -08:00
Alexander Wang
8feb4d4749
add pad option 2022-12-11 23:39:21 -08:00
Alexander Wang
115d618d8d
changelog 2022-12-11 16:47:23 -08:00
Alexander Wang
c4483523bf
fix sequence diagram with no messages 2022-12-11 16:35:27 -08:00
Alexander Wang
65a6bbdc46
add changelog 2022-12-11 16:21:14 -08:00
Anmol Sethi
4f49cf6426
deps: update [ci-force] 2022-12-08 04:01:24 -08:00
Anmol Sethi
3fba3fbeac
ci: Ensure lockfile_ssh is used in a subshell 2022-12-08 04:00:08 -08:00
Anmol Sethi
284892e531
v0.1.1 2022-12-08 02:56:46 -08:00
Anmol Sethi
2307e2063a
ci: Update 2022-12-08 02:54:31 -08:00
Anmol Sethi
e90a71f16d
ci: Update 2022-12-08 02:41:15 -08:00
Anmol Sethi
771d1c2efa
template/scripts/install.sh: Fix 2022-12-08 02:41:04 -08:00
Anmol Sethi
87f811f538
releas/template: Minor fixes 2022-12-08 02:34:48 -08:00
Anmol Sethi
b0993c45b4
_build.sh: Update 2022-12-08 02:25:44 -08:00
Anmol Sethi
c45702520e
ci: Update 2022-12-08 02:24:17 -08:00
Anmol Sethi
031a1a707e
deps: update [ci-force] 2022-12-08 02:04:52 -08:00
Anmol Sethi
b704c6684b
ci: Update [ci-force] 2022-12-07 23:41:33 -08:00
Anmol Sethi
b72959a91f
fmt 2022-12-07 23:22:20 -08:00
Anmol Sethi
a86e409b49
ci: Update [ci-force] 2022-12-07 23:13:12 -08:00
Anmol Sethi
f76e151991
ci: Update [ci-force] 2022-12-07 23:04:20 -08:00
Anmol Sethi
8f0c3fa502
ci: Update [ci-force] 2022-12-07 22:49:46 -08:00
Anmol Sethi
472c101e50
ci: Update 2022-12-07 20:59:40 -08:00
Anmol Sethi
3a3b3389ed
Merge pull request #407 from nhooyr/windows-d6fa
release: On windows use .exe and alter README
2022-12-07 19:51:27 -08:00
Anmol Sethi
44c11a13ce
Update windows install docs 2022-12-07 19:49:22 -08:00
Anmol Sethi
3134648273
install.md: Document easiest way to use windows 2022-12-07 19:49:22 -08:00
Anmol Sethi
c2bcb3a93e
release/template/README.md: Document easiest way to use windows 2022-12-07 19:49:22 -08:00
Anmol Sethi
1fde26789a
release/next.md: Update 2022-12-07 19:49:22 -08:00
Anmol Sethi
ce0e2b3326
release: On windows use .exe and alter README
Closes #388
2022-12-07 19:17:36 -08:00
Anmol Sethi
d028915b7f
ci: Update 2022-12-07 18:59:23 -08:00
Anmol Sethi
17f45d1592
install.sh: Update for tap rename 2022-12-07 18:45:10 -08:00
Anmol Sethi
89e0e0cf6a
install.sh: Run brew update before install
Ensure formulas are up to date.
2022-12-07 18:43:56 -08:00
Júlio César Batista
5a40457a03
Update changelog 2022-12-06 14:28:48 -08:00
Anmol Sethi
b6612d32b6
deps: update 2022-12-06 10:10:44 -08:00
Anmol Sethi
00323b483c
deps: update 2022-12-06 09:55:18 -08:00
Anmol Sethi
2d11aac231
Merge pull request #386 from nhooyr/v0.1.0
v0.1.0
2022-12-06 09:39:15 -08:00
Anmol Sethi
ea33d7cb83
ci: Update 2022-12-06 09:38:58 -08:00
Anmol Sethi
22e0ed0f9f
v0.1.0 2022-12-06 09:22:51 -08:00
Anmol Sethi
0cc8b1a966
Merge pull request #385 from nhooyr/windows-install-e17d
windows install e17d
2022-12-06 09:04:57 -08:00
Anmol Sethi
563b45dd01
release/install.sh: Install executable with .exe suffix on Windows
Otherwise Go doesn't let you execute it lol.
2022-12-06 09:04:22 -08:00
Anmol Sethi
a95d9cd586
Merge pull request #383 from nhooyr/changelog-wrap-8c1f
changelogs/next.md: Fix wrapping
2022-12-06 09:03:10 -08:00
Anmol Sethi
8d8529ed80
changelogs/next.md: Fix wrapping
Changelogs can't be hard wrapped. Markdown text in bullets isn't
automatically soft wrapped on render like paragraphs.
2022-12-06 08:10:38 -08:00
Anmol Sethi
651c7f553f
deps: update 2022-12-06 08:00:14 -08:00
Anmol Sethi
3478ffbc5a
install.sh: Improvements 2022-12-06 07:54:14 -08:00
Anmol Sethi
5ee11417e4
deps: update 2022-12-06 07:47:11 -08:00
Anmol Sethi
38c0dd9c3e
ci: Update 2022-12-06 07:34:47 -08:00
Anmol Sethi
5f06afc72e
release: Build with -trimpath
-trimpath prevents paths from the builder showing up in the
binary on panics and whatnot.
2022-12-06 06:36:41 -08:00
Anmol Sethi
1b1a024aad
deps: update 2022-12-06 06:08:45 -08:00
Anmol Sethi
fbb65fa6f7
deps: update 2022-12-06 06:01:59 -08:00
Anmol Sethi
b5d863ae02
ci: Update 2022-12-06 05:39:33 -08:00
Anmol Sethi
861aabff70
aws_ensure: Update 2022-12-06 04:56:34 -08:00
Anmol Sethi
f6c444c424
deps: update 2022-12-06 04:41:06 -08:00
Anmol Sethi
44ba6ecce4
install.sh: Updates 2022-12-06 04:25:02 -08:00
Anmol Sethi
70587d5832
install.sh: Add -x, --trace flags 2022-12-06 04:18:40 -08:00
Anmol Sethi
8010a65795
install.sh: Improvements 2022-12-06 04:04:02 -08:00
Anmol Sethi
8b66106667
deps: update 2022-12-06 03:22:55 -08:00
Anmol Sethi
dc1af7a1ee
docs: Document windows installation and usage 2022-12-06 03:05:19 -08:00
Anmol Sethi
0193e1abf0
deps: update 2022-12-06 02:29:15 -08:00
Anmol Sethi
ba84aa8066
deps: update 2022-12-06 02:04:58 -08:00
Anmol Sethi
c029e0bbc2
ci: Update 2022-12-06 02:03:20 -08:00
Anmol Sethi
0c43cbc708
install.sh: Add warning if d2 is shadowed on installation
Closes #107
2022-12-06 01:34:00 -08:00
Anmol Sethi
1de4b48d7a
deps: update 2022-12-06 01:33:22 -08:00
Anmol Sethi
a7985221e3
ci: Update 2022-12-06 00:54:32 -08:00
Anmol Sethi
60890cc120
ci: Update 2022-12-06 00:16:13 -08:00
Anmol Sethi
80b05e7ae0
aws_ensure.sh: Setup $PATH/$MANPATH on macOS builders robustly 2022-12-05 23:34:21 -08:00
Anmol Sethi
636a4ce224
ci: Use temp.sh 2022-12-05 22:21:06 -08:00
Anmol Sethi
b90c37d4a0
ci: Update gen_install and gen_template_lib 2022-12-05 22:15:58 -08:00
Anmol Sethi
6e52966b52
install.sh: Improve default $PREFIX behaviour
As before we default to /usr/local but now we switch to ~/.local if
/usr/local if not accessible instead of prompting for sudo. Instead
of having an exception for macOS/arm64.

Of course if a user wants to install in /usr/local anyway, they can
still pass --prefix /usr/local to force installation into /usr/local
and prompt for sudo.
2022-12-05 22:15:58 -08:00
Alexander Wang
121d75c8df
changelog massaging 2022-12-05 17:34:20 -08:00
Alexander Wang
67b7020476
changelog 2022-12-05 10:49:17 -08:00
Alexander Wang
427368b4d7
gen 2022-12-04 14:56:50 -08:00
Alexander Wang
89e785afcb
add changelog 2022-12-03 16:36:12 -08:00
Alexander Wang
e51bdbff09
add changelog 2022-12-03 16:32:12 -08:00
Alexander Wang
bce0fe5c31
add changelog 2022-12-02 19:59:49 -08:00
Alexander Wang
3b7068da7d
add changelog line for dagre fix 2022-12-02 15:58:01 -08:00
ejulio-ts
ef757fb532
Merge pull request #317 from ejulio-ts/nested-sequence-diagrams
layout: sequence diagrams
2022-12-02 13:03:30 -08:00
Anmol Sethi
91f5828967
ci: Update 2022-12-02 12:16:27 -08:00
Anmol Sethi
d20a448227
ci: Update 2022-12-02 12:10:16 -08:00
Anmol Sethi
61fdf07a2e
ci: Updates 2022-12-02 11:47:09 -08:00
Anmol Sethi
50011a25e7
ci: Update 2022-12-02 11:08:08 -08:00
Anmol Sethi
729b12685a
gen 2022-12-01 17:29:40 -08:00
Anmol Sethi
f040d58cf6
ci: Update 2022-12-01 17:27:01 -08:00
Anmol Sethi
64d777faf7
ci: Update 2022-12-01 17:09:51 -08:00
Anmol Sethi
6e7b4dedfc
ci/sub: Hardcode colors for bigheader/header in there 2022-12-01 15:08:19 -08:00
Anmol Sethi
cc6590fa4f
install.sh: hardcode header to blue
Will prevent red/green generated colors.
2022-12-01 14:43:54 -08:00
Júlio César Batista
2c557a32d8
Changelog 2022-12-01 14:34:24 -08:00
Anmol Sethi
d87d897fdb
changelog: Fix emoji 2022-12-01 14:01:20 -08:00
Anmol Sethi
116151cc82
INSTALL.md: Demonstrate minimal script to install standalone release
Closes #150
2022-12-01 13:29:04 -08:00
Anmol Sethi
f333cb1a2b
docs: Defend install.sh
Closes #149
2022-12-01 13:29:04 -08:00
Anmol Sethi
419ecc8928
Merge pull request #313 from nhooyr/install-c148
release/build.sh: Implement --install and --uninstall for quick installation from source
2022-12-01 12:43:19 -08:00
Anmol Sethi
54311cbf3d
release: Use sudo automatically when installing/uninstalling 2022-12-01 12:29:50 -08:00
Anmol Sethi
25e628943b
release/build.sh: Implement --install and --uninstall for quick installation from source 2022-12-01 12:25:18 -08:00
Anmol Sethi
5cba89a588
ci: Update 2022-12-01 11:53:53 -08:00
Anmol Sethi
6139c35af2
watch: Move xbrowser to util-go and fix
Closes #175
Closes #205
2022-12-01 11:48:49 -08:00
Anmol Sethi
91ac1280b3
ci/fmt.sh: More efficient 2022-12-01 09:54:09 -08:00
Anmol Sethi
b81647e7e3
Add markdown TOC generation using pandoc and shell
See a875763ecc/lib/misc.sh (L28)

The TOC is generated via pandoc and inserted via shell. `<!-- toc -->`
marks the insertion point, the TOC is inserted right below.

I'm using this in utils-go too. We should use it anywhere else we need
TOCs. I'm sure pandoc can handle the frontmatter in d2-docs too.
2022-12-01 09:54:09 -08:00
Anmol Sethi
cdffedb9df
pr292: Review fixes 2022-12-01 09:24:50 -08:00
Anmol Sethi
fcb41107db
d2format: Expose in CLI under fmt subcommand
Closes #289
2022-12-01 09:24:48 -08:00
Anmol Sethi
80b9d1b057
ci/dev.sh: Add 2022-12-01 09:24:48 -08:00
Anmol Sethi
fa217fdab6
watch.go: Ignore first error in ensureAddWatch
Will prevent the benign watching errors we've been seeing.
I feel like there was an open issue for this but I cannot find it.
2022-12-01 09:17:16 -08:00
Anmol Sethi
11a93df61c
make.sh: Fix 2022-12-01 06:51:17 -08:00
Anmol Sethi
20abda5ffe
ci/sub: Update 2022-11-30 22:55:42 -08:00
Anmol Sethi
f334ef5952
README: Cleanup examples to make them runnable and testable 2022-11-30 22:54:47 -08:00
Anmol Sethi
c55bf62438
d2: Move cmd to repo root
Closes #113
2022-11-30 21:16:02 -08:00
Anmol Sethi
29562feeb2
Merge pull request #278 from nhooyr/fixes-d6f3
imgbundler and CLI fixes
2022-11-30 18:00:29 -05:00
Anmol Sethi
39a990364d
changelog: Update 2022-11-30 14:58:52 -08:00
Anmol Sethi
206d3eecb8
d2.1: Document partial renders 2022-11-30 14:58:52 -08:00
Gavin Nishizawa
7e58edc436
changelog 2022-11-30 11:46:40 -08:00
Alexander Wang
9b982a684e
Merge branch 'master' into png-img 2022-11-29 16:54:09 -08:00
Alexander Wang
a8b011c7fd
Merge branch 'master' into png-img 2022-11-29 16:35:42 -08:00
Alexander Wang
c495253f86
Merge branch 'master' into alixander/orientation 2022-11-29 16:18:39 -08:00
Alexander Wang
34cd5191bd
2022-11-29 04:14:27PM 2022-11-29 16:14:27 -08:00
Alexander Wang
a39bfce697
2022-11-29 04:02:37PM 2022-11-29 16:02:37 -08:00
Anmol Sethi
ffa77ecf10
ci: Prevent merging of fixups 2022-11-29 15:55:36 -08:00
Anmol Sethi
95c5d67b58
ci/sub: Update 2022-11-29 15:50:19 -08:00
Alexander Wang
09ae6361c9
2022-11-29 03:16:02PM 2022-11-29 15:16:02 -08:00
Anmol Sethi
27a6e219a4
ci/sub: Update 2022-11-29 14:57:48 -08:00
Alexander Wang
7ba3a93217
Merge branch 'master' into png-img 2022-11-29 14:47:00 -08:00
Anmol Sethi
c726245971
changelog: Update 2022-11-29 14:45:19 -08:00
Anmol Sethi
ea876e051b
install.sh: Improve dry run message and add short flag -d 2022-11-29 14:45:19 -08:00
Alexander Wang
b994318beb
update sub 2022-11-29 13:22:02 -08:00
Anmol Sethi
77ed56990a
ci: Consolidate github actions into one main job 2022-11-29 13:09:12 -08:00
Alexander Wang
a542cb3cbe
update ci 2022-11-29 12:40:10 -08:00
Alexander Wang
9259079d61
small fry 2022-11-29 08:40:05 -08:00
Alexander Wang
2507e71b37
2022-11-28 09:55:45PM 2022-11-28 21:55:45 -08:00
Anmol Sethi
94bd3683b6
Merge pull request #238 from nhooyr/trailing-e8d3
Fix trailing whitespace
2022-11-28 18:18:55 -05:00
Anmol Sethi
6a71aa02bc
Fix trailing whitespace
cc @gavin-ts
2022-11-28 10:44:18 -08:00