Update Composer Stager to 2.0.0-alpha2 to resolve a bug in the rsync file syncer

Created on 6 June 2023, over 1 year ago
Updated 5 July 2023, over 1 year ago

Problem/Motivation

Pop quiz, hot shot: what's the difference between rsync --exclude=src and rsync --exclude=./src?

Pretty significant, actually: the first one will exclude any directory named src, in the whole tree. The second one will only exclude a top-level directory (relative to the directory where rsync was called) named src.

Right now, CollectPathsToExcludeEvent::addPathsRelativeToProjectRoot() uses the first form. In certain situations -- specifically, GitPod developments of Project Browser, where its top-level src directory is cloned into the project root -- that results in rsync getting called with --exclude=src, which causes the stage to have NO src directories in it at all. 💩

Proposed resolution

Composer Stager fixed this upstream in 2.0.0-alpha2, so let's update to that.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Package Manager

Created by

🇺🇸United States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024