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.
I'm tracking 4 things in my test site: 3 variables and 1 content type. That's what shows in the Tracking tab. But when I go to the console and do: "drush cexp --all" it exports all the files that are not being tracked.
Is this expected?
The help command reads:
drush cexp --all Export all tracked components
Comment | File | Size | Author |
---|---|---|---|
#3 | configuration-2386017-3-export-tracked-only.patch | 2.09 KB | milesw |
Comments
Comment #1
milos.kroulik CreditAttribution: milos.kroulik commentedComment #2
milesw CreditAttribution: milesw commentedSame issue here.
Comment #3
milesw CreditAttribution: milesw commentedHere is a patch to allow only tracked config to be exported.
There are now two different flags,
--all
and--all-tracked
.Comment #5
milesw CreditAttribution: milesw commentedI don't think #3 is working properly. It's touching only tracked configuration, but doesn't seem to be capturing changes from the ActiveStore.
Comment #6
cthos CreditAttribution: cthos at Acquia commentedThis seems to be working fine for me, and applied cleanly against -dev.
Edit: I take that back, it doesn't appear to be writing a new hash to tracked.inc, which is causing the cgt command to report stuff is being overridden. --start-tracking seems to be the only way to tell it to write to the tracking file?