Giter Site home page Giter Site logo

Comments (5)

JulienPalard avatar JulienPalard commented on June 15, 2024 1

Yes as mentionned by @hugovk it's fixed since 2017 but it could still happen in very unfortunate conditions.

To be very precise:

  • Today we don't use "html-only builds", so if the script crash nothing gets updated at all on docs.python.org (old files are kept, new files are not added).
  • This year, when it happened (see #124), we were triggering hourly "html-only builds" for /dev/ because devs like fast updates and we still don't have python/psf-salt#226.

If python/psf-salt#226 gets done, or if any experience using html-only builds are done, AND a crash happen during the PDF build, it would result in the following situation:

  • HTML get updated by html-only builds
  • old files are not deleted

(Old files are not deleted by html-only builds because it would delete PDFs...)

Hopefully build errors are monitored using Sentry, I don't know who receive the notifications though, I know I receive them and I bet Ee receives them.

from docs-community.

CAM-Gerlach avatar CAM-Gerlach commented on June 15, 2024

Thanks. The issue seems to be resolved and presumably can be closed, as it seems in the intervening 8 years the adoption of the modern Sphinx rendering system and the hosting backend have resulted in documentation being appropriately deleted when it no longer exists in the source, as the link doc no longer exists and gives a 404, even for Python 3.4.

from docs-community.

encukou avatar encukou commented on June 15, 2024

Hm, was there a change to the hosting backend? I know nothing about these things.
Do we know for sure files are being deleted, or should we double-check (and if so, where?)

from docs-community.

hugovk avatar hugovk commented on June 15, 2024

It happened in February with 3.11 due to a PDF build failure and some caching problems:

And earlier in 2017, fixed by changing a cp to rsync (but keeping cp for archives):

Ping also @JulienPalard.

from docs-community.

encukou avatar encukou commented on June 15, 2024

Ah, OK. I think it's fine if an emergency workaround build system keeps deleted files, as long as regular builds are fine. Thanks for confirming!

from docs-community.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.