Commit Graph

18 Commits

Author SHA1 Message Date
Jun Wu
b8afda54e1 conch-parser: include Python binding in autocargo
Summary:
This makes the conch-parser Python extension included in the generated
Cargo.toml workspace members. It might fix the following `setup.py`
build error:

  building 'conch_parser' library extension
  error: current package believes it's in a workspace when it's not:
  current:   /temp/fbcode_builder_getdeps/shipit/eden_scm/eden/scm/edenscmnative/conch_parser/Cargo.toml
  workspace: /temp/fbcode_builder_getdeps/shipit/eden_scm/eden/scm/Cargo.toml
  this may be fixable by adding `edenscmnative/conch_parser` to the `workspace.members` array of the manifest located at: /data/sandcastle/temp/fbcode_builder_getdeps/shipit/eden_scm/eden/scm/Cargo.toml
  Alternatively, to keep it out of the workspace, add the package to the `workspace.exclude` array, or add an empty `[workspace]` table to the package's manifest.

Differential Revision: D35759558

fbshipit-source-id: 2d07285d81092cca10c0fc127c935b5d370f2891
2022-04-21 17:36:57 -07:00
Jun Wu
fde88fdd4e conch-parser: add TARGETS
Summary: Add TARGETS so it can be used in buck builds.

Reviewed By: yancouto

Differential Revision: D34725122

fbshipit-source-id: 00b958738b05a30a4b9a1470978645b5fad0ad8d
2022-04-18 11:56:11 -07:00
Andrew Hariri
542cd38136 update reqwest to 0.11.10
Summary: Maintainer still unresponsive on https://github.com/seanmonstar/reqwest/pull/1412

Reviewed By: wqfish

Differential Revision: D35600272

fbshipit-source-id: e01a7ae459ea215180158f4186d33fb1fbed18ff
2022-04-13 14:44:40 -07:00
Michael Bolin
056ae53196 rename github to github-cli because it broke autocargo
Reviewed By: zertosh

Differential Revision:
D35615001
Ninja: need to fix autocargo and oss-eden-darwin-getdeps is taking forever

fbshipit-source-id: 1dfc74532615823be3e4cb39ff82e1f7cc0ea1a6
2022-04-13 12:20:02 -07:00
Muir Manders
e30270055f sparse: start rust lib w/ basic parsing
Summary: Start of a rust library for dealing with sparse profiles. In this commit we just know how to parse a single profile given the bytes.

Reviewed By: quark-zju

Differential Revision: D35157974

fbshipit-source-id: af4dae36fef08b69e827c6cb4e571d89b7c7ffbd
2022-04-12 14:08:46 -07:00
Andres Suarez
0b8b18c3ce Remove packed_simd_2_dummy, prost-02, prost-types-02
Reviewed By: dtolnay

Differential Revision: D35550164

fbshipit-source-id: 5a939392244f2206c7c44de5711a08732c6b30c1
2022-04-11 18:55:39 -07:00
Jason White
55695a98ac third-party/rust: Update tempfile to v3.3.0
Reviewed By: jsgf

Differential Revision: D35477506

fbshipit-source-id: ef10c8f7548a21c0fb3d83d5debfe2e000657d08
2022-04-11 15:18:36 -07:00
Jan Mazur
4c2458a9d1 import git-config with patch #372 and #377 backported on 0.1.11
Summary: I did submit another fix to upstream, then I backported it on top of 0.1.11.

Differential Revision: D35494891

fbshipit-source-id: 4ba29ba35e556926b30e9c47569381d506d1b8a7
2022-04-08 07:59:13 -07:00
John Watson
a4ad600cb9 Add symlink patch to tar-rs
Summary:
Pulling in this patch until the **[patch](f4f439ca0c)** ~~is approved, lands, and~~ makes it into crates.io

