Commit Graph

73525 Commits

Author SHA1 Message Date
Mateusz Kwapich
cdb7ed47c5 change the SeedHead type to config
Summary: I want SeedHead to be a part of config - not something we generate in SC code. This diff will make more sense once you read the next ones.

Reviewed By: farnz

Differential Revision: D35934783

fbshipit-source-id: 8a68052e299401760a95d0f4e8ebf633767cb471
2022-04-28 04:02:41 -07:00
Mateusz Kwapich
8838c70f3b add function to handle all bookmarks except
Summary:
I'm about to change the data model to allow the user to ask segmented chagelog
all bookmarks except some.

Reviewed By: farnz

Differential Revision: D35934781

fbshipit-source-id: cac7829adba4dbf509006064bf88f7e1147ca390
2022-04-28 04:02:41 -07:00
svcscm svcscm
c6a4eab91a Updating submodules
Summary:
GitHub commits:

af7478652d
c32c24fa9e
b52018c914
abac3526e8
e2dd01a7d0

Reviewed By: jurajh-fb

fbshipit-source-id: d53d69169d494f46281994a4b0ebb5e2050af571
2022-04-28 03:25:57 -07:00
svcscm svcscm
120f93aada Updating submodules
Summary:
GitHub commits:

bc62b7fc6b

Reviewed By: jurajh-fb

fbshipit-source-id: 8fd7848d5aa718c40e4de36bb541a6031eeaec91
2022-04-28 02:58:51 -07:00
Michael Cuevas
fac63e6190 change E-Menu tooltip during checkout
Summary:
change the tooltip during a checkout operation. Also change it back when the checkout finishes.

The debug menu can also enable this tooltip by changing the icon color to orange. Changing the color to green or white will change the tooltip back

A similar tooltip is also implemented for when EdenFS detects an unhealthy mount

Reviewed By: kmancini

Differential Revision: D35488235

fbshipit-source-id: a33ebfd15cbfd0d46eea85f32be4ddd1bb09f357
2022-04-28 01:07:18 -07:00
Michael Cuevas
7931fbd3fd change e-menu icon during checkout
Summary:
On Windows, EdenFS should signal that it's working on a checkout operation by changing the color of the E-Menu.

We also add a debug menu option for changing the E-Menu color

Reviewed By: chadaustin

Differential Revision: D35487175

fbshipit-source-id: fae587a223e9ce910e5558b36008a8c97b9dd3ea
2022-04-28 01:07:18 -07:00
svcscm svcscm
0524ce599b Updating submodules
Summary:
GitHub commits:

2d3e98712f
1916e9eb6d
7cfec800d7
f1e3da7b26
f74b2f43e7

Reviewed By: jurajh-fb

fbshipit-source-id: 4c6fb61409b16992a36d120868e44a43eac90204
2022-04-28 00:56:36 -07:00
svcscm svcscm
013e32b1a2 Updating submodules
Summary:
GitHub commits:

c61c32a829
798d4211fe

Reviewed By: jurajh-fb

fbshipit-source-id: ba0ba4702a3095cbc9010d687087f5fc3bd6fc35
2022-04-28 00:29:04 -07:00
svcscm svcscm
9ea494ba41 Updating submodules
Summary:
GitHub commits:

e46420a6a1
43b6da3296
f522c71a9a
fce65e7e4f
745dfb44bb
9e21c22f3b

Reviewed By: jurajh-fb

fbshipit-source-id: c1cf92424361d2a43a3f255a862341065af56183
2022-04-27 23:26:17 -07:00
svcscm svcscm
c5adafd8b2 Updating submodules
Summary:
GitHub commits:

24df79a517
897b46c4d0
bf4933f8d3
2abd093489
2054bd3139
6e75fe0a48
18e00b6978

Reviewed By: jurajh-fb

fbshipit-source-id: f91dc70b17ff7b5de882e41d9e94cbe6fc37b775
2022-04-27 22:53:06 -07:00
svcscm svcscm
d4a1215f0f Updating submodules
Summary:
GitHub commits:

