Way back in http://drupal.org/node/29344#comment-57796 morbus *tried* to fix our .htaccess file to prevent folks from seeing stuff in your CVS directories [1]. ;) However, he missed a few files, namely "Tag" (important) and "Template" (which we never use, so it'll always be empty, but still).

So, for example, anyone can see exactly what branch (and if folks checkout directly from release tags) exact version of drupal code you're running on any site deploying from CVS. for example:

http://drupal.org/CVS/Tag
http://drupal.org/modules/CVS/Tag
http://drupal.org/modules/project/CVS/Tag
http://scratch.drupal.org/modules/devel/CVS/Tag
...

This file will be empty on workspaces checked out from HEAD, but those will most likely be the exception, not the rule for drupal deployments from CVS.

Attached patch applies cleanly to HEAD, but fails in DRUPAL-4-7 (since we added "info"). I'll post a 4.7.x patch momentarily.

Thanks,
-Derek

[1] I'm just kidding... Morbus and I were joking in IRC... no offense intended. ;)

Comments

dww’s picture

StatusFileSize
new649 bytes

here's the 4.7 version

morbus iff’s picture

Status: Needs review » Reviewed & tested by the community

This patch is correct, but I'll only +1 if someone besides dww submits it. ;)

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

dww’s picture

Version: 5.x-dev » 4.7.x-dev
Status: Fixed » Reviewed & tested by the community

patch #1

killes@www.drop.org’s picture

Status: Reviewed & tested by the community » Fixed

applied

dww’s picture

Version: 4.7.x-dev » 4.6.x-dev
Status: Fixed » Reviewed & tested by the community
StatusFileSize
new601 bytes

dunno if anyone's still committing to 4.6.x, but if so, here's the patch. ;)
otherwise, please set this back to 4.7.x/fixed.
thanks,
-derek

killes@www.drop.org’s picture

Status: Reviewed & tested by the community » Fixed

applied

Anonymous’s picture

Status: Fixed » Closed (fixed)