Comments (7)
I see the point. But I'm a little bit hesitant to do this change as the plan is to include more data in that directory: Plugins subdirectory to allow custom user plugins, data for the local log plugin and possibly others. They do not fit all under the config umbrella. Plus it makes sense to keep them nicely together as they are closely related.
from did.
I also don't see a strong reason to move to ~/.config or ~/.local
On Wed, Sep 23, 2015 at 12:21 PM, Petr Šplíchal [email protected]
wrote:
I see the point. But I'm a little bit hesitant to do this change as the
plan is to include more data in that directory: Plugins subdirectory to
allow custom user plugins, data for the local log plugin and possibly
others. They do not fit all under the config umbrella. Plus it makes sense
to keep them nicely together as they are closely related.—
Reply to this email directly or view it on GitHub
#43 (comment).
from did.
I see the point. But I'm a little bit hesitant to do this change as the plan is to include more data in that directory: Plugins subdirectory to allow custom user plugins, data for the local log plugin and possibly others. They do not fit all under the config umbrella. Plus it makes sense to keep them nicely together as they are closely related.
Sure, then what’s wrong with ~/.config/did/
directory? I think putting non-config file there is not that big heresy (of course, they should go in the ideal world to ~/.local/share/did/
). Ideal is to use pyxdg, but yes that's additional dependency.
from did.
although, the more I think about it... i also don't have strong feelings against it either. It would seem to keep things more organized.
Splitting config to ~/.config/did and non-config stuff to ~/.local/share/did/ seems to add a level of complication that we'd want to avoid; seems more effort than it is a bother to just use ~/.did/
Do we want to ever maintain support for non-linux environments? Seems like path decision might impact this... just food for thought though, I haven't had time to chew it. :)
from did.
Do we want to ever maintain support for non-linux environments? Seems like path decision might impact this... just food for thought though, I haven't had time to chew it. :)
The only real advantage of pyxdg
package is availability of XDG paths on Windows (or Mac OS X, I don’t know what's the situation there). You really don’t want to deal with those crazy paths on Windows! However, if we don't care about compatibility than just strings ~/.config/did/
, ~/.cache/did/
(if we have any cache files), and ~/.local/share/did/
should be enough.
from did.
I don't think it's worth separating the files into two or more directories, I like short paths and I don't find hidden files in home directory in any way obstructing. For those who prefer to keep the home directory clean the DID_CONFIG
variable represents an easy way how to use a different location. I've adjusted docs to make this even more straightforward.
from did.
Actually, DID_CONFIG
is pretty good for fix, I guess. So, you have really not WONTFIX
ed it? ;) Thank you
from did.
Related Issues (20)
- Enhancement: configurable first day of the week HOT 1
- git plugin doesn't pull before fetching logs HOT 1
- plugins: gerrit: Deprecation Warning: FancyURLopener
- `did last friday` - only friday supported? HOT 1
- Filter git reporting by type? HOT 5
- GitLab tasks cause an exception HOT 4
- [RFE] plugin for `patchwork` HOT 2
- Allow to report created github releases HOT 7
- Fedora 39 failure due to Python 3.12 changes HOT 1
- Gitea Support HOT 1
- Github "issues commented" includes comments by other users HOT 4
- Directory with many Git repositories isn't recognized HOT 1
- Show whether a Jira ticket got covered by a test HOT 1
- confluence plugin wrongly hint to try `kinit` when `auth_url` lead to a non existent page
- Need a New Release HOT 1
- Invalid plugin type 'jira' in section 'issues'. HOT 3
- Git plugin fails on merges in `--verbose` mode HOT 1
- Add `did` to brew repo HOT 2
- Merge is not working for github HOT 1
- Too recent GitHub pull requests included HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from did.