-
Notifications
You must be signed in to change notification settings - Fork 5
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
demo for policy state #36
base: main
Are you sure you want to change the base?
demo for policy state #36
Conversation
Signed-off-by: Hao Tran <haoanhtran7@gmail.com>
I think expanding our demo and showcasing other features of gittuf is a great idea. There are some scripts which demonstrate various scenarios available here: https://github.com/adityasaky/gittuf-ndss-eval. They're written similar to how the demo is at the moment (both format/style + in Python), so I think that we can somehow combine them with what we have currently in this demo repository. For the script you added, we can possibly have that as one of multiple "example deployments". I suggest converting it to Python however to allow for cross-platform compatibility. |
Signed-off-by: gittuf-demo <gittuf.demo@example.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great start! A few items/suggestions.
Signed-off-by: Hao <haoanhtran7@gmail.com>
Signed-off-by: Hao <haoanhtran7@gmail.com>
Thank you for reading through and leaving comments! I was going down a rabbit hole with Docker and refactoring the Python code instead of addressing the issues. So you saved me a bunch of time. But let me get your thoughts on that last idea. The idea was to use nested functions to improve readability of the commands. This sub-divides the commands from one big function into several smaller ones. But this breaks away from the style of |
Perhaps I can add images/diagrams to help in turning Aditya's experiments into demos? Experiment 2 has a diagram in the ndss repo but I'm not sure if the other ones are in the whitepaper. I can read through and check. |
I see the value of this but I think it's better to just have each command listed individually in the code to make it easier to read the file in order.
There are some others in the paper (available here). I can draw up the other figures or you can give it a shot, if you'd like. Note that you'll need to add the |
Signed-off-by: Hao <haoanhtran7@gmail.com>
Right thanks for clarifying on the nested functions front. If you could draw up the diagrams that would be great! Might be best for me to sit back and follow your lead for a bit. |
@patzielinski
I've been thinking that building out the demos would be productive way for me to contribute. I could leverage my tinkering with the CLI to showcase more commands. So when I saw this example policy state in the updated design docs, which you pointed me towards, I figured it could be an opportunity to link back to previously established work.
I figured out the commands on my machine to replicate this policy state with a bash script. But I don't really have a high level feel for what needs to be done to turn this idea into a demo. Could you point me in the right direction?