source
field required in Mason.toml
for registration, misleading documentation
#25063
Labels
source
field required in Mason.toml
for registration, misleading documentation
#25063
According to
masonTomlFileCheck
inmasonPublish
here, theMason.toml
file need to have asource
field in order to be registered, otherwise it fails (example 1, example 2 ).There is no mention of this in the documentation about Manifest file and in the documentation on publishing packages it is only mentioned in the second bullet list (manual steps), letting understand that if one uses
mason publish
this will be taken care of automatically (which is not the case).A few solutions:
source
field pointing to the repository.LetWouldnt work, would still need to commit the new manifest first.mason publish
modify theMason.toml
to add the field if missing.and a few bonus points:
Manifest.toml
. While the field is strictly not compulsory unless one plans to publish on Mason, I think it would be good to mention there that it's good practice to have the field if you host your work in a repository, and it's needed if one wants to publish in masonmason new
this would require to ask for the user github account.The text was updated successfully, but these errors were encountered: