Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1153

Add Evergreen task which crawls project source for dead web links

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Continuous Integration

    Description

      There are certainly existing tools that can do this, but, for a start:

      grep -ERho 'https://[a-zA-Z/.#-]+' . | sort | uniq | xargs curl -I | grep '^HTTP/1.1 404'
      

      This task should run rarely.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: