After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761391 - ctags: generated ctags should be placed in subdirectory
ctags: generated ctags should be placed in subdirectory
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-01 11:01 UTC by Christian Hergert
Modified: 2016-02-18 22:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ctags: place generated ctags in a subdirectory (1.72 KB, patch)
2016-02-17 21:08 UTC, Megh Parikh
none Details | Review
ctags: place generated ctags in a subdirectory (3.01 KB, patch)
2016-02-18 11:28 UTC, Megh Parikh
none Details | Review
ctags: place generated ctags in a subdirectory (3.01 KB, patch)
2016-02-18 11:36 UTC, Megh Parikh
committed Details | Review

Description Christian Hergert 2016-02-01 11:01:51 UTC
Currently, when not using automake, we generate ctags and place them in:

 ~/.cache/gnome-builder/<Project Name>/tags

This is sort of improper, as it makes the ~/.cache/gnome-builder directory pretty cluttered with project stuff. I'd rather have:

 ~/.cache/gnome-builder/tags/<Project Name>.tags

This should be updated in the plugins/ctags/ plugin.
Comment 1 Megh Parikh 2016-02-17 21:08:25 UTC
Created attachment 321547 [details] [review]
ctags: place generated ctags in a subdirectory

This would avoid cluttering of the cache directory with project related stuff
Comment 2 Christian Hergert 2016-02-17 21:53:25 UTC
Review of attachment 321547 [details] [review]:

Looks good, but can you update this patch to change ide-ctags-builder.c to generate the same path?
Comment 3 Megh Parikh 2016-02-18 11:28:51 UTC
Created attachment 321579 [details] [review]
ctags: place generated ctags in a subdirectory

This would avoid cluttering of the cache directory with project related stuff
Comment 4 Megh Parikh 2016-02-18 11:36:34 UTC
Created attachment 321581 [details] [review]
ctags: place generated ctags in a subdirectory

This would avoid cluttering of the cache directory with project related stuff
Comment 5 Megh Parikh 2016-02-18 11:38:38 UTC
Sorry for the earlier comments, I was doing them from my old email account
Comment 6 Christian Hergert 2016-02-18 22:01:37 UTC
Comment on attachment 321581 [details] [review]
ctags: place generated ctags in a subdirectory

Thanks! LGTM
Comment 7 Christian Hergert 2016-02-18 22:02:11 UTC
I pushed a few followup commits, because when testing this I realized I broke ctags building for the fallback (directory) build system!