Skip to content

wget --no-clobber leaves logo.svg stale in rebuilt sales PDFs #38

Open

Description

@gemshrine

What is wrong?

pitch.cls downloads logo.svg with wget --no-clobber. After the first build, later builds never refresh the local logo, even if the logo at the source URL has changed. Rebuilding a sales deck can therefore silently produce a PDF with an obsolete logo.

Where?

pitch.cls:23

Reproduction

  1. Build the deck once so logo.svg exists.
  2. Change the logo served at https://www.zerocracy.com/svg/logo.svg (or replace the local file to simulate a newer remote asset).
  3. Run make again.
  4. wget keeps the existing file and LaTeX embeds the old logo in sales-deck.pdf and founder-pitch.pdf.

Expected behavior

A normal rebuild should refresh the downloaded logo, or the asset should be deliberately pinned and versioned.

Suggested fix

Remove --no-clobber and replace the asset after a successful download, or use a versioned/checksummed asset and include it as an explicit Make dependency.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions