Devel 6.x-1.24 contains a devel/.gitignore ignore file with the contents:

FirePHPCore*

I don't use FirePHP, but users that manage their sites via git and who do have FirePHP installed and want to keep it there may get find it suddenly stops being pushed to their own repositories.

I'm not really aware about a policy re including such a file in a package, but I don't think it's a good idea. That's a discussion for somewhere else, though.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Should modules have their libraries in sites/all/libraries? I don't understand why it's installing it in the module directory.

moshe weitzman’s picture

If libraries module is present then drush installs firePHP to sites/all/libraries. Otherwise, it installes within devel package.

Am willing to change this if there is an alternate consensus.

Dave Reid’s picture

Assigned: Unassigned » Dave Reid

Writing patch to install to sites/all/libraries even if libraries.module is not enabled as that is reasonable before last-resorting to module directory...

drew reece’s picture

I just spotted this .gitignore file.

Should modules be excluding files from peoples repo's? Is there best practice on this for Drupal? It seems to me like it should be 'repo/info/exclude'ed per repository so that it doesn't get distributed to all users.

joachim’s picture

Subscribing.

> Should modules be excluding files from peoples repo's?

I'm not terribly keen on a module making decisions about what I do with my project's git repo...

At the very least, if there's a very good reason for it, the .gitignore file should contain a comment explaining this very good reason.

lunatic’s picture

Hi,

I am attaching a patch that "cleans" the .gitignore file

I needed to include such a patch to my makefiles so as not to have to remove the devel's gitignore every time I was building my platform that was causing my git repo to include unnecessary files

DamienMcKenna’s picture

Version: 6.x-1.24 » 8.x-1.x-dev
Status: Active » Needs review
FileSize
172 bytes

How about just removing the .gitignore file entirely?

DamienMcKenna’s picture

FYI the patch in #7 should apply to all branches.

pcambra’s picture

Assigned: Dave Reid » moshe weitzman

I'm up to not provide default .gitignore files, checking with Moshe :)

eloivaque’s picture

the patch of #7 it's working for me. The patch deleted the git ignore file.

commonpike’s picture

The update manager refused to copy the dir because of .gitignore (debian) - left me alone halfway installation. everything had copied over except for the .info file. if that happens on more machines i would say its not minor ...

DamienMcKenna’s picture

Can someone please RTBC this?

cafuego’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Sure :-)

DamienMcKenna’s picture

Thanks! That's one more RTBC for the next release.

salvis’s picture

Assigned: moshe weitzman » Unassigned
Status: Reviewed & tested by the community » Fixed

Pushed to D8 and D7. Thanks.

Status: Fixed » Closed (fixed)

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