Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

fix d2go.config #571

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wat3rBro
Copy link
Contributor

Summary:
I think the main issue is that we import reroute_config_path from d2go.config.config in __init__.py, but it's actually in d2go.config.utils. After fixing this, the namespace forward also works, see scripts/wangyanghan/autodeps_testbed/d2go_config/TARGETS

Update all TARGETS:

fbgs -l "d2go/config:" | xargs printf -- '/data/sandcastle/boxes/%s\n' | xargs arc lint -a

For reviewers, only .autodeps.toml and files in d2go/d2go/config/ and scripts/wangyanghan/autodeps_testbed/d2go_config/ are manually changed, other files are auto modified.

Reviewed By: ajinkya-deogade

Differential Revision: D46582416

Summary:
I think the main issue is that we import `reroute_config_path` from `d2go.config.config` in `__init__.py`, but it's actually in `d2go.config.utils`. After fixing this, the namespace forward also works, see `scripts/wangyanghan/autodeps_testbed/d2go_config/TARGETS`

Update all TARGETS:
```
fbgs -l "d2go/config:" | xargs printf -- '/data/sandcastle/boxes/%s\n' | xargs arc lint -a
```

For reviewers, only `.autodeps.toml` and files in `d2go/d2go/config/` and `scripts/wangyanghan/autodeps_testbed/d2go_config/` are manually changed, other files are auto modified.

Reviewed By: ajinkya-deogade

Differential Revision: D46582416

fbshipit-source-id: c801d47717e3297700a7bbd52f974653ee760826
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Jun 12, 2023
@facebook-github-bot
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants