Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439240 - portage: .gitignore: ignore tags file if present in "/"
Summary: portage: .gitignore: ignore tags file if present in "/"
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: Normal trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2012-10-22 09:30 UTC by Greg Turner
Modified: 2012-10-23 02:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
.gitignore tags file in "/" (portage_gitignore_ignore_tags.patch,378 bytes, patch)
2012-10-22 09:30 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Turner 2012-10-22 09:30:03 UTC
pretty trivial but a nice touch imo

Reproducible: Always
Comment 1 Greg Turner 2012-10-22 09:30:54 UTC
Created attachment 327136 [details, diff]
.gitignore tags file in "/"
Comment 2 Zac Medico gentoo-dev 2012-10-22 23:40:09 UTC
Can you explain what the purpose of this "tags" file is? I've never used it myself.
Comment 3 Greg Turner 2012-10-23 02:06:38 UTC
The various versions of ctags (exuberant-ctags was the de-facto standard last time I checked) generate this file if you issue the command "ctags".

These programs analyse your source-code (in the case of portage, ctags parses the python and bash-script code), and generate an index which is stored in the "tags" file.

Once that file is created, it allows developers in vim and emacs to jump easily from a function invocation statement to the corresponding function declaration; a stack of such jumps is typically kept in memory, so that you can get back to where you were easily.  I suspect the tags file is also used to enable "syntax-completion" although I've never looked into that myself.

In effect, it bridges much of the gap between popular UNIX text editors and the fancy fatware IDE's most Windows programmers use.