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)
Thu, May 16, 6:29 PM
Unknown Object (File)
Mon, May 13, 5:22 PM
Unknown Object (File)
Mon, May 13, 2:55 PM
Unknown Object (File)
Thu, May 9, 5:19 PM
Unknown Object (File)
Thu, May 9, 5:19 PM
Unknown Object (File)
Thu, May 9, 5:19 PM
Unknown Object (File)
Thu, May 9, 5:19 PM
Unknown Object (File)
Sun, Apr 28, 7:58 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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