Commit Graph

2978 Commits

Author SHA1 Message Date
svcscm
0401d78964 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: e4cb9d7caf3c4018b8b99aa5bdfe23fbde450ed9
2019-09-05 20:51:48 -07:00
Chad Austin
e824e76a2e enable edenfs-oss build on macOS
Summary: Build the edenfs-oss daemon on macOS with Buck. :)

Reviewed By: fanzeyi

Differential Revision: D17107628

fbshipit-source-id: fed95a8622fb767246044343dc18491430e9500b
2019-09-05 16:57:17 -07:00
Chad Austin
a2e7b0afa9 build hg store on macOS with Buck
Summary:
Build the hg store on macOS with Buck. This primarily involves putting
ServiceRouter and Rust datapack support behind build switches.

Reviewed By: fanzeyi

Differential Revision: D17106241

fbshipit-source-id: da4643a11d6e5d0a6df23bff1d5e1454ab351abe
2019-09-05 16:57:16 -07:00
Chad Austin
03e07bf74f fix eden-buck-mac build
Summary:
The Eden macOS build has regressed in a few ways since it's been
broken due to RocksDB changes. Fix those small issues.

Reviewed By: fanzeyi

Differential Revision: D17107209

fbshipit-source-id: ef2e97a84e2403e7b7f36a4a01e2ceecab69106e
2019-09-05 16:57:16 -07:00
svcscm
28e94ef1db Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: c521cc23f2f96a695beaee343e553353363ad641
2019-09-05 16:57:16 -07:00
svcscm
476dc568da Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 226aa9c419a0330b54897c338b040199134c67d7
2019-09-04 23:16:15 -07:00
svcscm
2a792fda6d Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 5fb5077cb778a65d4a8b06c84b3a28938dbb88b6
2019-09-04 23:16:15 -07:00
svcscm
2bb4a2df46 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 8ea419d0fd1925a895f9993535be27660a583548
2019-09-04 13:00:23 -07:00
Adam Simpkins
92b770a40e fsck: extract orphaned symlink inodes as symlinks
Summary:
Update the fsck code to save any orphaned symlink inodes that it finds as
symlinks in the repair archive directory, rather than saving the contents as a
regular file.

Reviewed By: wez

Differential Revision: D17170346

fbshipit-source-id: 4cba8b27233b728114a80a327ab519b039297aea
2019-09-04 11:08:10 -07:00
Adam Simpkins
3f7e72dc3e automatically perform an fsck scan when needed
Summary:
Use the new `OverlayChecker` class to automatically scan for errors and
attempt to repair them if the overlay was not shutdown cleanly the previous
time it was used.

Reviewed By: wez

Differential Revision: D16596601

fbshipit-source-id: 9923565b101ba953e92909e502be6ef5895c5cbd
2019-09-04 11:08:10 -07:00
Adam Simpkins
0a1802ac0b update OverlayChecker to avoid an extra allocation for each inode
Summary:
Update the OverlayChecker's `inodes_` map to store `InodeInfo` objects
directly, rather than pointers to `InodeInfo` objects allocated on the heap.

This tweaks some of the error handling code to look up `InodeInfo` objects in
the map in a few places, to avoid storing raw pointers to `InodeInfo` objects.
The `InodeInfo` objects generally shouldn't move once we start performing
error checking, but it seems better to be conservative here and avoid using
raw pointers that are only loosely coupled with the original object's
lifetime.

This probably shouldn't really make much of a performance difference in
practice, since this code is likely to be disk I/O bound anyway.  (It does
appear to make a small difference in performance for ASAN-enabled builds when
the inode files are warmed up in the kernel cache.)

Reviewed By: wez

Differential Revision: D16750736

fbshipit-source-id: b089a259cc83ffd2fda6f83b617d95ce4ac467f9
2019-09-04 11:08:10 -07:00
svcscm
84a738ce6c Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 0cef39945756e217dfe2d8793b2918d530462bb8
2019-09-04 11:08:10 -07:00
svcscm
539a85ee92 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 71dafed269808193a769093f68dbb04b1100f6cb
2019-09-03 22:03:26 -07:00
Yedidya Feldblum
d87295fc9d Cut mstch manifest
Summary: [OpenSource] Cut `mstch` manifest, which was but is no longer used by `fbthrift`.

Reviewed By: avalonalex, davidtgoldblatt

Differential Revision: D17160816

fbshipit-source-id: 3b96142455d6990870e8ed3e5ce330d339d5a657
2019-09-03 21:39:29 -07:00
svcscm
b1925c000e Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 0682608d96cd4ef316e0be812d22d9627d2e440d
2019-09-03 21:39:29 -07:00
svcscm
0b35ce3e3c Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 4c6f0b6e6900b3da62cbd7163f469283c867f079
2019-09-03 17:24:55 -07:00
Wez Furlong
ced2517121 getdeps: assign test owner in continuous runs
Summary:
Feed the first-party oncall data through to the testpilot
invocation.  This will set the owner of the test in continuous runs.

The oncall is passed through via the sandcastle module, which means
that you will have to manually pass it through for local testing
(see test plan), but it should automatically get picked up when
sandcastle schedules the `test` step of the job.

Reviewed By: chadaustin

Differential Revision: D17146802

fbshipit-source-id: a4f0e65853a46ed8709594c96db859ede2530b00
2019-09-03 17:09:35 -07:00
svcscm
fc263c7372 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 2df5031d0d5c87b21803d02f165b4607b62b85b4
2019-09-03 17:07:01 -07:00
John Strizich
19784e4aa7 add generated constant definitions to library
Summary: when trying to build openr with `getDeps.py` constant definitions where not available since they were not part of the generated thrift lib. this fixes it.

Reviewed By: chadaustin

Differential Revision: D16064417

fbshipit-source-id: ee2b3e061caf67235f4a873405cf6cd6fb663ef4
2019-09-03 16:39:48 -07:00
svcscm
dd831aa429 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: f8fa065aa374df9a7e66877f1a934fd88702a762
2019-09-03 16:39:48 -07:00
svcscm
1b1e0312e7 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 170bf83df0abbd794b0bff6727b7245ec122ae8b
2019-09-03 13:20:29 -07:00
svcscm
7147d1d758 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 51a81fde82232d0151565babb27b19c573733ec7
2019-09-03 13:20:29 -07:00
svcscm
5171b28d11 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: fa0a8ae3a212f7220580025fb05d3113dcb9822c
2019-09-03 11:29:18 -07:00
Chad Austin
89d0c3dcf0 add inodemap. prefix to InodeMap counters
Summary:
We are probably going to add more inodemap counters, so add a prefix
now.

Reviewed By: fanzeyi

Differential Revision: D17142015

fbshipit-source-id: 4bd3cd4fd9234d8766864f364fef0b0d963f03b6
2019-09-03 11:08:36 -07:00
svcscm
7aec1c2b35 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: c83eb880e04257727f0de31fd2014cf60c846dd6
2019-09-03 11:08:36 -07:00
svcscm
20a01ba560 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 135094a1282a99aa48a874323c0a61cc496f027a
2019-09-03 10:07:11 -07:00
Luca Niccolini
ebdaad98a9 BUILD_SHARED_LIBS=OFF for CI build
Summary: fixes the CI build

Reviewed By: dddmello

Differential Revision: D17158685

fbshipit-source-id: 44ea871eab4d8c964b8372fb8d84879fa823ca50
2019-09-03 09:32:58 -07:00
Wez Furlong
f09c488a03 eden: stop reporting user.sha1 in listxattr
Summary:
This was causing problems on macos where various tools
would enumerate and helpfully try to preserve attributes across
copies.  On macos this would result in appledouble metadata files
being created to track the metadata in the destination file,
which clutters up the repo and has surprising secondary effects
such as being picked up by glob operations in cmake build rules.

This diff simply stops enumerating the extended attribute.

Reviewed By: fanzeyi

Differential Revision: D17140414

fbshipit-source-id: 2924657dc75b900baf70595edfa72e5d0521a697
2019-09-03 08:04:15 -07:00
svcscm
41b48b2d32 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 3da26995a154a60bd3026b62fd13854d5cba2c90
2019-09-03 08:04:15 -07:00
svcscm
c5e93773c1 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 6503db1fb6fcc3a0081835df449ffb8d74fe3582
2019-09-02 19:21:49 -07:00
svcscm
ac77fd099f Updating submodules
Reviewed By: yns88

fbshipit-source-id: d217abe63e6027134c5cfc2ffbaae478918a72f6
2019-09-02 09:22:09 -07:00
svcscm
1400d1928f Updating submodules
Reviewed By: yns88

fbshipit-source-id: 9f3c7b1cb30b8e29d5f21af226c8e065307daaab
2019-09-01 12:21:50 -07:00
svcscm
289ed6d5bb Updating submodules
Reviewed By: yns88

fbshipit-source-id: c2d294e5a44a8d5cd9cf7f19cf70b76a56485dc7
2019-08-31 17:22:58 -07:00
svcscm
d19bcdd449 Updating submodules
Reviewed By: yns88

fbshipit-source-id: ddbe558238c33cbd59ff36c071808232c0555cd2
2019-08-30 16:39:51 -07:00
Adam Simpkins
c6071efda3 fix make-client.py to find fb303_core.thrift properly
Summary:
D17005381 changed where `fb303_core.thrift` gets installed.  The
`make-client.py` script needs to be updated to take the new location into
account.

I have some diffs in progress that will enable building the `edenfsctl` with
CMake, which will then remove the need for `make-client.py` entirely.  (The
file move done in D17005381 was part of the work to enable building
`edenfsctl` with CMake.)

Reviewed By: wez

Differential Revision: D17128434

fbshipit-source-id: 22042ba9ad51b1c0d9d869370e549bcf0caed0dd
2019-08-30 15:48:38 -07:00
svcscm
cb0f4ea56d Updating submodules
Reviewed By: yns88

fbshipit-source-id: f031a56fcb96a2f5bd9338e2fe3111ee5c1162b2
2019-08-30 14:07:22 -07:00
generatedunixname89002005289445
13e683608d Update pyre version for eden
Summary: Automatic upgrade to remove `version` override and silence errors.

Reviewed By: sinancepel

Differential Revision: D17135557

fbshipit-source-id: 07afef940271a277c75834892733901d070bfa5f
2019-08-30 13:37:34 -07:00
svcscm
de54a53932 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 57e0c03a82dbb17daad7c853de82942a7ded8d20
2019-08-30 13:37:33 -07:00
svcscm
97f749226c Updating submodules
Reviewed By: yns88

fbshipit-source-id: ed9c979746e3d7de5cf0d1aa0b99c00cc2e0929c
2019-08-30 11:15:45 -07:00
Wez Furlong
75ad139034 fbzmq: disable build on darwin and windows
Summary:
boost.fiber is not available on macos and is required by fbzmq,
so disable the build on darwin.

In D17128935 I tried to make libzmq build with cmake to build
on windows, but there's a problem with its cmake and it fails
to configure.

So let's just nop out the build for !linux for now.

Reviewed By: jstrizich

Differential Revision: D17129362

fbshipit-source-id: db89010d18707a4105b8d395b1758f738336495d
2019-08-30 10:48:04 -07:00
svcscm
ebba323fcc Updating submodules
Reviewed By: yns88

fbshipit-source-id: 776b0dda3929e5b66a716ce37ccb2e7c3d7e5bd3
2019-08-30 10:48:03 -07:00
svcscm
9ce1e6b2fc Updating submodules
Reviewed By: yns88

fbshipit-source-id: ebf75b38d338867af7d01545de29450c0cc70635
2019-08-29 23:46:18 -07:00
Paul O'Shannessy
6996f4f497 Adopt Contributor Covenant
Summary:
In order to foster healthy open source communities, we're adopting the
[Contributor Covenant](https://www.contributor-covenant.org/). It has been
built by open source community members and represents a shared understanding of
what is expected from a healthy community.

Reviewed By: josephsavona, danobi, rdzhabarov

Differential Revision: D17104640

fbshipit-source-id: d210000de686c5f0d97d602b50472d5869bc6a49
2019-08-29 23:23:31 -07:00
svcscm
b5d54405e9 Updating submodules
Reviewed By: yns88

fbshipit-source-id: b6219f97186fbcede08240945f8af6125fcf8b3c
2019-08-29 23:23:30 -07:00
svcscm
b3376b951c Updating submodules
Reviewed By: yns88

fbshipit-source-id: 80ff1036a0aa582e069a4699b6ba09b749ecdba7
2019-08-29 22:45:32 -07:00
Adam Simpkins
930a743673 fix some library dependencies in CMakeLists.txt files
Summary:
This fixes a few issues with the library dependencies:
- The `eden_utils` library depends on `eden_service_thrift`, not
  `eden_service`.  By incorrectly depending on `eden_service` this introduced
  a circular dependency which would cause a build failure, depending on which
  order CMake chose to try and emit the link line.
- The `eden_config` library depends on code from `eden_model` (for `Hash` and
  `ParentCommits`)
- The `eden_inodes` library depends on `eden_model_git` for the `GitIgnore`
  logic.  I also alphabetized the dependency list.

Reviewed By: wez

Differential Revision: D17124930

fbshipit-source-id: 70cbe81081fc1dc807cca13a93edc25ba270b01f
2019-08-29 22:28:32 -07:00
Adam Simpkins
2fd1d16ba9 fbcode_builder: add a FBThriftLibrary.cmake file
Summary:
This module provides a `add_fbthrift_library()` convenience function that can
be used to generate thrift libraries for multiple languages with a single
call.

Reviewed By: wez

Differential Revision: D16742275

fbshipit-source-id: c13120cf9e051629951282141eb22f3e085782f9
2019-08-29 22:05:44 -07:00
Adam Simpkins
ea8f788011 fbcode_builder: add an FBThriftPyLibrary.cmake module
Summary:
This module helps generate Python libraries from thrift files.
It is the Python equivalent of `FBThriftCppLibrary.cmake`

Reviewed By: wez

Differential Revision: D16742274

fbshipit-source-id: ef0dc7f24eb1c7375d2587ee6b71fd25bd6f35a7
2019-08-29 22:05:44 -07:00
svcscm
c8fbf55018 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 410e8d7912cfd70a8857244f322d81c26cb7b8fd
2019-08-29 22:05:44 -07:00
svcscm
b772f483b8 Updating submodules
Reviewed By: yns88

fbshipit-source-id: bc29befbd71ea2ff38da0857b66c6002fa4581db
2019-08-29 20:47:26 -07:00