Page MenuHomePhabricator
Feed Advanced Search

Aug 4 2022

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

Ok, landing this as-is!

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

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

Aug 4 2022, 9:30 AM
abosh removed 1 blocking reviewer(s) for D4481: [web] Reintroduce `MessageTimestampTooltip` in `ChatMessageList`: jacek.
Aug 4 2022, 9:25 AM
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, 7:42 AM

Aug 3 2022

abosh added inline comments to D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 3 2022, 2: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, 1:19 PM
abosh closed D4723: [services] Clean up `run_service.sh` using ShellCheck.
Aug 3 2022, 12:38 PM
abosh committed rCOMM78e3a9f5e2fe: [services] Clean up `run_service.sh` using ShellCheck (authored by abosh).
[services] Clean up `run_service.sh` using ShellCheck
Aug 3 2022, 12:38 PM
abosh added 1 blocking reviewer(s) for D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck: atul.
Aug 3 2022, 12: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, 12: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, 11:25 AM
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, 11:19 AM
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, 11:13 AM
abosh updated the test plan for D4723: [services] Clean up `run_service.sh` using ShellCheck.
Aug 3 2022, 11:05 AM
abosh requested review of D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 3 2022, 10:57 AM
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, 10:56 AM
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, 10:35 AM
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, 9:39 AM
abosh closed D4725: [services] Clean up `run_performance_tests.sh` using ShellCheck.
Aug 3 2022, 9:25 AM
abosh committed rCOMM3edd49003222: [services] Clean up `run_performance_tests.sh` using ShellCheck (authored by abosh).
[services] Clean up `run_performance_tests.sh` using ShellCheck
Aug 3 2022, 9:25 AM
abosh closed D4724: [services] Clean up `run_integration_tests.sh` using ShellCheck.
Aug 3 2022, 9:25 AM
abosh committed rCOMMecec1e347883: [services] Clean up `run_integration_tests.sh` using ShellCheck (authored by abosh).
[services] Clean up `run_integration_tests.sh` using ShellCheck
Aug 3 2022, 9:25 AM
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, 9:23 AM
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, 9:18 AM
abosh closed D4726: [keyserver] Delete `setup.sh`.
Aug 3 2022, 8:35 AM
abosh committed rCOMMec1b0cdf22a0: [keyserver] Delete `setup.sh` (authored by abosh).
[keyserver] Delete `setup.sh`
Aug 3 2022, 8:35 AM
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, 6:52 AM
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, 6:52 AM

Aug 2 2022

abosh requested review of D4726: [keyserver] Delete `setup.sh`.
Aug 2 2022, 2: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, 2:29 PM
abosh requested review of D4725: [services] Clean up `run_performance_tests.sh` using ShellCheck.
Aug 2 2022, 2:27 PM
abosh closed D4721: [services] Clean up `proto_codegen.sh` using ShellCheck.
Aug 2 2022, 2:23 PM
abosh closed D4720: [services] Clean up `build_sources.sh` using ShellCheck.
Aug 2 2022, 2:23 PM
abosh committed rCOMM6a9572b06930: [services] Clean up `proto_codegen.sh` using ShellCheck (authored by abosh).
[services] Clean up `proto_codegen.sh` using ShellCheck
Aug 2 2022, 2:23 PM
abosh committed rCOMM4ff2d64d1f10: [services] Clean up `build_sources.sh` using ShellCheck (authored by abosh).
[services] Clean up `build_sources.sh` using ShellCheck
Aug 2 2022, 2:23 PM
abosh closed D4719: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 2:23 PM
abosh committed rCOMM1e62e4dff75c: [services] Clean up `build_service.sh` using ShellCheck (authored by abosh).
[services] Clean up `build_service.sh` using ShellCheck
Aug 2 2022, 2:23 PM
abosh closed D4716: [native] Clean up `build_openssl.sh` using ShellCheck.
Aug 2 2022, 2:20 PM
abosh committed rCOMMbf53b585b764: [native] Clean up `build_openssl.sh` using ShellCheck (authored by abosh).
[native] Clean up `build_openssl.sh` using ShellCheck
Aug 2 2022, 2:20 PM
abosh closed D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 2:20 PM
abosh committed rCOMMb02560464e49: [keyserver] Clean up `source-nvm.sh` using ShellCheck (authored by abosh).
[keyserver] Clean up `source-nvm.sh` using ShellCheck
Aug 2 2022, 2:20 PM
abosh closed D4713: [keyserver] Clean up `scp-backup.sh` using ShellCheck.
Aug 2 2022, 2:18 PM
abosh committed rCOMM6485a52417fc: [keyserver] Clean up `scp-backup.sh` using ShellCheck (authored by abosh).
[keyserver] Clean up `scp-backup.sh` using ShellCheck
Aug 2 2022, 2:18 PM
abosh closed D4712: [keyserver] Clean up `run-prod.sh` using ShellCheck.
Aug 2 2022, 2:18 PM
abosh committed rCOMM04fff33b364e: [keyserver] Clean up `run-prod.sh` using ShellCheck (authored by abosh).
[keyserver] Clean up `run-prod.sh` using ShellCheck
Aug 2 2022, 2:18 PM
abosh requested review of D4724: [services] Clean up `run_integration_tests.sh` using ShellCheck.
Aug 2 2022, 2: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, 1: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, 1:33 PM
abosh added inline comments to D4723: [services] Clean up `run_service.sh` using ShellCheck.
Aug 2 2022, 1: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, 1: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, 1:00 PM
abosh requested review of D4723: [services] Clean up `run_service.sh` using ShellCheck.
Aug 2 2022, 1:00 PM
abosh accepted D4685: [Services] Make build_service.sh PWD independent.

Nice!

Aug 2 2022, 12:12 PM
abosh added inline comments to D4721: [services] Clean up `proto_codegen.sh` using ShellCheck.
Aug 2 2022, 10:55 AM
abosh requested review of D4721: [services] Clean up `proto_codegen.sh` using ShellCheck.
Aug 2 2022, 10:53 AM
abosh updated the test plan for D4720: [services] Clean up `build_sources.sh` using ShellCheck.
Aug 2 2022, 10:51 AM
abosh updated the test plan for D4719: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 10:51 AM
abosh updated the test plan for D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck.
Aug 2 2022, 10:49 AM
abosh updated the test plan for D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 2 2022, 10:47 AM
abosh updated the test plan for D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 10:47 AM
abosh updated the summary of D4714: [keyserver] Clean up `setup.sh` using ShellCheck.
Aug 2 2022, 10:46 AM
abosh updated the test plan for D4713: [keyserver] Clean up `scp-backup.sh` using ShellCheck.
Aug 2 2022, 10:44 AM
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, 10:44 AM
abosh updated the test plan for D4712: [keyserver] Clean up `run-prod.sh` using ShellCheck.
Aug 2 2022, 10:42 AM
abosh updated the test plan for D4716: [native] Clean up `build_openssl.sh` using ShellCheck.
Aug 2 2022, 10:38 AM
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, 10:37 AM
abosh requested review of D4720: [services] Clean up `build_sources.sh` using ShellCheck.
Aug 2 2022, 10:15 AM
abosh added inline comments to D4719: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 10:00 AM
abosh requested review of D4719: [services] Clean up `build_service.sh` using ShellCheck.
Aug 2 2022, 9:59 AM
abosh requested review of D4718: [scripts] Clean up `rust_pre_commit.sh` using ShellCheck.
Aug 2 2022, 9:58 AM
abosh requested review of D4717: [native] Clean up `detect_abis.sh` using ShellCheck.
Aug 2 2022, 9:51 AM
abosh requested review of D4716: [native] Clean up `build_openssl.sh` using ShellCheck.
Aug 2 2022, 9:43 AM
abosh added inline comments to D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 9:37 AM
abosh updated the summary of D4712: [keyserver] Clean up `run-prod.sh` using ShellCheck.
Aug 2 2022, 9:32 AM
abosh updated the summary of D4713: [keyserver] Clean up `scp-backup.sh` using ShellCheck.
Aug 2 2022, 9:32 AM
abosh requested review of D4715: [keyserver] Clean up `source-nvm.sh` using ShellCheck.
Aug 2 2022, 9:30 AM
abosh retitled D4712: [keyserver] Clean up `run-prod.sh` using ShellCheck from [keyserver] Clean up `run-prod.sh` to [keyserver] Clean up `run-prod.sh` using ShellCheck.
Aug 2 2022, 9:30 AM