-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use XDG dirs spec for data/config #89
Comments
Thank you for input. I will rearrange ~/.ctags.d to conform the specification. |
to be honest with you i'm not a big fan of xdg. what is the advantage of having that dependency and breaking every tool that is using .ctagsrc? |
We can always do a small check for the presence of that file, it wouldn't |
fishman-ctags has enough ability to deal multiple directories. Its design is inspired from systemd. Two problems are.
Anyway, this is important. We have to fix the directory structure before fishman-ctags becomes too popular. Please, look at hacking guide. Currently fishman/ctags deals with 3 types of directory:
In addtion I plans
Question is should we permit an user to override executables bundled as part of fishman/ctags? /usr/libexec/ctags/drivers/conffetag, an executable, is installed as part of fishman-ctags. Till yesterday, I believed user may want. However, no directory for executables are defined in XDG spec. Though I want to fix the directory structure before preparing a rpm package, we need more feedbacks from users about the current directory structure I designed and implemented...we may have to delay the decision. |
For executables and things like that it might make the most sense to follow this: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html |
i don't think we should deliberately follow systemd design just because. there are certain things that are nice in it, but not all of it is. |
@majutsushi thank you for input. |
Sorry for the noise. Just switching the "Release blocker" tag for the "Initial release" milestone so that everything is tracked in one place. |
xcmd is gone. Therefore this issue is much simplified. One of the candidate is ~/.u-ctags.d/ directory or XDG base dir spec mentioned here. I must solve this issue before updating the man pages. |
I would like to remove /etc/ctags( and ctagd.d). It is also shared with the both implementations. |
Temporary I decide not introducing XDG dir. |
It would have been nice to go with the XDG spec when moving config to |
Very much agreed with @blueyed . After reading the long discussion at #1519 I'm completely confused about why a new directory was chosen, it doesn't follow XDG conventions, and the same path can't be used for Windows...? BTW creating a dot-prefixed directory in Windows is not difficult. Anyone using ctags knows how to use the shell to do so; why would they use Explorer...? |
If |
@cweagans same here. If XDG is a given there's no point in keeping the .d |
@dsifford, you can reopen it, of coruse. However, I will not work on the item till releasing. I don't want to take my time for impriving ctags more for this item. |
Reopening in case someone wants to tackle it. |
It seems that the answer is yes.
|
This is fine. XDG is mostly a cargo cult and often misunderstood by developers in how it should be implemented. If you have just a simple config I'd say look at both
|
As we merged #3972, the issue is solved. |
It would be great if the configuration and other data used by fishman-ctags used the XDG base dir spec instead of putting everything into the home directory. This would keep it in line with other more modern software and would prevent polluting the home directory.
The text was updated successfully, but these errors were encountered: