Skip to content

wget --no-clobber leaves logo.svg stale after the remote logo changes #77

Description

@gemshrine

What is wrong?

brand-book.tex downloads logo.svg with wget --no-clobber. Once a local copy exists, subsequent builds silently keep using that old file even when the Zerocracy logo at the source URL has changed. The generated PDF can therefore remain visually outdated after a normal make rebuild.

Where?

brand-book.tex:13

Reproduction

  1. Build the project once so logo.svg is present.
  2. Replace the remote https://www.zerocracy.com/svg/logo.svg with a newer logo (or change the local file to simulate that update).
  3. Run make again.
  4. wget reports that the existing file is kept, and LaTeX embeds the stale logo in brand-book.pdf.

Expected behavior

A rebuild should use the current logo, or the project should pin and intentionally version the asset so its staleness is explicit.

Suggested fix

Remove --no-clobber (download to a temporary file and replace atomically), or add an explicit asset version/checksum and make the PDF depend on that versioned file.

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