Commit Graph

66457 Commits

Author SHA1 Message Date
Mingtao Yang
2286a4f842 Move FindZstd.cmake into fbcode_builder
Summary:
A bunch of existing projects vendor it into their own CMake folder. But these
same projects also have fbcode_builder's CMake directory in their CMAKE_MODULE_PATH,
so move FindZstd here.

Differential Revision: D29637686

fbshipit-source-id: 805676e18f98ef217dea8511d039edc38771b529
2021-07-09 14:23:53 -07:00
svcscm svcscm
58401f6a48 Updating submodules
Summary:
GitHub commits:

0da726204c
b6ff3f1227
509cf6ceb9
70eff75632
d2f4cdb6bc
b53c15cd25
97c26a1df4
5dd4434031
81ced2d7ba
a8dd73bf8e
4efb972d71
01f0adb758

Reviewed By: bigfootjon

fbshipit-source-id: 0e8875886d7dfd79cc536c34c68bf4f08ab561a3
2021-07-09 14:23:53 -07:00
svcscm svcscm
903424c302 Updating submodules
Summary:
GitHub commits:

74fe9b3cff
b581bd6ec7
26016e9eaa
a405d07306
5c5498cf2a
5537c0f302
3ea0766eb2
f949714ac4
c9b5f0a335
32ad80d0ce
a601088157
6ad6a93745
40cb9fecf0
02180890b3

Reviewed By: bigfootjon

fbshipit-source-id: 1bfd7633d9b4221d8c7890df548b05873a1a92ea
2021-07-09 13:25:04 -07:00
svcscm svcscm
3a469a8ba5 Updating submodules
Summary:
GitHub commits:

83ae662219
4e11f6e247
a2acf10125
f89cc14008
a071eb5158
553d8cc0fc

Reviewed By: bigfootjon

fbshipit-source-id: ed6d071eaf1815210fd2150c56be0afde2d0a2ce
2021-07-09 10:23:38 -07:00
Fred Emmott
e428a03261 Mark zstd as a dependency of fizz
Summary:
I don't understand why we have both manifests/specs; I was assuming one was generated from the other,
but I don't see a at-generated and grep doesn't show up anything, so both are manual edits.

Reviewed By: iahs

Differential Revision: D29524000

fbshipit-source-id: 5f6df62f0162ea24a9903bedf5d220eab5c2dff1
2021-07-09 10:23:38 -07:00
Zhengchao Liu
f5d13407cb fix rage getting process tree
Summary: `-s` requires session id, so get the `sid` from `pid`

Reviewed By: genevievehelsel

Differential Revision: D29627171

fbshipit-source-id: b2812a150fe56b6fd6cfa246298247164861fc9d
2021-07-09 09:24:14 -07:00
svcscm svcscm
5965a5189f Updating submodules
Summary:
GitHub commits:

44d757f2a5
b0a7a48eec
3db00afd58
4f19da0f5a
b51d20bfc9
a50fcab358
bc6ac11dfd
78d9568dd6
396d82d04b
b090919185

Reviewed By: bigfootjon

fbshipit-source-id: 03e8589843bfb5deff90c2ba34a502730e57d2d6
2021-07-09 09:24:14 -07:00
svcscm svcscm
ab2678cd70 Updating submodules
Summary:
GitHub commits:

0c5df4ce29
19772a4d45
496bf18dcb
fe28f3ba1c
e27bc4b812
c69abd69dc
83bf1ab351
cfa5a7f807
b539a3c758
e7e66a5ba4
e7559d8600

Reviewed By: bigfootjon

fbshipit-source-id: 33147bf486a1d186ebfedf8aa110856994c3dffc
2021-07-09 08:24:18 -07:00
svcscm svcscm
3fc1e3b82d Updating submodules
Summary:
GitHub commits:

e053fa4f5c
101dc74794
8ddfe3b994
40803d695d
40b6e08b08
ac833d3f2c
b2a98f539b
d34c215be3
91d093ced5
ca5c8d4ce7
2790a09266
18710ba80f
d098d204ff

Reviewed By: bigfootjon

fbshipit-source-id: d6b1bc9833581e5faa0c6ad84bfe5f40756842a6
2021-07-09 07:23:56 -07:00
Zsolt Dollenstein
dbfe4a85f3 Opt in opensource/fbcode_builder to pyfmt
Reviewed By: zertosh

Differential Revision: D29612107

fbshipit-source-id: ac450058134e23a3831db35d2e49c80eb8cde36a
2021-07-09 06:24:16 -07:00
Stanislau Hlebik
d74cc69de4 mononoke: avoid creating deletion commit on megarepo mainline
Summary:
In previous diff we started creating deletion commits on megarepo mainline.
This is not great since it breaks bisects, and this diff avoids that.

The way it does it is the following:
1) First do the same thing we did before - create deletion commit, and then
create a merge commit with p1 as deletion commit and p2 as an addition commit.
Let's call it "fake merge", since this commit won't be used for our mainline
2) Generate manifest for our "fake merge", and then use this manifest to
generate bonsai diff. But this time make p1 an old target commit (i.e. remove
deleted commit as if it never exited).
3) Use generated bonsai diff to create a commit.

So in short we split the procedure in two - first generate and validate the
resulting manifest (this is what we use "fake merge" commit for), and then
generate bonsai changeset using this manifest. It's unfortunate that in order
to generate resulting manifest we actually need to create commit and save it to
blobstore. If we had in-memory manifests we could have avoided that, but alas
we don't have them yet.

This way of creating bonsai changesets is a bit unconventional, but I think it has the benefit of relying on tools that we have confidence that they work (i.e. bonsai_diff), and we don't need to reimplement all the bonsai logic again

Reviewed By: mitrandir77

Differential Revision: D29633340

fbshipit-source-id: eebdb0e4db5abbab9346c575b662b7bb467497c4
2021-07-09 05:23:43 -07:00
Stanislau Hlebik
58ffbc5cec mononoke: redo the way we create merge bonsai changesets in change_target_config
Summary:
Initially I just wanted to address comments from D29515737 (fa8796ae19) about unnecessary
manifest retraversals, but there were a few more problems:
1) We didn't detect file conflicts in the final merge commit correctly. For
example, if additions_merge commit added a file "dir/1.txt", but there's
already file "dir" in target changeset that we won't detect this problem.
2) What's worse is that we might produce invalid bonsai merge changeset
ourselves. Say, if we delete "source_1/dir/file.txt", and then add file
"source_1/dir" in additions merge commit then resulting bonsai changeset should
have "source_1/dir" entry in the bonsai changeset.

This diff does the following:
1) Adds more tests to cover different corner cases - some of them were failing
before this diff.
2) Improves logic to verify file conflicts
3) Instead of trying to generate correct merge bonsai changeset it simplifies
the task and creates a separate deletion commit.

Note that creating a deletion commit on the mainline is something we want to
avoid to not break bisects. This will be addressed in the next diff.

Reviewed By: mitrandir77

Differential Revision: D29633341

fbshipit-source-id: 8f755d852212fbce8f9331049bf836c1d0a4ef42
2021-07-09 05:23:43 -07:00
Stanislau Hlebik
a24c68cf27 mononoke: log bookmark name when bookmark is moved/created/deleted/pushrebased
Reviewed By: mitrandir77

Differential Revision: D29634346

fbshipit-source-id: 25e98921410e8a481f3468264d0a1f084b89b1ba
2021-07-09 05:23:43 -07:00
Mateusz Kwapich
3a41e7fbc3 megarepo_add_branching_sync_target method
Summary: This new method will allow the megarepo customers to create a sync target that's branching off the existing target. This feature is meant to be used for release branches.

Reviewed By: StanislavGlebik

Differential Revision: D29275281

fbshipit-source-id: 7b58d5cc49c99bbc5f7e01814178376aa3abfcdf
2021-07-09 05:23:43 -07:00
svcscm svcscm
ee57c22f5e Updating submodules
Summary:
GitHub commits:

8b15093d46
0e365ae4a7
4f174669db
c6cd58669a

Reviewed By: bigfootjon

fbshipit-source-id: a72ba686b1934f80eeeae39a9e20bd8b5ca67624
2021-07-09 03:23:45 -07:00
Liubov Dmitrieva
ebdae10209 edenapi: end to end integration test for hg cloud upload
Summary:
First integration test for the `hg cloud upload` command.

We will be able to cover more cases once last part (uploading of changesets) will be implemented.

Reviewed By: markbt

Differential Revision: D29612725

fbshipit-source-id: cb8fedfc4e8c2408bccaa4195dc1e5c0758d742a
2021-07-09 03:23:45 -07:00
Liubov Dmitrieva
7105c6e7c1 Back out "Revert D29586388: [hg] edenapi: upload trees client side API"
Summary:
Original commit changeset: 53d067bc2bb9

Same as https://www.internalfb.com/diff/D29586388 (0be0a68cca).

D29586388 (0be0a68cca) was disconnected from its parent and landed too early by mistake and reverted (because it wouldn't even compile without the parent commit).

This is just another version for the D29586388 (0be0a68cca) as it's not possible to reopen the original one.

Reviewed By: markbt

Differential Revision: D29598758

fbshipit-source-id: 96b6137366e196f9cd3c35c178eaa3d2fce1e071
2021-07-09 03:23:45 -07:00
Liubov Dmitrieva
9aaf619762 Implement upload trees API
Summary: Implement upload trees endpoint

Reviewed By: markbt

Differential Revision: D29556346

fbshipit-source-id: 415285f2fba0b3f18a75f616649e31f78afca2b9
2021-07-09 03:23:45 -07:00
svcscm svcscm
5306049216 Updating submodules
Summary:
GitHub commits:

c91623bf1d
d499fd0937
aea7c5eb9f
59cc267ddb
c714f83150

Reviewed By: bigfootjon

fbshipit-source-id: 9e924f68d70db0dfbb9c6241c6f55d5020ee115b
2021-07-09 02:26:07 -07:00
svcscm svcscm
92b74924d8 Updating submodules
Summary:
GitHub commits:

87aeb7311c
06743536f3
e9c8bdba3a
f3b62e2316
d65035ea66
acd25c31e0

Reviewed By: bigfootjon

fbshipit-source-id: 7aedd909c75b87838c31b8cfa9ccfbd4c71d8587
2021-07-09 01:23:42 -07:00
svcscm svcscm
73410659a3 Updating submodules
Summary:
GitHub commits:

fa67c34ca7
01e5c4c226
f918b5202e
52de2f4d73
8340e8466d
3e5b33c901
89896eaed6
c1b27ee0c3
042f0d88e3

Reviewed By: bigfootjon

fbshipit-source-id: 49bb011f3c705047181035a01a06e6ccf25c6b51
2021-07-09 00:24:02 -07:00
svcscm svcscm
a2618bea0e Updating submodules
Summary:
GitHub commits:

95cf0dfdd6
e80494427d
b3500da434
101ceac7c6
b1b8a7a4a1
a516099393
bd2d800dae
7b6908ed44
52ab9daed3
2fa82086e0
dafddbc27c
fd5e0681d1

Reviewed By: bigfootjon

fbshipit-source-id: b245c99d530f8686c5a06acca94176c2744d7237
2021-07-08 23:23:00 -07:00
svcscm svcscm
517d020df8 Updating submodules
Summary:
GitHub commits:

9eea545e12
611ddf122f
f5c4eda58a
c2ea37612a
da87982406
9f471b4075
a47e0c7e92
e0175e2d0f
2f07494f36
00f57731fc
bf68fa5a02
f95036173b

Reviewed By: bigfootjon

fbshipit-source-id: 5c1e6a66f185fb5de4a465ad7834db7b8e01b52e
2021-07-08 22:23:40 -07:00
svcscm svcscm
21e5f2fb66 Updating submodules
Summary:
GitHub commits:

07f7713973
4d6c18e644
cc086ae33e
52c7808964
494102fc3c
ec3ce262f5
6bac9bafa2
33c8a5c9b9
de16c1a279
d624663a58

Reviewed By: bigfootjon

fbshipit-source-id: 1106461928f3f72f64671f6b41266f3b76f27203
2021-07-08 21:23:35 -07:00
svcscm svcscm
01b172f68e Updating submodules
Summary:
GitHub commits:

52838f9119
5b64bccc6f
1a0c2378fc
95a2bfd848
5dd18a8d8e
4c365b753d
cb961668c1
428b5129b9
4cc0f5ce04
d3a6b2cb87
a01487d060
dac92116b5
0c4a7e9864

Reviewed By: bigfootjon

fbshipit-source-id: 7d6b12577e4cf4399074f7aae476f32fec3f3a29
2021-07-08 19:23:23 -07:00
svcscm svcscm
05f139e949 Updating submodules
Summary:
GitHub commits:

cce4cb3711
43a0d10ebe
0166ea19f3
bc0818f89e
71c9d2b11f
70a88c8944
4ba971a264
0690e5931d
03ee41da7c
df8e592ad6
d8ff811ecc

Reviewed By: bigfootjon

fbshipit-source-id: ce250f8b42c12fdabcc0c292a99e11eeda359393
2021-07-08 18:23:05 -07:00
svcscm svcscm
44bdef90da Updating submodules
Summary:
GitHub commits:

cb36f3c849

Reviewed By: bigfootjon

fbshipit-source-id: d7d80ef622ec3f60ce043999ce47d64f4a57e3b6
2021-07-08 17:23:39 -07:00
svcscm svcscm
d9012609d1 Updating submodules
Summary:
GitHub commits:

67f9bd0d8a
6d85bebb4e
c67e733f65
9c70eb9969

Reviewed By: bigfootjon

fbshipit-source-id: b29bead6683f337bc9b9efd5eae4c80952ffc265
2021-07-08 15:24:42 -07:00
svcscm svcscm
091f1381b1 Updating submodules
Summary:
GitHub commits:

552a5d51f0
228a535a2a
bd61d45a96
5c3ed384b9
9983f0c231
79bca59866

Reviewed By: bigfootjon

fbshipit-source-id: e918f33e599d785ba75e5245515d8f68b2b22a43
2021-07-08 14:26:02 -07:00
svcscm svcscm
933d66b445 Updating submodules
Summary:
GitHub commits:

5ff2260f30
2086de1581
2f11555614
5f4879c089
3da0d984f1
d5f541c63d
c9abba648b
8f1209d10d
b514e39700

Reviewed By: bigfootjon

fbshipit-source-id: bda5bd4eddc40e46ac710b35e70f34171caeaa18
2021-07-08 13:23:36 -07:00
svcscm svcscm
3247f4afb3 Updating submodules
Summary:
GitHub commits:

56b5758108
0258888610
18b37aaafd
0f88fe8a77
2ab8baab34
a26a767026
7ac9bd8bec
ec5c10bf4b
9be8e8638c
2110cac953
106acee429
3710c6c65a

Reviewed By: bigfootjon

fbshipit-source-id: 0632d2a2dbd4ace8cf0a75290fbb042368eda11d
2021-07-08 12:00:45 -07:00
svcscm svcscm
821ee03b34 Updating submodules
Summary:
GitHub commits:

2ff478bb69
62ea399d64
341e891e3e
c226674cd7
a5dafb35eb
f127d459ad
ad86bd4dbc
3b9adb158d
b79407da4c
f213874880
a571805376
624881ff29
d8aa69bca6

Reviewed By: bigfootjon

fbshipit-source-id: 8536efb06d9018f2d5cea424cef14373407c4521
2021-07-08 11:16:40 -07:00
svcscm svcscm
a3bca8ce18 Updating submodules
Summary:
GitHub commits:

c6bd2e522c
558503a6f6
0f2caafcfc
cb55944fdd
0ca800dfed
20430770bc
78f79f4f07
9e72cd97a8
50702824ce
f35e62b511
5b968687a8
3c1c51f5ef
54e9ce5a6d
c17516e1fd

Reviewed By: bigfootjon

fbshipit-source-id: 20ceb2508f06edfacf3fecf992010bb9abff1b24
2021-07-08 10:33:42 -07:00
Carolyn Busch
816c09e63a integration: disable changelog migration hook
Summary: The hybrid changelog relies on edenapi which isn't currently supported by tests. Disable the migration for integration tests, until test repos are able to use edenapi.

Reviewed By: singhsrb

Differential Revision: D29602284

fbshipit-source-id: 8a2b4395fc5717c3880d7b74c45a0aef571cdc17
2021-07-08 10:05:11 -07:00
Fred Emmott
635fd269fa Make travis_docker_build.sh macos-compatible
Summary:
BSD readlink doesn't have -f.

I'm not using TravisCI, however docker is still convenient for reproducing builds locally.

Reviewed By: yns88

Differential Revision: D29523333

fbshipit-source-id: e01169f3eabca7b8baec95bc70fe119cad201b35
2021-07-08 09:46:14 -07:00
Jan Mazur
b20471ef23 do not require certificates presence when using x2pagentd
Summary: when hg client is using x2pagentd it is not using TLS but plain HTTP. We shouldn't respect use-lfs-certs config option in this case.

Reviewed By: johansglock

Differential Revision: D29613166

fbshipit-source-id: 3a7c9c5add974dd927f4c76f1da2d5b8b67e864b
2021-07-08 08:45:59 -07:00
svcscm svcscm
1bf6eaf91a Updating submodules
Summary:
GitHub commits:

32d0a61969

Reviewed By: bigfootjon

fbshipit-source-id: 6c49763714a99b9b591e82f2875bbee15822160e
2021-07-08 07:58:32 -07:00
svcscm svcscm
611cb37f6b Updating submodules
Summary:
GitHub commits:

668c6ea551
c57d867587
1c40433a60
527a9cf453

Reviewed By: bigfootjon

fbshipit-source-id: fdc6cac65a4b05cd3e5e1e99360bd1d3bd9e1055
2021-07-08 03:40:03 -07:00
svcscm svcscm
358ce8508b Updating submodules
Summary:
GitHub commits:

49232c501c
8a788e3d36
d373687670
529e338d1b
1b5a014c49
a00cb10768

Reviewed By: bigfootjon

fbshipit-source-id: 5fe859720eea4158db9b4440da946691a990f238
2021-07-08 02:18:53 -07:00
svcscm svcscm
488b787b7f Updating submodules
Summary:
GitHub commits:

2f415d6534
9f825f922a
3526d7094b
e4a1f1e47c
7b9af8f0bd
425f7289c2
e89fc9b4f2
07b0a71df9
8f596b7da6

Reviewed By: bigfootjon

fbshipit-source-id: 85f2caca97e85a4c711f85cdef63bec7899e318f
2021-07-08 01:49:40 -07:00
svcscm svcscm
e825147443 Updating submodules
Summary:
GitHub commits:

9a6ae5bc8c
04d2a3a653
261741bafe
8dc31bd7d7
2511c8350a
7bbcd1aec1
6dc60b70e0
11fcc89ed7
e41a89ab0f
b079ac9bab

Reviewed By: bigfootjon

fbshipit-source-id: a1af50691274dbb8501a41ffd59fc602628a0bb9
2021-07-08 01:19:46 -07:00
svcscm svcscm
f45383bd66 Updating submodules
Summary:
GitHub commits:

bd9648eb65
b7620791e3
1787a34adb
0635aca6ba
6632e16512

Reviewed By: bigfootjon

fbshipit-source-id: 9ee2a3dd98f91c80113a7d4a23755c9f4ecdcea6
2021-07-08 00:26:49 -07:00
svcscm svcscm
74f39e90f6 Updating submodules
Summary:
GitHub commits:

52d30a02ee
28f6e4e45a
3736044736
b1053c9d79
660f9a196a

Reviewed By: bigfootjon

fbshipit-source-id: f0e0ba4625475b4736cc5212ecabb4a1d3ab35df
2021-07-07 23:23:27 -07:00
svcscm svcscm
8c47defd7d Updating submodules
Summary:
GitHub commits:

7e5b56fc09
793a133b71
d869dc4959
ac2612b26e
4cb877633c
d6e46a5c0a

Reviewed By: bigfootjon

fbshipit-source-id: 01700e693c26768007ee6a7638c601435dffd664
2021-07-07 22:23:05 -07:00
svcscm svcscm
27310c19e1 Updating submodules
Summary:
GitHub commits:

104814f666
b77dd3fe9b
a2f7096289
5024100be4
a193c57357
68ce6372e4
fd052e3e24
b405082af9
89acb4e6be

Reviewed By: bigfootjon

fbshipit-source-id: f6265b8e8cb3ac3d18a6005e20a1578d47966821
2021-07-07 21:23:59 -07:00
svcscm svcscm
1ee444dac6 Updating submodules
Summary:
GitHub commits:

596485fd35
65b5a5fbf7
27e33cead2
d59935f97a
a699625e54
ce635629a4
9977350423
1c47ef1de3
9312aca65d
cddaeaf1b8
a3f53318ab
dcf27c9a40

Reviewed By: bigfootjon

fbshipit-source-id: 1b162c5dfd0734c46cfaaf83f678cf110c91a4fa
2021-07-07 20:23:39 -07:00
svcscm svcscm
532d6128de Updating submodules
Summary:
GitHub commits:

1f7fb6a866
e75cf05f64
a8b30a4f82
ee8d0a5318
5f9018e7c9
73beac4bbb
e3d072697c
567ffce89a
f10f1f5e01
513942d2a3
aef9a60306
9e2ba784e0
97d225fcbd

Reviewed By: bigfootjon

fbshipit-source-id: 67c016ddb173981d8879c8d04ffc34bb5222db3a
2021-07-07 19:23:57 -07:00
Meyer Jacobs
ada27d91d0 scmstore: log more detail on contentstore fallback
Summary: Log the key, metadata, and size of contentstore fallback hits in order to assist in debugging them.

Reviewed By: kulshrax

Differential Revision: D29552730

fbshipit-source-id: c10ed9dd50c48a28c2a256b9175e8555ea0862b2
2021-07-07 18:24:15 -07:00
Meyer Jacobs
404bd9e625 scmstore: fix double counting of scmstore metrics
Summary: Previously, filescmstore was flushed and logged twice, once via the contentstore shim and once via the filescmstore object directly. This change addresses that issue.

Reviewed By: kulshrax

Differential Revision: D29552720

fbshipit-source-id: d44003a016f735f528b560f259f64a5e76ce1865
2021-07-07 18:24:15 -07:00
svcscm svcscm
daf4e46697 Updating submodules
Summary:
GitHub commits:

734a697292
b1fa3c6f94
b1a53db327
7ba69af251

Reviewed By: bigfootjon

fbshipit-source-id: e7c7878f07ab6238977109b7cc0bcc9fc2e9e491
2021-07-07 17:30:37 -07:00