Code Monkey home page Code Monkey logo

Comments (8)

nileshpatra avatar nileshpatra commented on August 24, 2024 1

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.

nileshpatra avatar nileshpatra commented on August 24, 2024

/cc @tulir @alexmyczko

from gomuks.

nileshpatra avatar nileshpatra commented on August 24, 2024

Here's the spec for it: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
~/.config/state

from gomuks.

n-peugnet avatar n-peugnet commented on August 24, 2024

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.

nileshpatra avatar nileshpatra commented on August 24, 2024

from gomuks.

nileshpatra avatar nileshpatra commented on August 24, 2024

I found some time and have opened #430 to address these issues. I'd be great if I can get a review.

from gomuks.

nileshpatra avatar nileshpatra commented on August 24, 2024

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.

nileshpatra avatar nileshpatra commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.