happy-kitchen-89482
01/15/2023, 2:20 PMcurved-television-6568
01/16/2023, 12:06 AMbrew install
support on Macs (and Linux, for those who use brew in that setting): Seeing the hoops and hurdles to overcome in order for a pants brew formula in homebrew core, I think we’ll have greater success with a custom tap. To that end, given you agree, may I get a new repo set up? pantsbuild/homebrew-pants
please and thank you 🙂
This would give an install syntax when using brew
of:
brew tap pantsbuild/pants
brew install pants
wide-midnight-78598
01/16/2023, 12:08 AMwide-midnight-78598
01/16/2023, 12:08 AMwide-midnight-78598
01/16/2023, 12:09 AMenough-analyst-54434
01/16/2023, 12:10 AMenough-analyst-54434
01/16/2023, 12:16 AMbrew tap pantsbuild/pants
or brew tap pantsbuild/homebrew-pants
? It seems like the latter, which is better anyhow, since pantsbuild/pants is not pantsbuild - there is other software (potentially).enough-analyst-54434
01/16/2023, 12:17 AMcurved-television-6568
01/16/2023, 12:27 AMcurved-television-6568
01/16/2023, 12:28 AMhomebrew-
prefix if left out as sugar..curved-television-6568
01/16/2023, 12:29 AMpantsbuild/tap
(i.e. a repo named pantsbuild/homebrew-tap
) as we may want a single tap with potentially other formulas in it as well…enough-analyst-54434
01/16/2023, 12:29 AMcurved-television-6568
01/16/2023, 12:30 AMhomebrew-tap
would make sense..happy-kitchen-89482
01/16/2023, 12:31 AMhappy-kitchen-89482
01/16/2023, 12:31 AMcurved-television-6568
01/16/2023, 12:31 AMhappy-kitchen-89482
01/16/2023, 12:31 AMhappy-kitchen-89482
01/16/2023, 12:31 AMcurved-television-6568
01/16/2023, 12:31 AMcurved-television-6568
01/16/2023, 12:32 AMwide-midnight-78598
01/16/2023, 12:32 AMcurved-television-6568
01/16/2023, 12:33 AMwide-midnight-78598
01/16/2023, 12:33 AMcurved-television-6568
01/16/2023, 12:36 AMenough-analyst-54434
01/16/2023, 12:36 AMenough-analyst-54434
01/16/2023, 12:37 AMcurved-television-6568
01/16/2023, 12:37 AMbrew
is like my App store for the cli… 🤪curved-television-6568
01/16/2023, 12:37 AMwide-midnight-78598
01/16/2023, 12:38 AM[quietly steals that quote]is like my App store for the clibrew
enough-analyst-54434
01/16/2023, 12:39 AMcurved-television-6568
01/16/2023, 12:41 AMbrew tap thought-machine/please
brew install please
https://please.build/quickstart.htmlenough-analyst-54434
01/16/2023, 12:44 AMwide-midnight-78598
01/16/2023, 12:45 AMwide-midnight-78598
01/16/2023, 12:46 AMenough-analyst-54434
01/16/2023, 12:51 AMcurved-television-6568
01/16/2023, 1:06 AM/opt/homebrew/Cellar/
by default…curved-television-6568
01/16/2023, 1:06 AMenough-analyst-54434
01/16/2023, 1:15 AM~/Library/Caches/nce
when it fetches things. And that gets continually worse with each Pants version installed / used for the repos cloned on the machine.enough-analyst-54434
01/16/2023, 1:16 AM/opt/...
? - I don't know brew).curved-television-6568
01/16/2023, 1:19 AMenough-analyst-54434
01/16/2023, 1:19 AMenough-analyst-54434
01/16/2023, 1:20 AMcurved-television-6568
01/16/2023, 1:21 AMwide-midnight-78598
01/16/2023, 1:34 AMcaches
usually gets relegated to no-backup.
By home dir, I mean ~/.cargo
, ~/.android
, and 53 other dot folders in my home dir that aren't related to zsh or ssh. 🤦♂️wide-midnight-78598
01/16/2023, 1:35 AMenough-analyst-54434
01/16/2023, 1:41 AMwide-midnight-78598
01/16/2023, 1:46 AMwide-midnight-78598
01/16/2023, 1:46 AMhappy-kitchen-89482
01/16/2023, 1:47 AMenough-analyst-54434
01/16/2023, 1:47 AMenough-analyst-54434
01/16/2023, 1:48 AMwide-midnight-78598
01/16/2023, 1:48 AM/bin
before - homebrew I think defaults to /usr/local/bin
enough-analyst-54434
01/16/2023, 1:48 AMenough-analyst-54434
01/16/2023, 1:48 AM/bin
- ~/bin
enough-analyst-54434
01/16/2023, 1:48 AMwide-midnight-78598
01/16/2023, 1:48 AMenough-analyst-54434
01/16/2023, 1:49 AMwide-midnight-78598
01/16/2023, 1:49 AMenough-analyst-54434
01/16/2023, 1:49 AMenough-analyst-54434
01/16/2023, 1:50 AMwide-midnight-78598
01/16/2023, 1:52 AMqol
repo (quality of life) , which I pull down - and that's linked by my zsh scripts or whatever. So for mac, one source of data, and I just need to copy the main zshrc over on a new computerenough-analyst-54434
01/16/2023, 1:52 AMwide-midnight-78598
01/16/2023, 2:02 AMproud-dentist-22844
01/16/2023, 5:55 PMcurved-television-6568
01/16/2023, 5:59 PMemerge
I think the package manager was called..?curved-television-6568
01/16/2023, 5:59 PMproud-dentist-22844
01/16/2023, 6:00 PMproud-dentist-22844
01/16/2023, 6:00 PMproud-dentist-22844
01/16/2023, 6:01 PMcurved-television-6568
01/16/2023, 6:01 PMcurved-television-6568
01/16/2023, 6:01 PMcurved-television-6568
01/16/2023, 6:02 PMproud-dentist-22844
01/16/2023, 6:02 PMcurved-television-6568
01/16/2023, 6:03 PMcurved-television-6568
01/16/2023, 6:03 PMproud-dentist-22844
01/16/2023, 6:03 PMcurved-television-6568
01/16/2023, 6:04 PMproud-dentist-22844
01/16/2023, 6:05 PMcurved-television-6568
01/23/2023, 6:16 PMbrew install pantsbuild/tap/pants
To me, reads slightly better to not have 3 “pants” in the name..
https://pantsbuild.slack.com/archives/C0D7TNJHL/p1673829577460279?thread_ts=1673792427.329169&cid=C0D7TNJHLhappy-kitchen-89482
01/23/2023, 7:11 PMwide-midnight-78598
01/23/2023, 7:11 PMcurved-television-6568
01/23/2023, 7:11 PMwide-midnight-78598
01/23/2023, 7:12 PMbrew install pantsbuild/pannnnnnnttttttttssssss
for claritycurved-television-6568
01/23/2023, 7:12 PMcurved-television-6568
01/23/2023, 7:13 PMbrew install pantsbuild/tap/pants
(which is a shortcut for brew install pantsbuild/homebrew-tap/pants
)happy-kitchen-89482
01/23/2023, 7:16 PMhappy-kitchen-89482
01/23/2023, 7:16 PMpantsbuild/tap
seems like a fine name for a repocurved-television-6568
01/23/2023, 7:16 PMtap
there, or tools
, bin
etc..?curved-television-6568
01/23/2023, 7:16 PMhappy-kitchen-89482
01/23/2023, 7:16 PMtap
is fine, this is a homebrew specific thing right?curved-television-6568
01/23/2023, 7:16 PMhappy-kitchen-89482
01/23/2023, 7:32 PMhappy-kitchen-89482
01/23/2023, 11:44 PMcurved-television-6568
01/24/2023, 1:55 AMbrew install pantsbuild/tap/pants
enough-analyst-54434
01/24/2023, 8:12 PMjsirois@4f808a930e7c:~$ brew install ascii
==> Fetching ascii
==> Downloading <https://ghcr.io/v2/homebrew/core/ascii/manifests/3.18>
######################################################################## 100.0%
==> Downloading <https://ghcr.io/v2/homebrew/core/ascii/blobs/sha256:31952089908444514e2e97d6d7a325d52136f8d7c8297210045a04608bf49ae8>
==> Downloading from <https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:31952089908444514e2e97d6d7a325d52136f8d7c8297210045a04608bf49ae8?se=2023-01-24T20%3A20%3A00Z&sig=%2FIAsxvjXiG%2B9ycYl%2B9mzR6>
######################################################################## 100.0%
==> Pouring ascii--3.18.x86_64_linux.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/ascii/3.18: 7 files, 82.2KB
==> Running `brew cleanup ascii`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
jsirois@4f808a930e7c:~$ ascii
Usage: ascii [-adxohv] [-t] [char-alias...]
-t = one-line output -a = vertical format
-d = Decimal table -o = octal table -x = hex table -b binary table
-h = This help screen -v = version information
Prints all aliases of an ASCII character. Args may be chars, C \-escapes,
English names, ^-escapes, ASCII mnemonics, or numerics in decimal/octal/hex.
Dec Hex Dec Hex Dec Hex Dec Hex Dec Hex Dec Hex Dec Hex Dec Hex
0 00 NUL 16 10 DLE 32 20 48 30 0 64 40 @ 80 50 P 96 60 ` 112 70 p
1 01 SOH 17 11 DC1 33 21 ! 49 31 1 65 41 A 81 51 Q 97 61 a 113 71 q
2 02 STX 18 12 DC2 34 22 " 50 32 2 66 42 B 82 52 R 98 62 b 114 72 r
3 03 ETX 19 13 DC3 35 23 # 51 33 3 67 43 C 83 53 S 99 63 c 115 73 s
4 04 EOT 20 14 DC4 36 24 $ 52 34 4 68 44 D 84 54 T 100 64 d 116 74 t
5 05 ENQ 21 15 NAK 37 25 % 53 35 5 69 45 E 85 55 U 101 65 e 117 75 u
6 06 ACK 22 16 SYN 38 26 & 54 36 6 70 46 F 86 56 V 102 66 f 118 76 v
7 07 BEL 23 17 ETB 39 27 ' 55 37 7 71 47 G 87 57 W 103 67 g 119 77 w
8 08 BS 24 18 CAN 40 28 ( 56 38 8 72 48 H 88 58 X 104 68 h 120 78 x
9 09 HT 25 19 EM 41 29 ) 57 39 9 73 49 I 89 59 Y 105 69 i 121 79 y
10 0A LF 26 1A SUB 42 2A * 58 3A : 74 4A J 90 5A Z 106 6A j 122 7A z
11 0B VT 27 1B ESC 43 2B + 59 3B ; 75 4B K 91 5B [ 107 6B k 123 7B {
12 0C FF 28 1C FS 44 2C , 60 3C < 76 4C L 92 5C \ 108 6C l 124 7C |
13 0D CR 29 1D GS 45 2D - 61 3D = 77 4D M 93 5D ] 109 6D m 125 7D }
14 0E SO 30 1E RS 46 2E . 62 3E > 78 4E N 94 5E ^ 110 6E n 126 7E ~
15 0F SI 31 1F US 47 2F / 63 3F ? 79 4F O 95 5F _ 111 6F o 127 7F DEL
jsirois@4f808a930e7c:~$
But for pants I get:
jsirois@4f808a930e7c:~$ brew install pantsbuild/tap/pants
Warning: No available formula with the name "pantsbuild/tap/pants".
Is there any special setup needed to have things like this work you're aware of?curved-television-6568
01/24/2023, 8:15 PMbrew install --cask pantsbuild/tap/pants
failing that, maybe casks isn’t supported on Linux.. only source formulas..? 😬 (or I’m missing something, haven’t read up on this too much, just noticed linux references floating around while digging into this)enough-analyst-54434
01/24/2023, 8:17 PMjsirois@4f808a930e7c:~$ brew install --cask pantsbuild/tap/pants
Error: Invalid `--cask` usage: Casks do not work on Linux
enough-analyst-54434
01/24/2023, 8:17 PMcurved-television-6568
01/24/2023, 8:18 PMenough-analyst-54434
01/24/2023, 8:18 PMenough-analyst-54434
01/24/2023, 8:19 PMcurved-television-6568
01/24/2023, 8:19 PMenough-analyst-54434
01/24/2023, 8:19 PMenough-analyst-54434
01/24/2023, 8:20 PM/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"
enough-analyst-54434
01/24/2023, 8:20 PMcurved-television-6568
01/24/2023, 8:20 PMwide-midnight-78598
01/24/2023, 8:21 PM