-
Notifications
You must be signed in to change notification settings - Fork 282
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
Automatically detect if no programming language is present to show overview in data-only repository #1311
Comments
Semi-related to #1305. Detectable files can be controlled with a configuration, and also a summary can be generated with different options to get different results. |
So do you think that the option should just be better represented? |
Yeah, I do think updating the error message is a great start. I was kind of just hinting at how this could be handled in the future and investigating the idea of automatically removing filters if nothing is detected. |
Oh, I see now! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Sorry, but I really have to say this, is this stale bot really necessary? I don't wanna tell anyone how to run their projects, but issues are just meant to track the status of a certain bug/feature/whatever. In long running projects they could go unaddressed for months or years, doesn't mean that nobody cares about them anymore, because most of us are pressed for time, but anyone could come at some point and bring new life to it, be it a PR or further discussion. |
TBH I agree. This project hasn't really been active enough these days to warrant a stale bot IMO. It's not like there are too many issues being created right now for us to handle 😆 I think it makes more sense in a project that's rapidly getting new commits all the time and/or getting a lot of new issues. |
Agreed ac7e2b8, we can always bring it back in the future if needs be. |
I'm really glad that you understand! I wasn't expecting this kind of response, thank you!! 🙏 |
Hi!
Summary 💡
Even in repositories where there are no programming languages (e.g. https://github.com/LemmyNet/lemmy-ansible) but only data/configuration, by default you get this:
Maybe in such cases it shouldn't ignore non-programming languages and produce an error output, but fall back to the other most prevalent language.
Motivation 🔦
Related to #1208.
I didn't know right away how to make YAML appear and I was confused because I saw that it was supported as a language, then I found that issue and understood, but it wasn't very intuitive.
Maybe it is also worth reopening that issue, I think an improvement there could be to enrich this error message with suggestions, like:
Or even better, based on the content of the repository, it could suggest which argument to provide to the
-T
option, though, if it's able to do that, it would probably be better to just do it without further user intervention, which falls back into this issue (idk, I'm confused because I'm not aware of all the possibilities)The text was updated successfully, but these errors were encountered: