Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An attempt to schematize Cloud Formation Ref handling #1836

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
24601e7
WIP on categorizing Ref docu
t0yv0 Nov 19, 2024
616b4de
Colocate property names
t0yv0 Nov 19, 2024
46f51eb
Adding a guessing game
t0yv0 Nov 19, 2024
487842a
Guessing a few more resources
t0yv0 Nov 19, 2024
788debf
Add a Makefile target
t0yv0 Nov 19, 2024
1c681b7
More information
t0yv0 Nov 19, 2024
94eabfc
Fix typo
t0yv0 Nov 19, 2024
3419c79
Sort prop options by primary key index
t0yv0 Nov 19, 2024
763993e
Label some more resources
t0yv0 Nov 19, 2024
635f197
Print stats; more labels
t0yv0 Nov 19, 2024
ae694b7
Allow marking Not Supported
t0yv0 Nov 19, 2024
44558ce
More labels
t0yv0 Nov 19, 2024
6f2fdf3
More labels
t0yv0 Nov 19, 2024
f808bd0
N=62 labels
t0yv0 Nov 19, 2024
0eafff3
N=81 labels
t0yv0 Nov 19, 2024
5279b4c
N=91 labels
t0yv0 Nov 20, 2024
a42d4c2
Note JSON-encoded Properties
t0yv0 Nov 20, 2024
98c1aeb
N=121 labels
t0yv0 Nov 20, 2024
0955c57
Improve RefReturnsArn recognizer
t0yv0 Nov 20, 2024
b73e36f
Implement automatic heuristic labelling
t0yv0 Nov 20, 2024
3ca1e33
Add a target for automatic heuristic labelling
t0yv0 Nov 20, 2024
162851b
Auto label some resources
t0yv0 Nov 20, 2024
6f3d889
Recognize RefReturnsName categories
t0yv0 Nov 20, 2024
c099b9d
Name based heuristic
t0yv0 Nov 20, 2024
db209ac
Apply more heuristics
t0yv0 Nov 20, 2024
7aa2459
Improve the Name heuristic
t0yv0 Nov 20, 2024
56ccd12
Apply the name heuristic
t0yv0 Nov 20, 2024
9aecc99
Further improve the name heuristic
t0yv0 Nov 20, 2024
e835334
Apply the improved Name heuristic; N=266
t0yv0 Nov 20, 2024
d3c70cb
Improve Arn category recognizer
t0yv0 Nov 20, 2024
2084d7a
Apply heuristics
t0yv0 Nov 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,14 @@ install_sdks:: install_dotnet_sdk install_python_sdk install_nodejs_sdk
# Required for the codegen action that runs in pulumi/pulumi
only_build:: build

refgame::
mkdir -p bin
(cd provider/tools/ref-parser && go build -o ../../../bin/ref-parser)
./bin/ref-parser -guide ./aws-cloudformation-user-guide -schema ./aws-cloudformation-schema -db ./meta/ref-db.json

refgame-auto::
mkdir -p bin
(cd provider/tools/ref-parser && go build -o ../../../bin/ref-parser)
./bin/ref-parser -guide ./aws-cloudformation-user-guide -schema ./aws-cloudformation-schema -db ./meta/ref-db.json -auto

.PHONY: ensure generate_schema generate build_provider build
Loading
Loading