This issue is only about implementing pure data types without any functions. In the module like Croco.Config. The main Config data type should be able to represent the following:
Optional GitHub username (could be an organization or personal account, but also may not be specified).
Optional repository name where all file templates are stored.
List of label rules.
List of ignored packages: rules won't be applied to them.
Each label rule can be one of the following:
Create. Specific label with the name, description and colour. This rule creates a new label with such properties or updates parameters of the label with the given name if it already exists.
Override. This rule tells how to change the name of the label. For example, in some repositories we have doc and in some we have docs labels. We might want to change everything to docs but we don't want to delete the old label and create a new one, just change the name.
This issue is only about implementing pure data types without any functions. In the module like
Croco.Config
. The mainConfig
data type should be able to represent the following:Each label rule can be one of the following:
doc
and in some we havedocs
labels. We might want to change everything todocs
but we don't want to delete the old label and create a new one, just change the name.I think this should be okay for the start 👍