You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per 26f80d2 enabling shallow cloning of a bower component requires that a .bowerrc file exist, and that the file white lists the git repository host.
The change was required because of issues with GitHub Enterprise and RhodeCode (As documented on #1764).
Therefore, projects that are on neither host are required to expend resources training their community to setup a .bowerrc file, or add .bowerrc files to their projects, because of an issue in a SCM they don't even use.
Therefore, could the behavior be swapped in the next major release of Bower such that shallow cloning, using the HTTP header, is on by default, and that users of misbehaving SCMs must black list their hosts in a .bowerrc file?
The text was updated successfully, but these errors were encountered:
@sheerun that's why I mentioned a major release. I believe this change must wait until the next major release to ensure we don't break any existing workflows.
However, I do believe the behavior should be flipped as part of the next major release. I also believe that users of misbehaving hosts should be expected to disable the shallow clone feature as needed.
Personally, adding --beta is only marginally better since it still requires intervention on the part of a developer that wants to take advantage of shallow cloning.
As per 26f80d2 enabling shallow cloning of a bower component requires that a
.bowerrc
file exist, and that the file white lists the git repository host.The change was required because of issues with GitHub Enterprise and RhodeCode (As documented on #1764).
Therefore, projects that are on neither host are required to expend resources training their community to setup a
.bowerrc
file, or add.bowerrc
files to their projects, because of an issue in a SCM they don't even use.Therefore, could the behavior be swapped in the next major release of Bower such that shallow cloning, using the HTTP header, is on by default, and that users of misbehaving SCMs must black list their hosts in a
.bowerrc
file?The text was updated successfully, but these errors were encountered: