Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1198111
| From | Matthieu Caneill <matt@brokenwa.re> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.devel.qa |
| Subject | Bug#782171: Updates? |
| Date | 2024-05-20 23:10 +0200 |
| Message-ID | <IGiqB-eHVk-1@gated-at.bofh.it> (permalink) |
| References | <pd6kx-5xS-1@gated-at.bofh.it> <IGiqB-eHVk-3@gated-at.bofh.it> <pd6kx-5xS-1@gated-at.bofh.it> <IGiqB-eHVk-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
Hi, On Mon, May 20, 2024 at 06:48:38AM +0000, Zhang, Wentao wrote: > I noticed that in the "package info" box of sources.debian.org, the "SLOC" field > doesn't recognize Rust. Example [1]. > > After doing some research I believe it's because of the somewhat outdated > sloccount program. Similar report can be found here regarding Scala [2]. Indeed, unfortunately sloccount doesn't seem to be actively maintained, a merge request for Rust support didn't get any attention: https://sourceforge.net/p/sloccount/code/merge-requests/5/ > Do we have any plan of updating this infrastructure? In my use cases, I turn to > sources.debian.org and that SLOC field quite often if the package is not > maintained on Salsa. I'd love to see support for more languages. We'd need to: - Find a suitable alternative (supports a superset of sloccount languages, has decent performances). - Replace the execution and parsing of sloccount output by this alternative (in https://salsa.debian.org/qa/debsources/-/blob/master/lib/debsources/plugins/hook_sloccount.py?ref_type=heads). - To keep things consistent, run it on the whole archive to replace sloccount results. Insights on the first point are particularly welcome. Cheers, -- Matthieu
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#782171: Updates? Matthieu Caneill <matt@brokenwa.re> - 2024-05-20 23:10 +0200
csiph-web