-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add a core status attribute #15
base: main
Are you sure you want to change the base?
Conversation
@ethanaobrien: I've only set the ones I know to be |
Here are my thoughts real quick. I don't think cores should be added to the cores.json at all if they don't build - if that happens, there are always going to be people asking why it isn't building, and not even trying. I also kinda think that with how this project runs, that beta and experimental are both one core (like your changes to cores.json only used experimental, with none marked as beta) Let me know on your thoughts on these |
You're right of course that they wouldn't be in cores.json unless they had passed some basic build testing. But I wanted to be able to include sub-optimal cores in the script to allow for testing purposes. The ones I marked experimental is because they do build, but I still need to do some proper testing to ensure they work. They would move up to beta (though that could be relabled to "unstable" perhaps?) with more testing. I was thinking along the lines of cores like picodrive which we know is a bit dodgy, could have a label of beta because there were issues with running it, and giving it a label like that sets end user expectations. Having the value there also allows us to filter work in progress or known-faulty cores from release builds, but leave them in nightlies for testing purposes. This PR is very much in the area of a proposal/suggestion :) |
argumentstring="$argumentstring `echo $rowarg | base64 --decode`" | ||
done | ||
# only compile if the status attribute is not 3 | ||
if [ -a "$status" != 3 ]; then |
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.
Could we "if status == 3 then continue"? or is that not available in bash?
Adds an attribute called "status". The intention is to allow EJS to display the state of the build to manage user expectations if a core is still in test or not completely functional.
Status can have one of the following values:
0
or not set =stable
1
=beta
2
=experimental
3
=don't build
- the build script will skip building the core