Drush adds d.o-style .info information for my private modules, causing Drupal to then check Drupal.org for updates to them.

Not sure how best to proceed. Checking for update info on d.o for each module seems excessive. Possibly only do .info rewriting for modules that have default (d.o) git repos?

Comments

Only rewriting for d.o. seems like the way to go.

Version:7.x-5.8» 8.x-6.x-dev
Status:Active» Needs review
StatusFileSize
new871 bytes

Patch attached.

Status:Needs review» Active

It also causes git status and git diff to show changes in private repos when it's only the .info rewriting. It's a constant nuisance.

I was previously coming at this from the 7.x-5.x-dev version on #1890234: Do not override properties in .info files.

Status:Active» Needs review
StatusFileSize
new696 bytes

This should do the trick.

Status:Needs review» Reviewed & tested by the community

Yep. That seems adequate.

Assigned:Unassigned» jhedstrom

Status:Reviewed & tested by the community» Fixed

This was actually committed back in January (764ab31d).

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Does anyone think the patch from #5 might break automated build processes for peeps who rely on drush make *to* put the versions in their custom modules? Any particular reason this couldn't bale on an argument --no-gitinfofile?

This is dissappointing. A behavior change such as this, which break version based dependencies, seems inappropriate, especially at version 5.9.

Status:Closed (fixed)» Needs review

Status:Needs review» Closed (won't fix)
Issue tags:+needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.