Skip to content

Commit 0a03f05

Browse files
jbower-fbfacebook-github-bot
authored andcommitted
Must not have '.' in manifest names as this breaks GitHub actions generation
Summary: There are probably some other rules too, although this is the only one I know of. Reviewed By: martindemello Differential Revision: D79474227 fbshipit-source-id: 175f266cb43f671da241e2d2ca289328b9e413d0
1 parent cdec99d commit 0a03f05

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

build/fbcode_builder/getdeps/manifest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@ def __init__(self, file_name, fp=None):
255255
% (file_name, self.name)
256256
)
257257

258+
if "." in self.name:
259+
raise Exception(
260+
f"manifest name ({self.name}) must not contain the '.' character (it is incompatible with github actions)"
261+
)
262+
258263
def get(self, section, key, defval=None, ctx=None):
259264
ctx = ctx or {}
260265

build/fbcode_builder/manifests/cinderx-3.12mp renamed to build/fbcode_builder/manifests/cinderx-3_12mp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[manifest]
2-
name = cinderx-3.12mp
2+
name = cinderx-3_12mp
33
fbsource_path = fbcode/cinderx
44
shipit_project = facebookincubator/cinderx
55

@@ -14,7 +14,7 @@ builder = nop
1414

1515
[dependencies]
1616
python-setuptools
17-
meta-python-3.12
17+
meta-python-3_12
1818

1919
[shipit.pathmap]
2020
fbcode/cinderx = cinderx

build/fbcode_builder/manifests/meta-python-3.12 renamed to build/fbcode_builder/manifests/meta-python-3_12

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is primarily to support CinderX, so it's not heavily configured.
22

33
[manifest]
4-
name = meta-python-3.12
4+
name = meta-python-3_12
55
fbsource_path = third-party/python/3.12
66
shipit_project = facebookincubator/cinder
77
shipit_fbcode_builder = false

0 commit comments

Comments
 (0)