-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Extension popularity monitoring #4219
Comments
What's the acceptance criteria? archimate has over 200 repositories and yet it's in this list with its PR closed. |
That's going to depend on the extension. Hundreds of repositories is a rule of thumb; for a very specific extension with few chances of conflicts, such as
I'm working on a new XML Strategy that should handle the |
Excellent idea @pchaigno! And very useful too. Thanks. |
@pchaigno thanks for doing this! Can we remove the .m file extension from consideration for #4191 then? The code change only includes .pq and .pqm file support (specifically because we didn't want to conflict with the existing .m file highlighters). I think .m was mentioned in the PR comments because that was our old convention (and no longer used). |
Zig update - nov 4, 2018 - 1547 files, 151 repos |
Hello @pchaigno I have just run harvester on Zig extension and came up with these results:
https://gist.github.com/andrewrk/33650712e74a65873dd84d82d25f449a It is time to re-open #4005 |
This issue has been automatically marked as stale because it has not had activity in a long time. If this issue is still relevant and should remain open, please reply with a short explanation (e.g. "I have checked the code and this issue is still relevant because ___."). Thank you for your contributions. |
@xfix It looks like |
Update on
Ran Harvester with Raw data: https://gist.github.com/stefanobaghino/6439072413623b0a9b05aabeaeebb4e6 Unique repository count method
Disclaimer: with my other account @stefanobaghino-da, I'm a member of @digital-asset, which is the author of the DAML language. I ran Harvester with my private account (the one I'm using right now) to exclude private repositories. |
✅ Done. |
Can all of the entries be updated? Its been a year. |
I'd like this as well, specifically for Wren support. |
Could |
Hi 👋🏻 How can we add a language to the pending popularity section? |
Languages are normally added when a PR is opened that doesn't quite yet meet the documented usage requirements, though we've not really been maintaining this list much as PRs no longer auto-close. |
That PR is over three years old, so it's probably best to start a new PR, though from a quick look... usage is still incredibly low with only 698 files which is still waaaay too low. |
Thanks for checking that! By the way the query you linked actually returns an empty result to me. Is that |
Nope. It's the new Codesearch beta |
I finally got access to Codesearch. How did you get that number? Clicking on your query (which accounts for a similarly named XML-based configuration format) I get ~5.9K results and scoping it down to include a couple of keywords (like so) narrows it down to ~2.9K. Do you have a rough figure with regards to the expected numbers to include the language in Linguist? |
It is what was returned at the time. It's certainly possible there are more files returned now as the Codesearch beta has been expanding and indexing more and more files.
This is documented in the CONTRIBUTING.md file. From a quick look at the results, it looks like support can be added so feel free to open a new PR. You're going to need to add support to XML for this extension as the same time in the same PR too (it looks popular enough too as it appears to be about one per repo) to ensure they remain being classified as XML with the correct syntax highlighting. |
Apologies, it's been a long time and I guess I missed it.
This is great news, thanks!
To clarify, while an XML-based configuration format with the same name exists, the |
Yup, but as there are clearly two different languages using the same extension, you will need to add support for both at the same time else they'll all be classified as the one language you add, in this case the Haskell dialect, which won't be correct for the XML files. Think about it the other way, you wouldn't want all the Haskell dialect |
Got it, thanks. |
I'm opening this issue to track the popularity of submitted file extensions (pull requests with the label
Pending Popularity
). I've used Harvester to count the number of repositories for all extensions where it makes sense (i.e., if the number of files is below 200 we already know there won't be hundreds of repositories as required). All numbers were updated today, in the last few hours.I'll update the numbers in a few months and will probably stop counting for extensions whose number of repositories stagnated or reduced.
.mxl
.exw
.exu
.sarl
.hsig
.imba
.coco
.pbf
.pbp
.smk
.zig
.rho
.wren
.archimate
.varlink
.pq
.pqm
.m
.asx
.jsonnet
.htmlx
.rego
cabal-ghcjs.project
.asddls
.daml
.aplf
.carp
.scilla
.raku
.rakumod
.curry
.ispc
.isph
.hla
Please avoid discussing issues with specific extensions (such as an improved search query) here and prefer the associated pull request.
* GitHub's search indexing changed at the end of 2020 to only index repositories active in the last year. A decrease in repositories indicates less activity and a potential decrease in overall popularity.
The text was updated successfully, but these errors were encountered: