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
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
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
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
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
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
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
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
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
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
Summary: We can use specific types so let's use them.
Reviewed By: farnz
Differential Revision: D35897795
fbshipit-source-id: f966191d05ac7b0228b14539d88c825103b3f38f
Summary: This allows cancelling the request, and cleans up some test-only code.
Reviewed By: chadaustin
Differential Revision: D35754296
fbshipit-source-id: cd0adc2f1d3333efbd718b5954c77f72c9a9e1dd
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
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
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
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
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
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