Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.7] Fix filesystem locking hangs in PackageManifest::build() #26010

Merged
merged 3 commits into from
Oct 10, 2018
Merged

[5.7] Fix filesystem locking hangs in PackageManifest::build() #26010

merged 3 commits into from
Oct 10, 2018

Commits on Oct 8, 2018

  1. #25898 Fix filesystem locking hangs in PackageManifest::build()

      - Filesystem.php
    
         1. Created a new `Filesystem::replace()` method that atomically
            replaces a file if it already exists.
    
      - PackageManifest.php
    
         1. The Filesystem::get() call in PackageManifest::getManifest() no
            longer has to use an exclusive lock because the packages.php
            manifest file will always be replaced atomically.
    
         2. Use the new Filesystem::replace() method in
            PackageManifest::write()
    Yogarine committed Oct 8, 2018
    Configuration menu
    Copy the full SHA
    bc21ac7 View commit details
    Browse the repository at this point in the history
  2. #25898 Fix filesystem locking hangs in PackageManifest::build()

    Actually, changing owner won't work anyway if you're not root, so remove
    that.
    Yogarine committed Oct 8, 2018
    Configuration menu
    Copy the full SHA
    74ab702 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2018

  1. #25898 Fix filesystem locking hangs in PackageManifest::build()

    Remove chmod() and chgrp() because it's a bit overkill and probably
    won't work properly on Windows.
    Yogarine committed Oct 9, 2018
    Configuration menu
    Copy the full SHA
    0ccf028 View commit details
    Browse the repository at this point in the history