Skip to content

getdeps optionally can get hg info from env var#113

Closed
dgrnbrg-meta wants to merge 1 commit into
facebook:mainfrom
dgrnbrg-meta:export-D34732506
Closed

getdeps optionally can get hg info from env var#113
dgrnbrg-meta wants to merge 1 commit into
facebook:mainfrom
dgrnbrg-meta:export-D34732506

Conversation

@dgrnbrg-meta

Copy link
Copy Markdown
Contributor

Summary:
Adds an environment variable to getdeps to provide hg info to avoid calling hg directly.

When using getdeps inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), getdeps fails because of unregistered mercurial extensions in the hgrc.

This allows getdeps to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

Summary:
Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: ce272ea9e3d8ce97886852dccfa84701bbb1666e
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D34732506

dgrnbrg-meta added a commit to dgrnbrg-meta/wangle that referenced this pull request Mar 11, 2022
Summary:
X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: c7d753c0a4bcc33870a6019b2f2936d489595f3d
dgrnbrg-meta added a commit to dgrnbrg-meta/watchman that referenced this pull request Mar 11, 2022
Summary:
X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 53513ff23bbcf374fa3bed4f08456c5b970e82ee
dgrnbrg-meta added a commit to dgrnbrg-meta/katran that referenced this pull request Mar 11, 2022
Summary:
X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: dee1af2f87140e7c67213806022da5d8dd1ee82d
dgrnbrg-meta added a commit to dgrnbrg-meta/fizz that referenced this pull request Mar 11, 2022
Summary:
X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 7d95fa58741f1236aad9d42e048c5b077ae03557
dgrnbrg-meta added a commit to dgrnbrg-meta/eden that referenced this pull request Mar 11, 2022
Summary:
X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 5ab8d2c6cda4d6e804c8b6a332d87d47d30681ba
dgrnbrg-meta added a commit to dgrnbrg-meta/mvfst that referenced this pull request Mar 11, 2022
Summary:
X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: bd6e4b0e869a28c405a2903333f3151420617c5d
dgrnbrg-meta added a commit to dgrnbrg-meta/rsocket-cpp that referenced this pull request Mar 11, 2022
Summary:
X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: a4408af450c35b42b0dac95127ba46d305202419
dgrnbrg-meta added a commit to dgrnbrg-meta/velox that referenced this pull request Mar 11, 2022
Summary:
X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 11d5d58d5449e0c9a784a1344e6a2dd5f84d971f
dgrnbrg-meta added a commit to dgrnbrg-meta/rust-shed that referenced this pull request Mar 11, 2022
Summary:
X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 34c8a286d120b8836761ae9de78d378de28d5333
dgrnbrg-meta added a commit to dgrnbrg-meta/reindeer that referenced this pull request Mar 11, 2022
Summary:
X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 23b7860da580b467e9ff806d655525adfe07babf
dgrnbrg-meta added a commit to dgrnbrg-meta/rsocket-cpp that referenced this pull request Mar 11, 2022
Summary:
X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: b808eb6bfbc7b6cd5d0c5b4f951441aae80a67df
facebook-github-bot pushed a commit to facebookincubator/reindeer that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

Pull Request resolved: #3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebookexperimental/rust-shed that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

Pull Request resolved: #32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/wangle that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

Pull Request resolved: #205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/openr that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

Pull Request resolved: #129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebookarchive/fbzmq that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

Pull Request resolved: #35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/fb303 that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

Pull Request resolved: #26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebookarchive/bistro that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

Pull Request resolved: #59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/mvfst that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

Pull Request resolved: #242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/folly that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

Pull Request resolved: #1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/fbthrift that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebookincubator/katran that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

Pull Request resolved: #157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebookincubator/velox that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

Pull Request resolved: #1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/proxygen that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

Pull Request resolved: #401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebookincubator/fizz that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

Pull Request resolved: #75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/sapling that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

Pull Request resolved: #116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
facebook-github-bot pushed a commit to facebook/watchman that referenced this pull request Mar 12, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

Pull Request resolved: #1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
heartpunk pushed a commit to heartpunk/watchman that referenced this pull request Mar 20, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

X-link: facebookincubator/velox#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

Pull Request resolved: facebook#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
shiyu-bytedance pushed a commit to shiyu-bytedance/velox-1 that referenced this pull request Aug 18, 2022
Summary:
X-link: rsocket/rsocket-cpp#911

X-link: facebookexperimental/rust-shed#32

X-link: facebookincubator/reindeer#3

X-link: https://github.com/fairinternal/AIRStore/pull/36

Pull Request resolved: facebookincubator#1197

X-link: facebook/mvfst#242

X-link: facebook/sapling#116

X-link: facebookincubator/fizz#75

X-link: facebookincubator/katran#157

X-link: facebook/watchman#1011

X-link: facebook/wangle#205

X-link: facebook/proxygen#401

X-link: facebook/openr#129

X-link: facebookarchive/fbzmq#35

X-link: facebook/fb303#26

X-link: facebookarchive/bistro#59

X-link: facebook/folly#1734

X-link: facebook/fboss#113

Adds an environment variable to getdeps to provide `hg` info to avoid calling `hg` directly.

When using `getdeps` inside a containerized environment (which we need to build Research Super Cluster tooling with the correct linker attributes), `getdeps` fails because of unregistered mercurial extensions in the `hgrc`.

This allows `getdeps` to be useable in an environment where the mercurial extensions used in a project aren't installed/available.

Reviewed By: vivekspai

Differential Revision: D34732506

fbshipit-source-id: 6475088fbf3323347095ca5af8a902382cf8f9d0
raghav-nexthop pushed a commit to nexthop-ai/fboss that referenced this pull request Feb 6, 2026
#### Why I did it

Meta request to support image generation and deployment on their
systems.

#### How I did it

      1) Use Kiwi-ng to generate the images, PXE/USB bootable.
2) Develop template with appropriate parameters for image generation.
      3) Setup tftp/http server for PXE boot image delivery.
4) Deploy and test the image installation on minipack systems
(fboss103).
      5) Updated README to explain the code

#### How to verify it

     This is not 100% complete, this is place holder PR.

#### Which release branch to backport

- [ ] 202411
meta-codesync Bot pushed a commit that referenced this pull request Feb 19, 2026
Summary:
**Pre-submission checklist**
- [x] I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running `pip install -r requirements-dev.txt && pre-commit install`
- [x] `pre-commit run`

When building only a specific cmake target to save time, getdeps removes
the "built marker” under `$builddir/installed/fboss/.built-by-getdeps`,
which makes it impossible to subsequently run the unit tests as  without
this file getdeps bails out with `project fboss has not been built`.
What’s more, because of a missing `return` the exit code was 0, which
was confusing.
This fix ensures that the return code is propagated properly and also
improves the cmake test runner to automatically detect missing
executables and build them on the fly. This will not rebuild the test
binaries if they've already been built and are merely stale (because the
source code has changed) but that was already the prior behavior. At
least now it's possible to rebuild a single cmake test target and re-run
the tests in one shot.

Pull Request resolved: #722

Test Plan:
- Manually removed one unit test target, running `getdeps.py test` now can detect the missing test executables, and then rebuild such executables before running the tests
```
[root@5f196107a3a6 fboss]# ls -al /var/FBOSS/tmp_bld_dir/build/fboss/fboss2_cmd_test
-rwxr-xr-x 1 root root 116548584 Feb 17 20:48 /var/FBOSS/tmp_bld_dir/build/fboss/fboss2_cmd_test

[root@5f196107a3a6 fboss]# rm -rf /var/FBOSS/tmp_bld_dir/build/fboss/fboss2_cmd_test

[root@5f196107a3a6 fboss]# ./build/fbcode_builder/getdeps.py test --allow-system-packages --extra-cmake-defines='{"CMAKE_BUILD_TYPE": "MinSizeRel", "CMAKE_CXX_STANDARD": "20"}' --scratch-path /var/FBOSS/tmp_bld_dir --num-jobs 16 --src-dir . fboss
Testing ENV[BOOST_ROOT_1_69_0]: None
Building missing test executables: fboss2_cmd_test
...
+ cd /var/FBOSS/tmp_bld_dir/build/fboss && \
+ /usr/bin/cmake \
+      --build \
+      /var/FBOSS/tmp_bld_dir/build/fboss \
+      --target \
+      fboss2_cmd_test \
+      --config \
+      RelWithDebInfo \
+      -j \
+      16
[1/1] Linking CXX executable fboss2_cmd_test
 ---
...
103/689 Test #110: CmdShowAggregatePortTestFixture.queryClient ......................................................................................................   Passed    0.10 sec
        Start 141: CmdShowRouteDetailsTestFixture.queryClient
104/689 Test #113: CmdShowExampleTestFixture.queryClient ............................................................................................................   Passed    0.09 sec
        Start  94: CmdShowArpTestFixture.queryClient
105/689 Test #126: CmdShowInterfaceErrorsTestFixture.queryClient ....................................................................................................   Passed    0.10 sec
        Start  87: CmdSetPortStateTestFixture.enableOnePort
106/689 Test #129: CmdShowMirrorTestFixture.queryClientWithoutTunnel ................................................................................................   Passed    0.10 sec
        Start 123: CmdShowInterfaceCountersTestFixture.queryClient
...
100% tests passed, 0 tests failed out of 689

Total Test time (real) =  20.93 sec
```

- Confirmed the test executable was actually build, noticed timestamp of such binary is different than before
```
[root@5f196107a3a6 fboss]# ls -al /var/FBOSS/tmp_bld_dir/build/fboss/fboss2_cmd_test
-rwxr-xr-x 1 root root 116548584 Feb 17 22:26 /var/FBOSS/tmp_bld_dir/build/fboss/fboss2_cmd_test
```

- Now run the test command again when all the test binaries exist without any issue
```
[root@5f196107a3a6 fboss]# ./build/fbcode_builder/getdeps.py test --allow-system-packages --extra-cmake-defines='{"CMAKE_BUILD_TYPE": "MinSizeRel", "CMAKE_CXX_STANDARD": "20"}' --scratch-path /var/FBOSS/tmp_bld_dir --num-jobs 16 --src-dir . fboss
Testing ENV[BOOST_ROOT_1_69_0]: None
 ---
...
686/689 Test #578: ThriftStructNodeTestSuite.ThriftStructNodeRemovePathOnThriftMapTest<TestParams<true>> ............................................................   Passed    0.01 sec
687/689 Test #579: ThriftStructNodeTestSuite.ThriftStructNodeRemovePathOnThriftListTest<TestParams<true>> ...........................................................   Passed    0.01 sec
688/689 Test #580: ThriftStructNodeTestSuite.ThriftStructNodeRemovePathOnThriftSetTest<TestParams<true>> ............................................................   Passed    0.01 sec
689/689 Test #550: ThriftStructNodeTests.ThriftStructNodeSetAlreadyPublished ........................................................................................   Passed    0.18 sec

100% tests passed, 0 tests failed out of 689

Total Test time (real) =  21.00 sec
```

Reviewed By: bigfootjon

Differential Revision: D93524014

Pulled By: joseph5wu

fbshipit-source-id: d58055430e181f4efa6901985b7b2e7de4626a11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants