bugWeeChat - Bugs: bug #41397, Follow XDG specifications for...

 
 

bug #41397: Follow XDG specifications for config/data files

Submitted by:  None
Submitted on:  Thu 30 Jan 2014 12:42:11 AM UTC  
 
Category: config fileSeverity: 3 - Normal
Item Group: NoneStatus: Duplicate
Privacy: PublicAssigned to: None
Originator Name: Ram-ZOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 0.4.2
IRC nick: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 30 Jan 2014 06:48:41 AM UTC, comment #1:

Hi,

This is not a bug, but a task, and it's duplicate of task #10934
Please complete this task if you have extra things to add, I'm closing this bug, thanks!

Sebastien Helleu <flashcode>
Project Administrator
Thu 30 Jan 2014 12:42:11 AM UTC, original submission:

I think weechat should follow the xdg specifications for config files [0], i.e. look for config files in the following locations, in that order:
1. $XDG_CONFIG_HOME/weechat (if XDG_CONFIG_HOME is set)
2. $HOME/.config/weechat
3. $HOME/.weechat (for backward compatibility)

If none of the above exist, the new config folder should be created in:
1. $XDG_CONFIG_HOME/weechat (if XDG_CONFIG_HOME is set)
2. $HOME/.config/weechat
and not in $HOME/.weechat

To go one step further, plugins (lua, perl, etc folders) should probably be installed to:
1. $XDG_DATA_HOME/weechat (if XDG_DATA_HOME is set)
2. $HOME/.local/share/weechat

[0] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Jan 2014 06:48:41 AM UTCflashcodeStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1