Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38040

Detect all CRLFs in core and clean them

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.4, 2.4.1, 2.5
    • Fix Version/s: 2.3.5, 2.4.2
    • Component/s: General, Libraries
    • Labels:
    • Testing Instructions:
      Hide
      • Verify that only changes @ EOL have been introduced by the patch:

      git diff --ignore-space-at-eol  commitid
      

      • verify whitespace jobs are back to green in CI servers.
      Show
      Verify that only changes @ EOL have been introduced by the patch: git diff --ignore-space-at-eol commitid verify whitespace jobs are back to green in CI servers.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      While looking for information @ CONTRIB-4158, with some quick greps it was detected that we have a few CRLF terminations in core (ignoring imported libs, of course).

      This is about:

      1) Make the illegal_whitespace job to detect such CRLFs.
      2) Fix all the core ones.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stronk7 Eloy Lafuente (stronk7)
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Integrator:
                Dan Poltawski
                Tester:
                Dan Poltawski
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Mar/13