Page MenuHomePhabricator

[Services] Update backup to reference new proto location
ClosedPublic

Authored by jon on Sep 2 2022, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 9:27 AM
Unknown Object (File)
Fri, Nov 29, 5:32 AM
Unknown Object (File)
Sat, Nov 23, 11:38 PM
Unknown Object (File)
Oct 26 2024, 2:15 AM
Unknown Object (File)
Oct 26 2024, 2:15 AM
Unknown Object (File)
Oct 26 2024, 2:15 AM
Unknown Object (File)
Oct 26 2024, 2:15 AM
Unknown Object (File)
Oct 26 2024, 2:15 AM
Subscribers

Details

Summary

Update backup to reference the new protobuf
file locations.

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

Test Plan
nix develop
cd services/backup
rm -rf build && mkdir build && cd build && cmake .. && make -j

Backup CI gate passes

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested changes to this revision.Sep 6 2022, 1:04 AM

Get a bunch of these when I try following the Test Plan:

/Users/atul/comm/services/backup/build/protos/backup.pb.cc:2033:11: error: no member named 'Swap' in 'google::protobuf::internal::ArenaStringPtr'
  userid_.Swap(&other->userid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  ~~~~~~~ ^
/Users/atul/comm/services/backup/build/protos/backup.pb.cc:2034:13: error: no member named 'Swap' in 'google::protobuf::internal::ArenaStringPtr'
  backupid_.Swap(&other->backupid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  ~~~~~~~~~ ^
/Users/atul/comm/services/backup/build/protos/backup.pb.cc:2452:22: error: no member named 'Swap' in 'google::protobuf::internal::ArenaStringPtr'
  attachmentholders_.Swap(&other->attachmentholders_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  ~~~~~~~~~~~~~~~~~~ ^
/Users/atul/comm/services/backup/build/protos/backup.pb.cc:2767:11: error: no member named 'Swap' in 'google::protobuf::internal::ArenaStringPtr'
  userid_.Swap(&other->userid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  ~~~~~~~ ^
/Users/atul/comm/services/backup/build/protos/backup.pb.cc:2768:13: error: no member named 'Swap' in 'google::protobuf::internal::ArenaStringPtr'
  backupid_.Swap(&other->backupid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  ~~~~~~~~~ ^
/Users/atul/comm/services/backup/build/protos/backup.pb.cc:2769:10: error: no member named 'Swap' in 'google::protobuf::internal::ArenaStringPtr'
  logid_.Swap(&other->logid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  ~~~~~~ ^

Let me know if I'm missing anything here

This revision now requires changes to proceed.Sep 6 2022, 1:04 AM

Was able to follow Test Plan in macOS VM:

Screen Shot 2022-09-07 at 8.09.29 PM.png (1×2 px, 1 MB)

This revision is now accepted and ready to land.Sep 7 2022, 5:10 PM