This diff removes .gitignore file from the rust-node-addon and adds ignoring directories to the global .gitignore file at the root of the project. It makes sense to use a root gitignore file to ignore these two directories.
Linear task: ENG-3048
Paths
| Differential D6792 Authored by • max on Feb 20 2023, 3:52 PM.
Tags None Referenced Files
Details Summary This diff removes .gitignore file from the rust-node-addon and adds ignoring directories to the global .gitignore file at the root of the project. It makes sense to use a root gitignore file to ignore these two directories. Linear task: ENG-3048 Test Plan Running yarn clieaninstall will build the rust-node-addon as a dependency. The building process produces files in the target and napi subdirectories which are ignored.
Diff Detail
Event Timeline• max held this revision as a draft. Herald added subscribers: atul, tomek, ashoat. · View Herald TranscriptFeb 20 2023, 3:52 PM2023-02-20 15:52:09 (UTC-8) • max added a parent revision: D6791: [keyserver] Removing from the rust-node-addon gitignore and populate it. • max retitled this revision from [keyserver] Removing in rust-node-addon to [keyserver] Removing `.gitignore` in rust-node-addon. Harbormaster completed remote builds in B16649: Diff 22776.Feb 20 2023, 4:07 PM2023-02-20 16:07:00 (UTC-8) Comment Actions i actually prefer having separate .gitignore files at the cargo project level but it’s not a strong opinion. just think it makes the files more readable. also we already have other .gitignore files in the repo I think This revision is now accepted and ready to land.Feb 20 2023, 8:50 PM2023-02-20 20:50:09 (UTC-8) Comment Actions
I'm not insisting to remove this gitignore as well, but from my perspective, we should use the project root and second-level (keyserver's) gitignoring as preferred. cc to @ashoat for a final decision. This revision now requires review to proceed.Feb 21 2023, 5:52 AM2023-02-21 05:52:21 (UTC-8) • max retitled this revision from [keyserver] Removing `.gitignore` in rust-node-addon to [keyserver] Removing `.gitignore` from rust-node-addon.Feb 21 2023, 6:08 AM2023-02-21 06:08:18 (UTC-8) This revision is now accepted and ready to land.Feb 21 2023, 6:18 AM2023-02-21 06:18:49 (UTC-8) Closed by commit rCOMMf1bc99677895: [keyserver] Removing `.gitignore` from rust-node-addon (authored by • max). · Explain WhyFeb 21 2023, 6:46 AM2023-02-21 06:46:41 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 22776 .gitignore
keyserver/addons/rust-node-addon/.gitignore
|
Requirements of the reqwest body stream:
A stream of Result<impl Into<Vec<u8>>, impl Into<Box<dyn Error>>>