From 0ca632b19daae4442155f8c9294a0efed010b150 Mon Sep 17 00:00:00 2001
From: Andreas Jaeger <aj@suse.com>
Date: Tue, 3 Sep 2019 14:40:39 +0200
Subject: [PATCH] Switch PDF file name to doc-PROJECT.pdf

Further work on the PDF generation showed that many projects have
project logos as svg files with the name PROJECT.svg, those get
converted to PROJECT.pdf and collide with the default name used here.

Change the default to "doc-PROJECT.pdf" to have a unique name.

This is a change in the default but we only added this 11 days ago, so
I hope it's fine to change.

Change-Id: I4f2224633fd4edbc3121af53d0202796cf8a0a60
---
 roles/fetch-sphinx-tarball/README.rst         | 2 +-
 roles/fetch-sphinx-tarball/defaults/main.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/fetch-sphinx-tarball/README.rst b/roles/fetch-sphinx-tarball/README.rst
index ba807f0b3..d78cf9fa9 100644
--- a/roles/fetch-sphinx-tarball/README.rst
+++ b/roles/fetch-sphinx-tarball/README.rst
@@ -22,4 +22,4 @@ archive into the log root for viewing.
 
    A list of file names of PDF files to collect.
    By default, the list contains as entry only
-   ``{{ zuul.project.short_name }}.pdf``.
+   ``doc-{{ zuul.project.short_name }}.pdf``.
diff --git a/roles/fetch-sphinx-tarball/defaults/main.yaml b/roles/fetch-sphinx-tarball/defaults/main.yaml
index 6c7b084ec..a49d3c3cd 100644
--- a/roles/fetch-sphinx-tarball/defaults/main.yaml
+++ b/roles/fetch-sphinx-tarball/defaults/main.yaml
@@ -2,4 +2,4 @@
 zuul_work_dir: "{{ zuul.project.src_dir }}"
 sphinx_build_dir: doc/build
 sphinx_pdf_files:
-  - "{{ zuul.project.short_name }}.pdf"
+  - "doc-{{ zuul.project.short_name }}.pdf"