Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Merge requests
!217
Issue
#3266092
: Make sure staging root is unique for each Drupal site
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3266092
: Make sure staging root is unique for each Drupal site
issue/automatic_updates-3266092:3266092-make-sure-staging
into
8.x-2.x
Overview
15
Commits
14
Pipelines
0
Changes
7
Merged
Kunal Sachdev
requested to merge
issue/automatic_updates-3266092:3266092-make-sure-staging
into
8.x-2.x
3 years ago
Overview
13
Commits
14
Pipelines
0
Changes
3
Expand
0
0
Merge request reports
Compare
version 11
version 15
ff6cc4d3
3 years ago
version 14
b2e48005
3 years ago
version 13
eded29f6
3 years ago
version 12
6c7f5e08
3 years ago
version 11
702c033c
3 years ago
version 10
8ec67061
3 years ago
version 9
b357b445
3 years ago
version 8
9d42aaec
3 years ago
version 7
7a720538
3 years ago
version 6
924eb2b0
3 years ago
version 5
67b569cc
3 years ago
version 4
c557c371
3 years ago
version 3
daf3f552
3 years ago
version 2
e57c1099
3 years ago
version 1
44d6bce3
3 years ago
8.x-2.x (base)
and
latest version
latest version
ff6cc4d3
14 commits,
3 years ago
version 15
ff6cc4d3
14 commits,
3 years ago
version 14
b2e48005
16 commits,
3 years ago
version 13
eded29f6
15 commits,
3 years ago
version 12
6c7f5e08
14 commits,
3 years ago
version 11
702c033c
13 commits,
3 years ago
version 10
8ec67061
12 commits,
3 years ago
version 9
b357b445
11 commits,
3 years ago
version 8
9d42aaec
10 commits,
3 years ago
version 7
7a720538
9 commits,
3 years ago
version 6
924eb2b0
8 commits,
3 years ago
version 5
67b569cc
6 commits,
3 years ago
version 4
c557c371
4 commits,
3 years ago
version 3
daf3f552
3 commits,
3 years ago
version 2
e57c1099
2 commits,
3 years ago
version 1
44d6bce3
1 commit,
3 years ago
Show latest version
3 files
+
37
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
package_manager/src/Stage.php
+
8
−
7
Options
@@ -41,13 +41,14 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
* before any such operations are done. A stage is claimed by presenting a
* unique token that is generated when the stage is created.
*
* Although a site can only have one staging area, it is possible, but unlikely,
* for privileged users to destroy a stage created by another user, then create
* their own, new stage. To prevent such situations from putting the file system
* into an indeterminate state, each staging area lives in its own directory
* with a randomly generated name. For additional cleanliness, all staging areas
* created by a specific site live in a single directory, called the "staging
* root" and identified by the site UUID, which is deleted when any stage
* Although a site can only have one staging area, it is possible for privileged
* users to destroy a stage created by another user. To prevent such actions
* from putting the file system into an uncertain state (for example, if a stage
* is destroyed by another user while it is still being created), the staging
* directory has a randomly generated name. For additional cleanliness, all
* staging directories created by a specific site live in a single directory,
* called the "staging root" and identified by the UUID of the current site
* (e.g. `/tmp/.package_managerSITE_UUID`), which is deleted when any stage
* created by that site is destroyed.
*/
class
Stage
{
@@ -512,7+513,7 @@
*
* @return string
* The absolute path of the directory where changes should be staged.
*
* @throws \LogicException
* If this method is called before the stage has been created or claimed.
*/
Loading