Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129446

Prevent overwriting doc images across projects

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7, 6.8
    • Build tools: qdoc
    • None

    Description

      QTBUG-129444 shows an issue where two different projects in two different submodules used the same filename for two different doc images, causing one to overwrite the other when generating HTML output.

      It is not unlikely that the same filename is used by independent projects. Guaranteeing unique filenames across all of Qt without tooling support is challenging. It would therefore be very useful if QDoc did not require unique filenames, or gave warnings that would be caught by some of our infrastructure.

      Two not so elegant way of doing this would be to combine the filename with a hash over the file content, or encode the full image path into the filename when copying to the destination folder. I assume there can be better ways of solving this.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            docinfrastructure Documentation Infrastructure Team
            johanseg Jøger Hansegård
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes