Page MenuHomePhabricator

[native] Rename the lib directory to third-party
ClosedPublic

Authored by rohan on Oct 5 2022, 9:33 AM.
Tags
None
Referenced Files
F2769274: D5303.diff
Thu, Sep 19, 6:29 PM
Unknown Object (File)
Wed, Sep 11, 6:08 AM
Unknown Object (File)
Tue, Sep 10, 10:35 PM
Unknown Object (File)
Tue, Sep 10, 10:35 PM
Unknown Object (File)
Tue, Sep 10, 10:35 PM
Unknown Object (File)
Tue, Sep 10, 10:35 PM
Unknown Object (File)
Tue, Sep 10, 10:35 PM
Unknown Object (File)
Tue, Sep 10, 10:35 PM

Details

Summary

Renamed the directory using git mv and changed paths in the
codebase from lib/sqlite_orm to third-party/sqlite_orm

Test Plan

Restarted the keyserver and native with yarn dev both
before and after the changes, and both run successfully.

Diff Detail

Repository
rCOMM Comm
Branch
third-party
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Also curious to see if the builds succeed here.

iOS fails with the following error:

/opt/homebrew/var/buildkite-agent/builds/mac-spring-local-1/comm/ios-build/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp:4:10: fatal error: 'sqlite_orm.h' file not found
#include "sqlite_orm.h"
Harbormaster returned this revision to the author for changes because remote builds failed.Oct 5 2022, 9:37 AM
Harbormaster failed remote builds in B12634: Diff 17364!

Attempt to add native/cpp/third-party to the header search path to try
to fix iOS build failing

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 5 2022, 11:22 AM
Harbormaster failed remote builds in B12639: Diff 17369!
Harbormaster returned this revision to the author for changes because remote builds failed.Oct 5 2022, 11:28 AM
Harbormaster failed remote builds in B12641: Diff 17371!

Revert back to first revision

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 5 2022, 11:40 AM
Harbormaster failed remote builds in B12642: Diff 17372!

Modify sqlite_orm.h file reference in XCode

rohan requested review of this revision.Oct 5 2022, 12:22 PM

Looks good to me (and CI passes)!

This revision is now accepted and ready to land.Oct 5 2022, 12:28 PM

Best to leave me off the first pass of a review, except in these cases or if I have some special context on the code change

Best to leave me off the first pass of a review, except in these cases or if I have some special context on the code change

Ah thanks for the heads up, I'll keep it in mind for future diffs.