Clean up old files on server when deploying #104500
Labels
No Label
Meta
Good First Issue
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Eevee & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds, Tests & Devices
Module
Python API
Module
Rendering & Cycles
Module
Sculpt, Paint & Texture
Module
User Interface
Module
VFX & Video
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Information from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-manual#104500
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The manual deployment from the buildbot uses
rsync
to copy files to the server. When doing that it doesn't delete old/unused files there, it only copies new or modified files to the destination.rsync
has the--delete
option that should help here. From thersync
man-page:https://www.man7.org/linux/man-pages/man1/rsync.1.html
The new devdocs deployment follows the manual, and this has caused some issues. Would be good to address this for both.
Clean up unused files on server while deploying?to Clean up unused files on server when deploying?@JulianEisel can you provide any update here? Has the developer docs used this yet?
Opened a pull request for this in the buildbot/devops repository.
Clean up unused files on server when deploying?to Clean up unused files on server when deployingClean up unused files on server when deployingto Clean up old files on server when deployingAny update on that PR?
For the developer documentation the files are now deleted, for the manual @brecht noticed it would also delete other files, I think stuff like the zip archives of the manual. So some more work will be needed there I’m afraid.
I opened a PR for this: infrastructure/blender-devops#7