Open petterreinholdtsen opened 1 year ago
I am fine with correcting typos also for earlier releases of LinuxCNC.
The problems seem clear, but I am not sure what solution you are proposing? Are you saying that this can't be a PR because some of the files are generated? In that case the spelling issue are likely to be in commit comments, and I am not sure that it makes sense to try to correct those.
[andypugh]
The problems seem clear, but I am not sure what solution you are proposing? Are you saying that this can't be a PR because some of the files are generated?
I believe at least the debian/changelog file are is a different git repostory. So those who know which repo should run the script.
-- Happy hacking Petter Reinholdtsen
[andypugh]
This one? https://github.com/LinuxCNC/linuxcnc/blob/master/debian/changelog ?
Nope, do not have all the typos reported by lintian.
-- Happy hacking Petter Reinholdtsen
Looking further, all the examples I tried looking for appeared in commit messages, and I suspect that this is where Lintian is finding them. I have done some googling and I get the feeling that rewriting the commit history to fix typos would probably be a bad idea.
I am curious why it is only finding the typos in linuxcnc-doc-es ?
If the suggestion is to run this script on the actual .deb file after it has been generated, I think this would require it to be unpacked, edited and re-packed (with the MD5 sums updated accordingly)
[andypugh]
If the suggestion is to run this script on the actual .deb file after it has been generated, I think this would require it to be unpacked, edited and re-packed (with the MD5 sums updated accordingly)
The suggestion is to run the script to edit the debian/changelog file I assume is in some git repo somewhere. If it is generated from scratch every upload, this approach will not work.
I have done some googling and I get the feeling that rewriting the commit history to fix typos would probably be a bad idea.
Yes, it is a horrible idea which will cause problems for all developers and other users of the git repository.
I am curious why it is only finding the typos in linuxcnc-doc-es ?
No idea.
Happy hacking Petter Reinholdtsen
Where do you see this Lintian report?
For example, only complains about "embeded" (so I have fixed that)
The debian build tool lintian discovered several typos in the source debian package. Here is a script to fix the detected issues. I do not see the point of only running it on the source repository, as several of the typos are in files not present in the linuxcnc repository.
The runtime on my machine is around 1 minute.