As discussed in #6 (review) with @Beanow, we could very easily remove the need to specify a project identifier (the project action variable) that is needed to run sourcecred scores if we can parse it directly from the file. Some points to think about:
- the project id would likely always be supported in the action, and used if the user provides it (and we would skip parsing)
- if no project id is provided and the file just has one, we can use what we find when we parse
- if no project id is provided and more than one are found, we would need to throw an error.
This likely won't go into the first round of edits, as I think it requires more work/ discussion (or maybe me just knowing about) the format for this project file. But definitely let's keep it on the radar for the future.
As discussed in #6 (review) with @Beanow, we could very easily remove the need to specify a project identifier (the
projectaction variable) that is needed to runsourcecred scoresif we can parse it directly from the file. Some points to think about:This likely won't go into the first round of edits, as I think it requires more work/ discussion (or maybe me just knowing about) the format for this project file. But definitely let's keep it on the radar for the future.