Page MenuHomePhorge
Feed Search

Aug 4 2022

abosh committed rCOMM975bbc29f97e: [services] Clean up `install_cryptopp.sh` using ShellCheck.
Aug 4 2022, 9:02 PM
abosh closed D4736: [docs] Replace `""` with `“”` in D4578.
Aug 4 2022, 9:02 PM
abosh committed rCOMMde255f8a198e: [docs] Replace `""` with `“”` in D4578.
Aug 4 2022, 9:02 PM
abosh added a comment to D4738: [services] Clean up `install_cryptopp.sh` using ShellCheck.

Ok, landing this as-is!

Aug 4 2022, 7:42 PM
abosh updated the diff for D4738: [services] Clean up `install_cryptopp.sh` using ShellCheck.

Move CXXFLAGS into make command, per @jon's feedback.

Aug 4 2022, 6:19 PM
abosh added inline comments to D4738: [services] Clean up `install_cryptopp.sh` using ShellCheck.
Aug 4 2022, 6:17 PM
abosh closed D4737: [native] Double quote `BUILD_ARCH` in `build_openssl.sh`.
Aug 4 2022, 5:45 PM
abosh closed D4705: [web] Finish styling `MessageTimestampTooltip`.
Aug 4 2022, 5:45 PM
abosh committed rCOMM64de81864af7: [native] Double quote `BUILD_ARCH` in `build_openssl.sh`.
Aug 4 2022, 5:45 PM
abosh committed rCOMM33347778d029: [web] Finish styling `MessageTimestampTooltip`.
Aug 4 2022, 5:45 PM
abosh closed D4704: [web] Align `MessageTimestampTooltip` under `MessageTooltip`.
Aug 4 2022, 5:45 PM
abosh committed rCOMMacd9728a0f6a: [web] Align `MessageTimestampTooltip` under `MessageTooltip`.
Aug 4 2022, 5:45 PM
abosh closed D4481: [web] Reintroduce `MessageTimestampTooltip` in `ChatMessageList`.
Aug 4 2022, 5:43 PM
abosh committed rCOMM2c7dbf3314ec: [web] Reintroduce `MessageTimestampTooltip` in `ChatMessageList`.
Aug 4 2022, 5:43 PM
abosh removed 1 blocking reviewer(s) for D4705: [web] Finish styling `MessageTimestampTooltip`: tomek.
Aug 4 2022, 5:29 PM
abosh requested changes to D4734: [Services] Allow for docker paths and system packages.
Aug 4 2022, 5:29 PM
abosh requested review of D4738: [services] Clean up `install_cryptopp.sh` using ShellCheck.
Aug 4 2022, 5:13 PM
abosh requested review of D4737: [native] Double quote `BUILD_ARCH` in `build_openssl.sh`.
Aug 4 2022, 5:10 PM
abosh requested review of D4736: [docs] Replace `""` with `“”` in D4578.
Aug 4 2022, 5:02 PM
abosh closed D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 4 2022, 4:44 PM
abosh committed rCOMM9a3c816fc6e3: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 4 2022, 4:44 PM
abosh closed D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck.
Aug 4 2022, 4:44 PM
abosh committed rCOMMe2f1c41832a4: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck.
Aug 4 2022, 4:44 PM
abosh added inline comments to D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 4 2022, 4:38 PM
abosh updated the diff for D4481: [web] Reintroduce `MessageTimestampTooltip` in `ChatMessageList`.

Remove extraneous console.log(...) statement, per @atul's feedback.

Aug 4 2022, 4:30 PM
abosh removed 1 blocking reviewer(s) for D4481: [web] Reintroduce `MessageTimestampTooltip` in `ChatMessageList`: jacek.
Aug 4 2022, 4:25 PM
abosh added 2 blocking reviewer(s) for D4481: [web] Reintroduce `MessageTimestampTooltip` in `ChatMessageList`: atul, jacek.

Adding @atul and @jacek as blocking to get at least one more reviewer on this.

Aug 4 2022, 2:42 PM

Aug 3 2022

abosh added inline comments to D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 3 2022, 9:00 PM
abosh added a comment to D4725: [services] Clean up `run_performance_tests.sh` using ShellCheck.

I agree! Although since the code for a lot of these diffs technically doesn't really depend on each other, I wasn't sure if to make a depends on.

Personally, I treat dependenices on Phabricator as a storytelling tool more than a way to actually indicate formal dependency relationships. Another way to think about it... a diff is a commit, and a stack is a branch.

Aug 3 2022, 8:19 PM
abosh closed D4723: [services] Clean up `run_service.sh` using ShellCheck.
Aug 3 2022, 7:38 PM
abosh committed rCOMM78e3a9f5e2fe: [services] Clean up `run_service.sh` using ShellCheck.
Aug 3 2022, 7:38 PM
abosh added 1 blocking reviewer(s) for D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck: atul.
Aug 3 2022, 7:37 PM
abosh added a comment to D4723: [services] Clean up `run_service.sh` using ShellCheck.
In D4723#136124, @jon wrote:

@jon, is this something you'd like to do? I've made a Linear issue here. Feel free to cancel/backlog/whatever if it's not something we need to do.

I think we can do that conversation on linear. But the diff here should still go in

Aug 3 2022, 7:35 PM
abosh updated the diff for D4717: [native] Clean up `detect_abis.sh` using ShellCheck.

Update implementation of for loop. For some reason, the code committed was wrong and I changed it to include the variable/if check.

Aug 3 2022, 6:25 PM
abosh updated the diff for D4717: [native] Clean up `detect_abis.sh` using ShellCheck.

Fix line 18 -- was not adding the ABI to ABIS.

Aug 3 2022, 6:19 PM
abosh added 1 blocking reviewer(s) for D4723: [services] Clean up `run_service.sh` using ShellCheck: jon.

Taking a step back, this can eventually be replaced by just installing the service (e.g. make install), and running tunnelbroker or the related command without using this

Aug 3 2022, 6:13 PM
abosh updated the test plan for D4723: [services] Clean up `run_service.sh` using ShellCheck.
Aug 3 2022, 6:05 PM
abosh requested review of D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 3 2022, 5:57 PM
abosh updated the diff for D4717: [native] Clean up `detect_abis.sh` using ShellCheck.

Update line 12 of this diff. After reading through @ashoat and @karol's discussion on D2010 here, I realized why the regex was written like this. However, since ShellCheck complains about the right-hand side being quoted, I implemented @karol's other solution:

I could do a for loop here, but this is shorter and it works. If you think a loop would be better here, I can change it.

Aug 3 2022, 5:56 PM
abosh added a comment to D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck.
In D4718#136074, @varun wrote:

I think the real way to test that the script still works would be to make an invalid formatting change, like add some random line break in a rust file, and then try committing the change. If committing fails, the script still works as expected

Aug 3 2022, 5:35 PM
abosh requested review of D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck.

I think you should be able to figure this out pretty easily by searching through the codebase

Aug 3 2022, 4:39 PM
abosh closed D4725: [services] Clean up `run_performance_tests.sh` using ShellCheck.
Aug 3 2022, 4:25 PM
abosh committed rCOMM3edd49003222: [services] Clean up `run_performance_tests.sh` using ShellCheck.
Aug 3 2022, 4:25 PM
abosh closed D4724: [services] Clean up `run_integration_tests.sh` using ShellCheck.
Aug 3 2022, 4:25 PM
abosh committed rCOMMecec1e347883: [services] Clean up `run_integration_tests.sh` using ShellCheck.
Aug 3 2022, 4:25 PM
abosh added a comment to D4725: [services] Clean up `run_performance_tests.sh` using ShellCheck.

It would be more readable if you wrapped the diffs into a stack.

Aug 3 2022, 4:23 PM
abosh added a comment to D4724: [services] Clean up `run_integration_tests.sh` using ShellCheck.

@karol, thanks for the response! Sorry, that is confusing. Let me clarify below and attach screenshots/output of the failures.

Aug 3 2022, 4:18 PM
abosh closed D4726: [keyserver] Delete `setup.sh`.
Aug 3 2022, 3:35 PM
abosh committed rCOMMec1b0cdf22a0: [keyserver] Delete `setup.sh`.
Aug 3 2022, 3:35 PM
abosh added 1 blocking reviewer(s) for D4725: [services] Clean up `run_performance_tests.sh` using ShellCheck: karol.

Adding @karol as blocking to get more context on the test plan.

Aug 3 2022, 1:52 PM
abosh added 1 blocking reviewer(s) for D4724: [services] Clean up `run_integration_tests.sh` using ShellCheck: karol.

Adding @karol as blocking for more context on the test plan.

Aug 3 2022, 1:52 PM

Aug 2 2022

abosh requested review of D4726: [keyserver] Delete `setup.sh`.
Aug 2 2022, 9:39 PM
abosh abandoned D4714: [keyserver] Clean up `setup.sh` using ShellCheck.

I don't think we use this script anymore. I think it was only used in deploy.sh, which was deleted in D4484. I don't see any results with git grep setup.sh, anyways.

I think we can just delete it

Aug 2 2022, 9:29 PM
abosh requested review of D4725: [services] Clean up `run_performance_tests.sh` using ShellCheck.
Aug 2 2022, 9:27 PM
abosh closed D4721: [services] Clean up `proto_codegen.sh` using ShellCheck.
Aug 2 2022, 9:23 PM
abosh closed D4720: [services] Clean up `build_sources.sh` using ShellCheck.
Aug 2 2022, 9:23 PM
abosh committed rCOMM6a9572b06930: [services] Clean up `proto_codegen.sh` using ShellCheck.
Aug 2 2022, 9:23 PM
abosh committed rCOMM4ff2d64d1f10: [services] Clean up `build_sources.sh` using ShellCheck.
Aug 2 2022, 9:23 PM
abosh closed D4719: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 9:23 PM
abosh committed rCOMM1e62e4dff75c: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 9:23 PM
abosh closed D4716: [native] Clean up `build_openssl.sh` using ShellCheck.
Aug 2 2022, 9:20 PM
abosh committed rCOMMbf53b585b764: [native] Clean up `build_openssl.sh` using ShellCheck.
Aug 2 2022, 9:20 PM
abosh closed D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 9:20 PM
abosh committed rCOMMb02560464e49: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 9:20 PM
abosh closed D4713: [keyserver] Clean up `scp-backup.sh` using ShellCheck.
Aug 2 2022, 9:18 PM
abosh committed rCOMM6485a52417fc: [keyserver] Clean up `scp-backup.sh` using ShellCheck.
Aug 2 2022, 9:18 PM
abosh closed D4712: [keyserver] Clean up `run-prod.sh` using ShellCheck.
Aug 2 2022, 9:18 PM
abosh committed rCOMM04fff33b364e: [keyserver] Clean up `run-prod.sh` using ShellCheck.
Aug 2 2022, 9:18 PM
abosh requested review of D4724: [services] Clean up `run_integration_tests.sh` using ShellCheck.
Aug 2 2022, 9:15 PM
abosh added 2 blocking reviewer(s) for D4723: [services] Clean up `run_service.sh` using ShellCheck: atul, tomek.

Adding @atul and @tomek as blocking to get at least one more pair of eyes on this.

Aug 2 2022, 8:35 PM
abosh added a comment to D4723: [services] Clean up `run_service.sh` using ShellCheck.

This script is part of the CMD layer, so it's what is going to be ran if we do run it, but we don't

Aug 2 2022, 8:33 PM
abosh added inline comments to D4723: [services] Clean up `run_service.sh` using ShellCheck.
Aug 2 2022, 8:30 PM
abosh updated the diff for D4723: [services] Clean up `run_service.sh` using ShellCheck.

Remove cut -d/ -f2- command because we want to keep the leading ./ on line 15

Aug 2 2022, 8:27 PM
abosh updated the diff for D4723: [services] Clean up `run_service.sh` using ShellCheck.

Exclude hidden files and directories using -not -path find flag instead of piping to grep

Aug 2 2022, 8:00 PM
abosh requested review of D4723: [services] Clean up `run_service.sh` using ShellCheck.
Aug 2 2022, 8:00 PM
abosh accepted D4685: [Services] Make build_service.sh PWD independent.

Nice!

Aug 2 2022, 7:12 PM
abosh added inline comments to D4721: [services] Clean up `proto_codegen.sh` using ShellCheck.
Aug 2 2022, 5:55 PM
abosh requested review of D4721: [services] Clean up `proto_codegen.sh` using ShellCheck.
Aug 2 2022, 5:53 PM
abosh updated the test plan for D4720: [services] Clean up `build_sources.sh` using ShellCheck.
Aug 2 2022, 5:51 PM
abosh updated the test plan for D4719: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 5:51 PM
abosh updated the test plan for D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck.
Aug 2 2022, 5:49 PM
abosh updated the test plan for D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 2 2022, 5:47 PM
abosh updated the test plan for D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 5:47 PM
abosh updated the summary of D4714: [keyserver] Clean up `setup.sh` using ShellCheck.
Aug 2 2022, 5:46 PM
abosh updated the test plan for D4713: [keyserver] Clean up `scp-backup.sh` using ShellCheck.
Aug 2 2022, 5:44 PM
abosh added a comment to D4713: [keyserver] Clean up `scp-backup.sh` using ShellCheck.
In D4713#135601, @atul wrote:

Feel like there's probably a cleaner way to determine NEWEST_BACKUP, but this resolves the relevant shellcheck issue.

Aug 2 2022, 5:44 PM
abosh updated the test plan for D4712: [keyserver] Clean up `run-prod.sh` using ShellCheck.
Aug 2 2022, 5:42 PM
abosh updated the test plan for D4716: [native] Clean up `build_openssl.sh` using ShellCheck.
Aug 2 2022, 5:38 PM
abosh added a comment to D4716: [native] Clean up `build_openssl.sh` using ShellCheck.
In D4716#135609, @atul wrote:

Outside of running shellcheck, we should ensure that the script continues to work as expected and specify how we can check that in the Test Plan.

eg something like:

build_openssl.sh is run during the Android build so if that workflow continues to pass CI we can reasonably assume that the script continues to work as expected

Aug 2 2022, 5:37 PM
abosh requested review of D4720: [services] Clean up `build_sources.sh` using ShellCheck.
Aug 2 2022, 5:15 PM
abosh added inline comments to D4719: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 5:00 PM
abosh requested review of D4719: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 4:59 PM
abosh requested review of D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck.
Aug 2 2022, 4:58 PM
abosh requested review of D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 2 2022, 4:51 PM
abosh requested review of D4716: [native] Clean up `build_openssl.sh` using ShellCheck.
Aug 2 2022, 4:43 PM
abosh added inline comments to D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 4:37 PM
abosh updated the summary of D4712: [keyserver] Clean up `run-prod.sh` using ShellCheck.
Aug 2 2022, 4:32 PM
abosh updated the summary of D4713: [keyserver] Clean up `scp-backup.sh` using ShellCheck.
Aug 2 2022, 4:32 PM
abosh requested review of D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 4:30 PM
abosh retitled D4712: [keyserver] Clean up `run-prod.sh` using ShellCheck from [keyserver] Clean up `run-prod.sh`
Aug 2 2022, 4:30 PM