NOTE: I feel a little awkward patching ***everyone*** here — I suspect I'm the only that cares.
 **[I attempted to add a "tar-symlink" package pinned to 4.38](https://www.internalfb.com/intern/paste/P491303978/?view=diff)**, with the patch applying to that,
but and then updating only `dotsync2` accordingly, but that results in the same cascading changes
seen here; I suspect due to the patch applying to package "tar" (since "tar-symlink" isn't a thing).

Reviewed By: zertosh

Differential Revision: D35350696

fbshipit-source-id: a5653f3aed0eb5bc5424906d24a53ec2c2b79211
2022-04-05 11:26:24 -07:00
Jan Mazur
0285b086e5 import git-config with patch #372 backported on 0.1.11
Summary:
I'm going to use this crate to prepare and parse git config on git servers.

I had to add functionality to the crate: https://github.com/Byron/gitoxide/pull/372

I backported it to the version that currently is the latest one on crates.io.

Reviewed By: dtolnay

Differential Revision: D35283393

fbshipit-source-id: 89094a5077e982a2988e0de4e5b379304a080297
2022-03-31 12:40:20 -07:00
Jonathan Keljo
cc1f45f4f3 Upgrade lru-disk-cache to 0.4.1
Reviewed By: dtolnay

Differential Revision: D35238243

fbshipit-source-id: c4d7c07f3c317c2bc64588cea963354c6ca06faa
2022-03-30 12:24:17 -07:00
Carolyn Busch
22d7030666 pull: implement lazy pull for clone
Summary:
Add crate for pull functionality and implement a method for pulling commit and bookmarks data for clone using the bookmarks + lazy_pull endpoints. This requires a lazy changelog repo.

Notes: this only writes remotenames & tip to the metalog, but not to its double file in the store. If we still want to support the double writing, we'll need to add that functionality to the metalog. Additionally, this only supports pulling selectivepull bookmarks that are on the master line.

Reviewed By: DurhamG

Differential Revision: D34741868

fbshipit-source-id: 81c6b5f91c55a46b894410b992fe50a18eaaf7ba
2022-03-25 08:50:49 -07:00
Muir Manders
f895dcbef1 remove taggederror crate and related code
Summary:
taggederror wasn't used and doesn't seem like the direction we want to go in, so excise it.

taggederror allowed for error tagging and error metadata, and was wired around in various places. It tries to solve real problems, but it was too quick to prescribe how things should work without applying the design to see if it works in practice.

Reviewed By: DurhamG

Differential Revision: D34649753

fbshipit-source-id: bc60896f4e1dbe3feb7d5804561392d1f1ebda72
2022-03-17 11:11:53 -07:00
Muir Manders
047722dec9 networkdoctor: add stub CLI "debugnetworkdoctor" command
Summary: Doesn't do anything yet, but will by my entrypoint for functionally testing the network doctor logic.

Reviewed By: DurhamG

Differential Revision: D34649742

fbshipit-source-id: 0b33e5ecf68291c2d8696a5a3a9c08afb7531cfa
2022-03-17 11:11:53 -07:00
Muir Manders
9900466f64 networkdoctor: add basic dns/tcp host check
Summary: Start things off with a basic DNS and TCP connectivity test. This will be one of the building blocks to diagnosing network problems.

Reviewed By: DurhamG

Differential Revision: D34649750

fbshipit-source-id: 87945ec5622869eb8cb0295de14181d95a00ed8e
2022-03-17 11:11:53 -07:00
Vinnie Magro
a7ef45aa73 switch to 0.11.6
Summary:
lei2022 needs this, but my patch was specifically for 0.11.4 and the
maintainer still hasn't acknowledged the pr

Reviewed By: lei2022

Differential Revision: D34643727

fbshipit-source-id: 0e3581788755053dec0f9ee97586fca6415e0cb2
2022-03-04 15:51:42 -08:00
Jan Mazur
61cc77b16c patched mysql_async v0.27.1 with features passed to mio (#24)
Summary:
Pull Request resolved: https://github.com/facebook/fb303/pull/24

Pull Request resolved: https://github.com/facebookexperimental/eden/pull/114

Pull Request resolved: https://github.com/facebookexperimental/rust-shed/pull/30

mysql_async 0.27.1 by itself doesn't enable necessary features on mio. Let's add it as a dummy dependency so we can enable these features manually.
This results in edenfs, eden_scm and mononoke builds fail on GH:

https://github.com/facebookexperimental/eden/runs/5221114887?check_suite_focus=true
https://github.com/facebookexperimental/eden/runs/5221114892?check_suite_focus=true
https://github.com/facebookexperimental/eden/runs/5221114891?check_suite_focus=true
https://github.com/facebookexperimental/eden/runs/5221114960?check_suite_focus=true

Reviewed By: ahornby

Differential Revision: D34309906

fbshipit-source-id: 14b4cae6028a2c065400eb7bc6aec657b1b87de2
2022-02-20 15:22:57 -08:00
Alex Hornby
f628e4793f remove generated thrift code and fix external CI (#26)
Summary:
Pull Request resolved: https://github.com/facebookexperimental/rust-shed/pull/26

Pull Request resolved: https://github.com/facebookexperimental/eden/pull/104

No need for the checked in generated code anymore

Successful external CI Linux run on Git Hub PR: https://github.com/facebookexperimental/eden/runs/5130405984?check_suite_focus=true

Mac PR run fails with a SSL cert issue, will look separately

Reviewed By: chadaustin, mitrandir77

Differential Revision: D33840545

fbshipit-source-id: eafc2a0e2191d438fd828adeebc2e318d319025f
2022-02-09 12:21:32 -08:00