Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It seems to me that instead of
config
-- active_[hash]
-- staging_[hash]
We could just do
config_[hash]
-- active
-- staging
This would make the docs a lot easier to write, would be a bit more clear, and would potentially make synching between sites somewhat easier. From a security standpoint I don't see any difference between the two.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1821172-hash_directory_name.3.patch | 1001 bytes | spearhead93 |
Comments
Comment #1
gddComment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedi'll work on this.
Comment #3
spearhead93 CreditAttribution: spearhead93 commentedI've just moved the hash on the path creation.
Comment #4
alexpottTested locally. Looks good. Thanks for the work.
Comment #5
webchickLovely! This was uncovered as a "UX" problem (uh. 'Deployment Experience?') in #1697256-85: Create a UI for importing new configuration, and the end result is you now only have to keep track of two silly-ly named directories instead of 4 (or 6 or...) to do the standard recommended dev => prod deployment workflow.
Committed and pushed to 8.x.