https://pulumi.com logo
#contribute
Title
# contribute
l

lemon-agent-27707

11/09/2020, 11:30 PM
@bored-oyster-3147Ā šŸ‘‹Ā This is probably the best place for us to discuss Automation API C# related contribution questions
MeetĀ @tall-librarian-49374Ā andĀ @microscopic-pilot-97530. They will be able to provide input on idiomatic C#-isms for Pulumi, API design, naming etc.
cc @worried-city-86458 who had expressed some interest in this area. Not sure if you're still interested in following along or potentially contributing once Josh gets the initial PR off the ground.
b

bored-oyster-3147

11/09/2020, 11:36 PM
sounds good! nice to meet you guys! I'll probably start putting some work in tomorrow. first question right off the top before I get started since I'm looking at the way you guys have the node & go automation implementations kind of separated from the existing code in an
x
directory - are we envisioning that the dotnet automation api code should go in a new class library or just in a new namespace in the existing library?
šŸ‘ 1
l

lemon-agent-27707

11/09/2020, 11:48 PM
Yes. The idea is that the SDKs will remain in the experimental package (
X
) until pulumi 3.0 is released at which time the APIs will be locked. Until that point we may make some minor breaking changes across SDKs as we expose things like structured streaming output from updates.
I did start a branch for dotnet, but there is not much there. Just a start on the workspace interface: https://github.com/pulumi/pulumi/compare/auto/dotnet But do not feel limited by anything that's there. Feel free to start fresh, move things around, etc.
b

bored-oyster-3147

11/10/2020, 12:15 AM
Ah - ok, that makes sense that it is a pre-release thing. Sounds good
ok next question - what library do we want to use for YAML de/serialization of project/stack settings? Assume that System.Text.Json is OK for JSON settings files?
l

lemon-agent-27707

11/10/2020, 8:33 PM
YamlDotNet looks promising. Brendan Burns made a contribution recently which might be a signal that it's actively used in the community https://github.com/aaubry/YamlDotNet/pull/539 That suggestion only comes from a quick bit of googling. Personally I'd be happy with anything that looks to have a decent quality bar and is actively maintained.
t

tall-librarian-49374

11/10/2020, 8:49 PM
YamlDotNet looked like the default option last time I checked
b

bored-oyster-3147

11/13/2020, 6:52 PM
Hey guys! I made a draft PR with some thoughts and questions and will be getting back into this on Monday or Tuesday after the weekend. Have a nice weekend!
l

lemon-agent-27707

11/13/2020, 7:12 PM
partypus 8bit awesome! I'll take a look
b

bored-oyster-3147

11/19/2020, 4:24 PM
just made another commit with an initial implementation of
RunPulumiCmd
here
as well as taking some suggestions from PR and fleshing out workspace/stack