401e85a7d7
dfc79bae34
950fb0d0ae
0296b85369
faf3d9a9eb
03e4f40fec
c5937a492a
77c3c7871c
0534a4e1d4
521adcf6e2

Reviewed By: jurajh-fb

fbshipit-source-id: 32bcd1d92ec8f9449202c5ea345b889fda806a06
2022-04-27 22:25:00 -07:00
svcscm svcscm
e3d69c9592 Updating submodules
Summary:
GitHub commits:

0ab34dfe17
d2d0d22022
47e0cacfe7
4837ac7023
98dcf28b90
465b456348
582628e8bd
c19921da7e
6d88349046
21e053f319
9fa5a95e36
84c0e8d70d

Reviewed By: jurajh-fb

fbshipit-source-id: 4d28cf89900e181bc3e58f1c86babfb50fab0f8d
2022-04-27 21:55:18 -07:00
svcscm svcscm
fde0262a41 Updating submodules
Summary:
GitHub commits:

4108af439f
51c876f224

Reviewed By: jurajh-fb

fbshipit-source-id: 4d602c4346bc1a92eedce990b7ed2f8c2e85cc1c
2022-04-27 21:25:23 -07:00
Jason White
97d0409882 third-party/rust: Update tracing-subscriber from 0.3.10 to 0.3.11
Reviewed By: dtolnay

Differential Revision: D35956332

fbshipit-source-id: f92818417ec7ce6d655c171c180aac4696f84269
2022-04-27 19:09:17 -07:00
svcscm svcscm
856a49689e Updating submodules
Summary:
GitHub commits:

04956731ba
58f96fcf5a
74a28da3ec
0889995619
6df39958ee

Reviewed By: jurajh-fb

fbshipit-source-id: 39321b49d34395586a7ac43285d289dbf58889df
2022-04-27 18:53:11 -07:00
svcscm svcscm
c03922ad13 Updating submodules
Summary:
GitHub commits:

67d39b5391
ebeb87abd4
ed12bea387
a2463ec6dd
94e245a14d
be1dc56f88
727a63c32b
29143ef0cc
7fcc52078b

Reviewed By: jurajh-fb

fbshipit-source-id: 53a7c4c1a292928ba2a4d4647d78cf205c2939fa
2022-04-27 18:19:17 -07:00
svcscm svcscm
59ad48ad0f Updating submodules
Summary:
GitHub commits:

c8dc4079ff
8900b1e2f3

Reviewed By: jurajh-fb

fbshipit-source-id: f470e19dcba367551a58d23a5588a3bfa0e3ebfb
2022-04-27 17:40:50 -07:00
svcscm svcscm
a1126d306b Updating submodules
Summary:
GitHub commits:

6db8de3110
cd387b9701
866d54b1fe
1020d0af16
44de334e1f
b99ce73ed9

Reviewed By: jurajh-fb

fbshipit-source-id: 0beb7c8888538a001d300053b922a102b9db4eaa
2022-04-27 17:08:11 -07:00
svcscm svcscm
fae0c4e110 Updating submodules
Summary:
GitHub commits:

80469bd04d
09210b4086
6c29e8a186
fb7b62bede

Reviewed By: jurajh-fb

fbshipit-source-id: 234fd86e822cef60781048bce907b9dae25187a0
2022-04-27 16:28:46 -07:00
svcscm svcscm
c72d832c24 Updating submodules
Summary:
GitHub commits:

3613e8fcdd
17aa822fe2
b077a9240b
db3390744a
0a408d4844
4527669f50
fd2cb5a0d6

Reviewed By: jurajh-fb

fbshipit-source-id: f2651c883d08a9e5324d58619fcd01570e74277c
2022-04-27 15:57:42 -07:00
Xavier Deguillard
2783d5342c service: refactor RAII wrapper around stream publisher
Summary:
I'm about to add another stream, and this code will be duplicated a third time,
let's refactor it.

Reviewed By: chadaustin, fanzeyi

Differential Revision: D35767107

fbshipit-source-id: 44975b72a705bd4d2d749b8caacb56743153a148
2022-04-27 15:38:04 -07:00
svcscm svcscm
42070d0394 Updating submodules
Summary:
GitHub commits:

6c4389fce8
721357a4a9
2d6736f1bc
968ab9f798
3f1f2a8bdf
97f3cded41
c34067d8bf

Reviewed By: jurajh-fb

fbshipit-source-id: 2166f1bcd83f04271545e6d7bcd4277e77f18764
2022-04-27 15:09:14 -07:00
svcscm svcscm
a2a01e01d2 Updating submodules
Summary:
GitHub commits:

ffa3eec955
dd8a4525f7
ade147fc54
1c635edc64
3758c79645
7aea6bd253
54269b0a78
935b6006e5
674f224998
a768ce8926

Reviewed By: jurajh-fb

fbshipit-source-id: e823f8fee735769c3d18a8c5eedd5d301c2012c2
2022-04-27 14:35:39 -07:00
Michael Cuevas
2d0c705c55 change format of E-Menu uptime
Summary: before, if we exceeded 24 hours of uptime the E-Menu would roll over to 0 hours of uptime. We can avoid this by adding days to the uptime print out. We don't print out the number of days if the uptime is less than 1 day.

Reviewed By: chadaustin

Differential Revision: D35954540

fbshipit-source-id: 9285433a827f8494b840e9d551cb6504f94417b7
2022-04-27 14:09:57 -07:00
Michael Cuevas
4246604272 silence unused parameter warnings on Windows
Reviewed By: chadaustin

Differential Revision: D35954602

fbshipit-source-id: 355c9cf499bf0569c8319c70460898dd7a1bfd5d
2022-04-27 14:09:57 -07:00
svcscm svcscm
7fd48a5641 Updating submodules
Summary:
GitHub commits:

96fb269340
4bd5cc99e7
05eee0aa4e
251dcc17f9
173c3ba46d
1539594d65
b61b18c617
3e88384b1c
c515905ed5
f476862e1a
908d06bc4f
b0bfc831d7

Reviewed By: jurajh-fb

fbshipit-source-id: 395e763435bf40f790b121627ca547f95776d01d
2022-04-27 13:51:22 -07:00
Harvey Hunt
8cc8ff394d mononoke: lfs: Remove unnecessary stream spawn
Summary:
Hyper used to have stricter trait bounds for stream bodies, however
they were relaxed in https://github.com/hyperium/hyper/pull/2187.

Remove the code to spawn a task that simply connected streams up now that hyper
is more relaxed. As the spawned task was just polling for data, it shouldn't
add any extra computational work onto the task used for a request.

This change is basically identical to D27963458 (e5cc9a1f3d).

Reviewed By: mitrandir77

Differential Revision: D35931360

fbshipit-source-id: 065fecc77b4ac1218c2be21e0a3639103429c5bc
2022-04-27 13:46:35 -07:00
Harvey Hunt
fef0d8e3fa mononoke: lfs: Test the result of upload when a blobstore is failing
Summary:
D35892336 (9b18b0d3be) fixed a bug in the LFS server that meant it would consider
an upload successful, even if writing to internal stores failed.

Add a test that verifies writing to a failing blobstore results in upload
failure.

Reviewed By: mitrandir77

Differential Revision: D35928308

fbshipit-source-id: 296ccdddb6f4b86f5fb778f97185a8a6a0ea9d17
2022-04-27 13:46:35 -07:00
Harvey Hunt
92b94ab4d0 mononoke: lfs: Simplify error handling in upload code
Summary:
The upload code can be updated to use the `?` operator, which makes
the code a little simpler.

Reviewed By: mitrandir77

Differential Revision: D35936319

fbshipit-source-id: 054f1e40798a38ff699f56dacfff055eb8c60263
2022-04-27 13:46:35 -07:00
svcscm svcscm
cea3919e8c Updating submodules
Summary:
GitHub commits:

b17378edd2
f46db3d8bb
9f520d1b11
6a983b2d10
415c7cdf9e
0011dec2d0
25a90a6a66
0dda4e4050
389669959f
51eff02dc7
92cad233f5
3d0780ab02
79361bff7c

Reviewed By: jurajh-fb

fbshipit-source-id: f2c827f8775edef84c98434afe7306d247724ea0
2022-04-27 13:14:05 -07:00
Mateusz Kwapich
542033db24 unit-test for bookmark with options
Summary: I'm about to touch this function so I think it's better to have it tested.

Reviewed By: quark-zju, farnz

Differential Revision: D35897942

fbshipit-source-id: 81a141d06a4c326a37cac04a8e4cfb0c97365cf1
2022-04-27 13:05:35 -07:00
Mateusz Kwapich
8b1d223fe1 add a wait for segmented changelog option
Reviewed By: farnz

Differential Revision: D35744721

fbshipit-source-id: 2e4afe043d6422a9943f8b0b7753f68cdf993708
2022-04-27 13:05:35 -07:00
Mateusz Kwapich
618301986d use Duration instead of raw ints
Summary: We can use specific types so let's use them.

Reviewed By: farnz

Differential Revision: D35897795

fbshipit-source-id: f966191d05ac7b0228b14539d88c825103b3f38f
2022-04-27 13:05:35 -07:00
svcscm svcscm
6974ffb39f Updating submodules
Summary:
GitHub commits:

a4e7eb77b6
e6d6989c0e
806a981215

Reviewed By: jurajh-fb

fbshipit-source-id: 6f3088619b6193348456da7d3c4ea59d2489b4ce
2022-04-27 12:48:12 -07:00
Pyre Bot Jr
4f33062f0a suppress errors in fbcode/eden - batch 1
Differential Revision: D35969756

fbshipit-source-id: 86412be245996920929b39ad7e88660fb6fc993b
2022-04-27 12:39:43 -07:00
Xavier Deguillard
213a5d969c store: allow passing a DiffContext to diffCommitsForStatus
Summary: This allows cancelling the request, and cleans up some test-only code.

Reviewed By: chadaustin

Differential Revision: D35754296

fbshipit-source-id: cd0adc2f1d3333efbd718b5954c77f72c9a9e1dd
2022-04-27 11:05:01 -07:00
Aida Getoeva
bfdec5fc7d mononoke/walker: rearrange the crate structure
Summary: As "new worker" was implemented in a separate crate it's time to unwrap it and place in the root.

Reviewed By: yancouto

Differential Revision: D35544988

fbshipit-source-id: 906846d1b2a00ba59f5501c5baf3d35bef311400
2022-04-27 08:31:07 -07:00
Aida Getoeva
f07a2eee69 mononoke/walker: move and refactor edge type parsing
Summary:
Create `EdgeTypeArg` that wraps vector of `EdgeTypes` and replaces string-typed arguments. Implementing `FromStr` trait for the `EdgeTypeArg` will remove parsing boilerplate as now clap will parse the input.

It's also possible to implement `ArgEnum` for this struct, but I have some small concerns over it (particularly with `fn value_variants<'a>() -> &'a [Self]` method). Anyway I will check it out and most probably switch to `ArgEnum` in another diff.

Reviewed By: yancouto

Differential Revision: D35540307

fbshipit-source-id: a6b1983a3c53d2810f3099e1319175f239b9d6cf
2022-04-27 08:31:07 -07:00
Aida Getoeva
0ddf27822b mononoke/walker: move and refactor node type parsing out of setup
Summary:
Create `NodeTypeArg` that wraps vector of `NodeType`s and replaces string-typed arguments. Implementing `FromStr` trait for the `NodeTypeArg` will remove parsing boilerplate as now clap will parse the input.

It's also possible to implement `ArgEnum` for this struct, but I have some small concerns over it (particularly with `fn value_variants<'a>() -> &'a [Self]` method). Anyway I will check it out and most probably switch to `ArgEnum` in another diff.

Reviewed By: yancouto

Differential Revision: D35540309

fbshipit-source-id: 57b618c8b2da565be1bcb61767a86114f2599c1e
2022-04-27 08:31:07 -07:00
svcscm svcscm
697914cdcb Updating submodules
Summary:
GitHub commits:

3ec52f97cf
86b533ec70
e4878d187c
b54859ac38
9a6a1c9dc7
095a558c13

Reviewed By: jurajh-fb

fbshipit-source-id: 42875cc2a74a5045340ba142b126b9e272562bdf
2022-04-27 05:17:17 -07:00
svcscm svcscm
ce5efa1e93 Updating submodules
Summary:
GitHub commits:

aed1692457

Reviewed By: jurajh-fb

fbshipit-source-id: 9cab078b5170d7b8c45bcb7607cee52c7c37e7ca
2022-04-27 04:46:30 -07:00
Jan Mazur
50ae1dcac1 adding extra branch to test-repo-import.t and moving import bookmark to the merge commit
Summary:
I'm adding another branch to the test git repo to verify that we indeed merge the head of master branch into hg repo.

Also, I'm moving the importing bookmark to the merge commit.

Reviewed By: mitrandir77

Differential Revision: D35606582

fbshipit-source-id: b80ba2c0850b1194faee83268e6eb60e541cd3e5
2022-04-27 04:30:25 -07:00
svcscm svcscm
3211cdfc50 Updating submodules
Summary:
GitHub commits:

77d8167f0e
2a01e810d1
fcda7bfa5a
adde9d7416
e0020dc045

Reviewed By: jurajh-fb

fbshipit-source-id: 8b85460a98e4e4c34486b616f372106ef8117e5f
2022-04-27 03:43:49 -07:00
svcscm svcscm
f6da5c6e65 Updating submodules
Summary:
GitHub commits:

d2fd53d911

Reviewed By: jurajh-fb

fbshipit-source-id: 03acc2685aa0e2e8a4033d965c4c010b4b10ba96
2022-04-27 03:00:01 -07:00
svcscm svcscm
ba49143b1d Updating submodules
Summary:
GitHub commits:

82583c384f
19bab08e71
cf66d7df5c
1f88576e74
cae2820b2d

Reviewed By: jurajh-fb

fbshipit-source-id: 19d240b6b15655d66093677ad010897876a30da9
2022-04-27 02:27:12 -07:00
svcscm svcscm
d50ef79a70 Updating submodules
Summary:
GitHub commits:

1d8f0ef92d

Reviewed By: jurajh-fb

fbshipit-source-id: 838a6f524d90017d45a96b4dd3ca2ce030093135
2022-04-27 01:55:04 -07:00
Pyre Bot Jr
ab7757ecee suppress errors in eden
Differential Revision: D35955819

fbshipit-source-id: d6ae0af698705a0e7664d6172fecde0196c1a1b9
2022-04-27 00:21:21 -07:00
svcscm svcscm
944a35e67c Updating submodules
Summary:
GitHub commits:

95597fa749
65f1f4c3d1
53306254c0
b70fbe2a06
14933801ea

Reviewed By: jurajh-fb

fbshipit-source-id: a1961fb3b2bd74b75a52ecfdab7f7e4308043a8d
2022-04-27 00:16:07 -07:00
Michael Cuevas
fab88670df change wording in the "About EdenFS" message box
Summary: Keep usage of Eden vs EdenFS consistent. Also update the title of the message box so it's consistent with the menu item

Reviewed By: chadaustin

Differential Revision: D35951678

fbshipit-source-id: fb62f6edf66ba9159a50130de9ed3a13fff7a1e2
2022-04-27 00:06:24 -07:00
Michael Cuevas
c0f4bca1cd change e-menu wording
Summary: "Quit E-Menu" is ambiguous and could mean a number of things. We should make it clear that clicking this menu option will cause the E-Menu notification icon to be hidden

Reviewed By: chadaustin

Differential Revision: D35950442

fbshipit-source-id: 86527479dae544bc7db3e596e3bf8477bd147213
2022-04-27 00:06:24 -07:00