Problem/Motivation
Implement addDotGitFolder in package_manager/tests/src/Traits/FixtureUtilityTrait.php which
accepts a path where we want to create a .git folder.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork automatic_updates-3335802
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
omkar.podey commentedComment #3
omkar.podey commentedComment #4
omkar.podey commentedComment #5
omkar.podey commentedComment #7
omkar.podey commentedAdded an unnecessary doc block will remove it once the tests pass.
Comment #8
wim leersThis blocks #3315834: GitExcluder should not ignore .git directories that belong to packages installed by Composer, so matching priority.
Comment #9
wim leersRequested one small piece of extra test coverage 🤓
Comment #10
omkar.podey commentedComment #11
wim leersBeautifully clear and elegant merge request, with very clear test coverage too — and indeed good call to use
FixtureManipulatorinstead of(Active|Stage)FixtureManipulator— both of those are just very thin wrappers aroundFixtureManipulatorthat merely add guarantees that they were indeed applied to active/stage dir respectively 👍Let's get this in!
Comment #13
omkar.podey commentedI found a bug while making it work with #3315834: GitExcluder should not ignore .git directories that belong to packages installed by Composer push fix + test extension
Comment #14
tedbow@omkar.podey 1 more test change needed
Comment #15
omkar.podey commentedComment #16
wim leersNice improvement 😊🚢
Comment #18
tedbowGreat!