[mapserver-dev] MapServer docs and GitHub Process
Jeff McKenna
jmckenna at gatewaygeomatics.com
Sun Oct 4 05:43:12 PDT 2020
The check-crlf Github action is now also enabled for our source code
repository. I've been working with the check-crlf guys to test & add
excluding directories (we now exclude a few msautotest directories as
they contain PDF and TAB files with CRLF)
Let me know if other changes are needed.
-jeff
On 2020-09-21 5:22 p.m., Jeff McKenna wrote:
> Hi Seth,
>
> Thanks for mentioning this. Indeed about 6 months ago I set up the
> backport bot for the documentation, but I didn't seem to pull the final
> trigger (this is usually a sign that I had hit a wall).
>
> I've gone through and configured the backport bot for the documentation
> as well now (had a few failures but it's fixed now).
>
> Some other points:
> - updated Github settings so that 'master' is now default branch for
> documentation, and changed the message to say to submit PRs to master
> - I also took this time to finally change our old "docs" repository name
> (this goes way back to our CVS days) to something more meaningful:
> "MapServer-documentation". Github handles the appropriate redirects.
> (https://github.com/MapServer/MapServer-documentation)
> - did the same for our "mapserver" Github organization, so that it is
> now "MapServer" (https://github.com/MapServer)
> - I've enabled that Github action 'check-crlf' for the documentation
> workflow, and changed all remaining CRLF linefeeds in the documentation
> files, to LF. Now, when you submit a PR or a push, this checks the
> entire repository for any CRLF linefeeds, and reports a list of files
> with problems, or states "no files with CRLF endings found"
> - also added the git settings that I use locally, to convert to LF
> before commit, to our documentation guide, and made a note of this LF
> requirement (see third point at
> https://mapserver.org/development/documentation.html#github-notes ). But
> this new Github action will nicely tell us about the linefeed problem,
> thanks Seth for mentioning it!
> - regarding the source code directory, I also tried to enable the
> check-crlf, and it found a surprising number of source code files with
> non-LF, but for it to work we'll have to ignore some directories and
> filetypes (such as msautotest, pdfs, etc). There is also a PR for
> check-crlf that adds this, and once that is accepted I'll add this into
> the main source repository as well.
>
> In summary, we can now use the 'backport branch-7-6' label for
> documentation, and, all pull requests should now we made to master. All
> documentation pull requests are now checked for linefeeds, and a build
> error is thrown if CRLF are found.
>
> Let me know if any other changes need to be made.
>
> thanks!
>
> -jeff
>
>
--
Jeff McKenna
MapServer Consulting and Training Services
co-founder of FOSS4G
http://gatewaygeo.com/
More information about the mapserver-dev
mailing list