Skip to content
Snippets Groups Projects

Issue #3304365: Do not check excluded folders for symlinks

Merged Issue #3304365: Do not check excluded folders for symlinks
2 unresolved threads
Merged Adam G-H requested to merge issue/automatic_updates-3304365:3304365-do-not-check into 8.x-2.x
2 unresolved threads

Merge request reports

Merged results pipeline #7803 skipped

Merged results pipeline skipped for 41128287

Merged by Adam G-HAdam G-H 2 years ago (Oct 28, 2022 6:49pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 <?php
2
3 namespace Drupal\package_manager\Event;
4
5 use Drupal\package_manager\Stage;
6 use PhpTuf\ComposerStager\Domain\Value\PathList\PathListInterface;
7 use PhpTuf\ComposerStager\Infrastructure\Value\PathList\PathList;
8
9 /**
10 * Defines an event that collects ignored paths.
11 *
12 * Ignored paths are completely ignored by Composer Stager. They are never
13 * copied into the staging area from the active directory, or vice-versa.
  • Comment on lines +12 to +13

    I don't know if we want to say never it is really for the next operation or status check.

  • I guess my point is what actually happens depends on the logic of the subscriber. I don't to get give the impression the fire the event 1x for the whole lifecycle of the update and if you add the exclusion it will be excluded in all stages. That depends on you ignoring the state of the stage

  • Please register or sign in to reply
  • Ted Bowman
  • Ted Bowman
  • Adam G-H added 1 commit

    added 1 commit

    • 88c1924a - Test event constructor deprecations

    Compare with previous version

  • Ted Bowman
  • Ted Bowman
  • Adam G-H added 1 commit

    added 1 commit

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    • 843f25ea - Add explicit test coverage of StatusCheckTrait

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    Compare with previous version

  • Ted Bowman
    Ted Bowman @tedbow started a thread on the diff
  • 6 use Drupal\package_manager\Event\StatusCheckEvent;
    7 use Drupal\package_manager\StatusCheckTrait;
    8
    9 /**
    10 * @covers \Drupal\package_manager\StatusCheckTrait
    11 *
    12 * @group package_manager
    13 */
    14 class StatusCheckTraitTest extends PackageManagerKernelTestBase {
    15
    16 use StatusCheckTrait;
    17
    18 /**
    19 * Tests that StatusCheckTrait will collect ignored paths.
    20 */
    21 public function testIgnoredPathsCollected(): void {
  • Adam G-H added 6 commits

    added 6 commits

    • ec088ad7 - Pass exclusions to precondition
    • fbf9c32f - revert $return_as_object in favor of deprecating in another issue
    • 2605b300 - Merge branch '8.x-2.x' into 3304365-do-not-check
    • 9fddbce7 - Run the validator later
    • 658a6b49 - Merge branch '3304365-do-not-check' of...
    • 3f20d144 - Add a test confirming that PreCreate and PreApply collect ignored paths

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    Compare with previous version

  • Adam G-H added 1 commit
  • Adam G-H added 1 commit

    added 1 commit

    Compare with previous version

  • Adam G-H added 1 commit

    added 1 commit

    Compare with previous version

  • Adam G-H added 3 commits

    added 3 commits

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading