Comments (8)
Is ~/.config/gomuks-logs/debug.log or same dir in ~/.cache a sensible enough place for this? Does it also make sense to deisable logging by default and start it only when user asks for it?
from gomuks.
/cc @tulir @alexmyczko
from gomuks.
Here's the spec for it: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
~/.config/state
from gomuks.
I wouldn't use .config
for log files. I would prefer .local/share
. IMO .config
should only contain config files, for instance ones that should be backed up. .local/share
seems more appropriate for random data. It is corresponding to the $XDG_DATA_HOME
in the page you linked @nileshpatra.
Also after reading this page it seems that you made a mistake, ~/.config/state
should be ~/.local/state
.
from gomuks.
from gomuks.
I found some time and have opened #430 to address these issues. I'd be great if I can get a review.
from gomuks.
Thanks for merging the PR and closing the bug. I had one ask -- would it be possible to cut a patch release at this point and update the debug docs to reflect the change in debug log thingy starting from the new version?
This is so because I could update the package to the new patch release in debian and it'd work. Otherwise, I'd have to backport this patch (not an issue) but users maybe confused to see a different behaviour than upstream in debian package for the same (0.3.0) version.
Please let me know what you think?
from gomuks.
Thanks for merging the PR and closing the bug. I had one ask -- would it be possible to cut a patch release at this point and update the debug docs to reflect the change in debug log thingy starting from the new version?
This is so because I could update the package to the new patch release in debian and it'd work. Otherwise, I'd have to backport this patch (not an issue) but users maybe confused to see a different behaviour than upstream in debian package for the same (0.3.0) version.
/cc: @tulir given that there have not been many commits (and breaking changes) since last release. Is this something you'd consider doing? I'd appreciate any response.
from gomuks.
Related Issues (20)
- `/toggle newline` doesn't change the functionality of `enter` or `alt`+`enter` HOT 1
- DATA RACE detected
- Notifications center
- Images do not open reliably across terminals
- [Feature request] Configure notifications per room HOT 2
- Unable to start v0.3.0 on Windows HOT 2
- VoIP support
- Nightly Linux x86: cannot execute HOT 1
- Init error: failed to initialize history: timeout HOT 4
- Crash on toggling the room list while gomuks is in a small terminal window
- Can't switch to room/users if they have the same name
- [feature] readline-like input controls HOT 1
- ueberzug/w3m for image rendering support? HOT 1
- Error: "Failed to fetch history"
- [feature] resend failed messages
- The state of multiple gomuks instances are synced
- Replies rendering as regular messages in some rooms
- Failed to send message:
- backspace erases entire words HOT 1
- Tag command
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 gomuks.