sapling/eden/fs/testharness
Genevieve Helsel d8445bae2c save version number in EdenServer
Summary:
This saves the version number (like 20191014-154333) in the EdenServer. This will be returned to the user in a getScmStatusV2 call later up the stack. This is useful for being able to warn the user if EdenFS is running on an old or known-bad version.

I ended up splitting up `getEdenfsVersion()` and `getEdenfsBuildName()` because I don't think we need to store "edenfs " with every version number in the server / return this from the thrift call of `getScmStatusV2()`. Not sure of the use case of having "edenfs " prepended to the version number returned from the current `getEdenfsBuildName()` so didn't want to change that, but if it seems fine we could remove that prepended edenfs (or if it actually makes sense to return the string with that prepended from the ScmStatus call).

Reviewed By: chadaustin

Differential Revision: D17919528

fbshipit-source-id: 5abdf7851371c4614da862657350a8cc263eb014
2019-10-24 12:48:33 -07:00
..
test save version number in EdenServer 2019-10-24 12:48:33 -07:00
CMakeLists.txt update license headers in CMake files 2019-06-19 17:02:46 -07:00
FakeBackingStore.cpp fix lock ordering issues in eden tests 2019-10-22 10:39:13 -07:00
FakeBackingStore.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeClock.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeFuse.cpp Remove dead includes in eden 2019-10-11 16:45:01 -07:00
FakeFuse.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeObjectStore.cpp Remove dead includes in eden 2019-10-11 16:45:01 -07:00
FakeObjectStore.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakePrivHelper.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FakePrivHelper.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeTreeBuilder.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeTreeBuilder.h Tidy up license headers 2019-10-11 05:28:23 -07:00
HgRepo.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
HgRepo.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeUnloader.h Tidy up license headers 2019-10-11 05:28:23 -07:00
StoredObject.h fix lock ordering issues in eden tests 2019-10-22 10:39:13 -07:00
TempFile.cpp Remove dead includes in eden 2019-10-11 16:45:01 -07:00
TempFile.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestChecks.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestDispatcher.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestDispatcher.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestMain.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestMount.cpp Merge TreeInode::create/mknod 2019-10-18 13:25:46 -07:00
TestMount.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestServer.cpp save version number in EdenServer 2019-10-24 12:48:33 -07:00
TestServer.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.h Tidy up license headers 2019-10-11 05:28:23 -07:00