Page MenuHomePhabricator

[services] Export sqlite_orm as CMake project
ClosedPublic

Authored by jon on Jun 19 2022, 1:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 4:24 PM
Unknown Object (File)
Mon, Nov 25, 3:02 PM
Unknown Object (File)
Mon, Nov 25, 3:02 PM
Unknown Object (File)
Mon, Nov 25, 1:10 PM
Unknown Object (File)
Mon, Nov 25, 12:57 PM
Unknown Object (File)
Mon, Nov 25, 7:03 AM
Unknown Object (File)
Mon, Nov 25, 5:44 AM
Unknown Object (File)
Fri, Nov 22, 6:27 AM

Details

Summary

Export so that it can be consumed elsewhere

Depends on D4297

Test Plan

nix develop && cd native/cpp/lib/sqlite_orm && mkdir build && cd build && cmake .. && make

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 19 2022, 1:53 PM
Harbormaster failed remote builds in B9812: Diff 13576!

Update diff with changes to protobuf CMake Project

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 3 2022, 9:16 AM
Harbormaster failed remote builds in B10223: Diff 14110!
jon published this revision for review.Jul 7 2022, 3:26 PM
jon added reviewers: atul, ashoat, varun.

Resigning since I'm usually not a good person to set as a first-pass reviewer. Exceptions here

atul added inline comments.
native/cpp/lib/sqlite_orm/CMakeLists.txt
18 ↗(On Diff #14299)

We should capitalize the first letter to be consistent with the other comments

This revision is now accepted and ready to land.Jul 14 2022, 12:24 PM

@jonringer-comm, do we have a task for adding a CMake linter? I think this is the 6th time I've left rote comments like this about things like line length, newlines, and indentation. Seeing as it's not something you're reliably able to catch ahead of submitting diffs, it's critical that you prioritize integrating a CMake linter into the project. Until you do that, pretty much all of your diffs will require repeated back and forth, which wastes your time and your reviewers' time. Please take this comment seriously this time!

native/cpp/lib/sqlite_orm/CMakeLists.txt
36 ↗(On Diff #14299)

Line is 86 chars long

ashoat requested changes to this revision.Jul 15 2022, 12:57 PM
This revision now requires changes to proceed.Jul 15 2022, 12:57 PM

@jonringer-comm, do we have a task for adding a CMake linter?

https://linear.app/comm/issue/ENG-1373

This revision is now accepted and ready to land.Jul 19 2022, 8:25 AM
jon marked an inline comment as done.

Capitalize comment

jon marked an inline comment as not done.Jul 20 2022, 12:52 PM
jon added inline comments.
native/cpp/lib/sqlite_orm/CMakeLists.txt
18 ↗(On Diff #14299)

Do you mean like Comm-sqlite-orm ? because if we go with PascalCase, then we should probably do CommSqliteOrm.

If we do, then I would ask that we do that refactor after all of the in-flight work is done. Having to juggle ~12 diffs is really difficult, and that's something we can do relatively easily in a later diff.

jon requested review of this revision.EditedJul 20 2022, 3:29 PM

@atul just making sure that you're still okay with doing project name refactoring at a later time

atul added inline comments.
native/cpp/lib/sqlite_orm/CMakeLists.txt
18 ↗(On Diff #14299)

Oh, I was just referring to capitalizing the "r" in "reference"

This revision is now accepted and ready to land.Jul 20 2022, 3:33 PM

@atul just making sure that you're still okay with doing project name refactoring at a later time

Was suggesting that we capitalize the first letter of the comment, not that we needed to capitalize the project name.

(I do slightly prefer PascalCase, but that wasn't what I was suggesting here)

jon added inline comments.
native/cpp/lib/sqlite_orm/CMakeLists.txt
18 ↗(On Diff #14299)

oh, that's what I at first, but noticed it was for the line below... was just making sure :)

This revision was automatically updated to reflect the committed changes.
jon marked an inline comment as done.