Commit cb59fea
Fix FBOSS OSS on-diff job fetching configerator/structs/neteng/fboss/thrift/common.thrift
Summary:
Looking at the SimpleShipitTransformerFetcher code again:
https://www.internalfb.com/code/fbsource/fbcode/opensource/fbcode_builder/getdeps/fetcher.py?lines=539-548
The fetcher uses os.walk() on each root. When the root is a file path (like fbcode/configerator/structs/neteng/fboss/thrift/common.thrift), os.walk() returns an empty iterator because it expects a directory, not a file.
So the single-file pathmap entry doesn't work with the current implementation.
Reviewed By: priyankw-meta, KevinYakar
Differential Revision: D96778062
fbshipit-source-id: 85826a78eec373ebb95c77e2abe0090e55b2d82c1 parent d1e0310 commit cb59fea
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
53 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| |||
0 commit comments