Skip to content

[Feature Request] Do not track single-file must-use plugins #755

Open
@hirasso

Description

Summary

I just noticed that single-file mu-plugins made it into my version control. This stems from the entry in .gitignore:

https://github.com/roots/bedrock/blob/c20a9dc02aef36b90ed0c6c51d895ce9fc3edde4/.gitignore#L4C1-L4C22

A more sensible suggestion could be this, if bedrock-autoloader.php really needs to be tracked in git:

web/app/mu-plugins/*
!web/app/mu-plugins/bedrock-autoloader.php

Actually – is it really necessary that the bedrock-autoloader is checked in? It's listed as a composer dependency, after all... maybe it's because it doesn't know where it should install itself?

Additional context

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions