-
Notifications
You must be signed in to change notification settings - Fork 704
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
cabal check should warn when readme or changelog exist but aren't included in extra-source-files #3964
Comments
Seems like a reasonable thing to me. |
While we're at it, we should also add a warning for missing changelog. |
cabal check
?
@sjakobi Don't forget to PR your change! :) |
I will! :) I still need to make my patch work with glob patterns in the |
I think this makes sense @sjakobi do you think your work could be shared as a draft pr? thanks! |
@jneira Apologies for the late response! AFAIK all my work on this issue is in this commit: sjakobi@7dedf0c. If anyone is interested in completing this work, feel free to use that code in any way you see fit. |
@sjakobi: thank you very much. I've labelled this correctly, so let's hope somebody picks it up now. |
I put these in |
I think |
I used to upload readmes but sometimes their rendering on hackage was not what I wanted so I removed them. I think that is OK if the package |
@ulysses4ever A warning for changelogs has been added in #8657. However this issue should maybe be kept opened for further discussion: it would require fine-grained selectionable warnings to implement an exhaustive check. |
Good idea. Reopening. |
Thank you, that works for me! |
@ulysses4ever Do you really want to keep this issue open when its OP has been addressed? Maybe it would be cleaner to open a new issue with the things you find are lacking still. That would save one from reading through a lot of now irrelevant comments... |
@andreasabel I agree that a new issue with an updated goal would be much more helpful. I don't have energy to act on this at the moment though. |
I can do it. |
That would be awesome, @ffaf1 ! |
Done! |
Browsing hackage would be a lot nicer if everyone would upload their READMEs.
Would it be within the scope of
cabal check
to look for a README in the package directory and give a warning/suggestion, if that file isn't listed among theextra-source-files
?If such a warning is not within the scope of
cabal check
, is there another command that could be reasonably enhanced with such a warning?The text was updated successfully, but these errors were encountered: