public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/14110] New: Use XDG dirs instead of $HOME
@ 2012-05-15  0:02 william.jon.mccann at gmail dot com
  2012-05-15 11:33 ` [Bug runtime/14110] " mjw at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: william.jon.mccann at gmail dot com @ 2012-05-15  0:02 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14110

             Bug #: 14110
           Summary: Use XDG dirs instead of $HOME
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap@sourceware.org
        ReportedBy: william.jon.mccann@gmail.com
    Classification: Unclassified


Seems to currently use ~/.systemtap. It would be better to use the locations
defined in the XDG Base Directory specification. 

https://live.gnome.org/GnomeGoals/XDGConfigFolders

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug runtime/14110] Use XDG dirs instead of $HOME
  2012-05-15  0:02 [Bug runtime/14110] New: Use XDG dirs instead of $HOME william.jon.mccann at gmail dot com
@ 2012-05-15 11:33 ` mjw at redhat dot com
  2012-05-15 13:24 ` william.jon.mccann at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mjw at redhat dot com @ 2012-05-15 11:33 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14110

Mark Wielaard <mjw at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjw at redhat dot com

--- Comment #1 from Mark Wielaard <mjw at redhat dot com> 2012-05-15 11:32:04 UTC ---
There seems to be already some support for XDG:

commit 6ac63adf14504a7a3fd156a5c274c5aa53cbdec0
Author: Lukas Berk <lukas@toomuchcaffeine.(none)>
Date:   Tue Jun 8 15:10:19 2010 -0400

    added the XDG_DATA_DIRS to session.cxx and the corresponding man changes as
specified in bug #11455

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug runtime/14110] Use XDG dirs instead of $HOME
  2012-05-15  0:02 [Bug runtime/14110] New: Use XDG dirs instead of $HOME william.jon.mccann at gmail dot com
  2012-05-15 11:33 ` [Bug runtime/14110] " mjw at redhat dot com
@ 2012-05-15 13:24 ` william.jon.mccann at gmail dot com
  2012-12-08 12:55 ` Heintzmann.Eric at free dot fr
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: william.jon.mccann at gmail dot com @ 2012-05-15 13:24 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14110

--- Comment #2 from william.jon.mccann at gmail dot com 2012-05-15 13:24:27 UTC ---
Yeah. Those are the system data dirs. Now we need support for the per-user
directories.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug runtime/14110] Use XDG dirs instead of $HOME
  2012-05-15  0:02 [Bug runtime/14110] New: Use XDG dirs instead of $HOME william.jon.mccann at gmail dot com
  2012-05-15 11:33 ` [Bug runtime/14110] " mjw at redhat dot com
  2012-05-15 13:24 ` william.jon.mccann at gmail dot com
@ 2012-12-08 12:55 ` Heintzmann.Eric at free dot fr
  2013-01-05 13:18 ` Heintzmann.Eric at free dot fr
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Heintzmann.Eric at free dot fr @ 2012-12-08 12:55 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14110

Eric Heintzmann <Heintzmann.Eric at free dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Heintzmann.Eric at free dot
                   |                            |fr

--- Comment #3 from Eric Heintzmann <Heintzmann.Eric at free dot fr> 2012-12-08 12:55:04 UTC ---
What is planned now about FreeDesktop XDG basedir specification for systemtap?


http://ploum.net/post/207-modify-your-application-to-use-xdg-folders
https://live.gnome.org/GnomeGoals/XDGConfigFolders
http://standards.freedesktop.org/basedir-spec/latest/

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug runtime/14110] Use XDG dirs instead of $HOME
  2012-05-15  0:02 [Bug runtime/14110] New: Use XDG dirs instead of $HOME william.jon.mccann at gmail dot com
                   ` (2 preceding siblings ...)
  2012-12-08 12:55 ` Heintzmann.Eric at free dot fr
@ 2013-01-05 13:18 ` Heintzmann.Eric at free dot fr
  2014-03-17 15:13 ` cristian.ciupitu at yahoo dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Heintzmann.Eric at free dot fr @ 2013-01-05 13:18 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=14110

--- Comment #4 from Eric Heintzmann <Heintzmann.Eric at free dot fr> 2013-01-05 13:18:18 UTC ---
According to XDG Base directory specification:
User data should go into $XDG_DATA_HOME (which default to ~/.local/share),
user preferences should go into $XDG_CONFIG_HOME (which default to ~/.config)
and cached data should go to $XDG_CACHE_HOME (which default to ~/.cache).
More details at :
http://ploum.net/post/207-modify-your-application-to-use-xdg-folders
https://live.gnome.org/GnomeGoals/XDGConfigFolders

Full specification can be found at: 
http://standards.freedesktop.org/basedir-spec/latest/

The Freedesktop.org XDG base directory specification have good de facto
adoption.
It has been adopted by:
- GNOME ( https://live.gnome.org/GnomeGoals/XDGConfigFolders )
- GTK+ ( https://bugzilla.gnome.org/show_bug.cgi?id=646631 )
- KDE (
http://techbase.kde.org/KDE_System_Administration/XDG_Filesystem_Hierarchy#Freedesktop.org_and_Standard_Directories
)
- QT (
http://harmattan-dev.nokia.com/docs/library/html/qt4/qsettings.html#setPath )
- XFCE ( http://docs.xfce.org/xfce/xfce4-session/advanced in Files and
Environment Variables )
- LXDE
- Razor-qt
- VLC ( https://trac.videolan.org/vlc/ticket/1267 )
- GStreamer ( https://bugzilla.gnome.org/show_bug.cgi?id=518597 )
- Chrome ( http://code.google.com/p/chromium/issues/detail?id=16976 )
- many more upstream applications
- Ubuntu ( http://brainstorm.ubuntu.com/idea/6557/ &
http://packages.ubuntu.com/fr/source/precise/libxdg-basedir )
- Debian ( http://packages.debian.org/squeeze/libxdg-basedir1 )
- Red Hat
- Fedora
- Suse
- many more distributions

I think that systemtap should use same locations than the vast majority of
Desktop environment and applications.


There are real advantages of following this specification :
- a lot less cluttered $HOME
- Make backups a lot more safer and easier.
  Backuping your $XDG_DATA_HOME along with your files is enough 
  (or just excluding $XDG_CACHE_HOME)
- A lot easier to reset a default configuration if you want/need it (and 
  without any risk to loose informations). Even for the software itself 
  could choose to reset $XDG_CONFIG_HOME if needed.
- Avoid some strange bugs that happens because you had a old version of 
  some configuration file
- A lot more of flexibility and portability because no path are hardcoded.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug runtime/14110] Use XDG dirs instead of $HOME
  2012-05-15  0:02 [Bug runtime/14110] New: Use XDG dirs instead of $HOME william.jon.mccann at gmail dot com
                   ` (3 preceding siblings ...)
  2013-01-05 13:18 ` Heintzmann.Eric at free dot fr
@ 2014-03-17 15:13 ` cristian.ciupitu at yahoo dot com
  2017-10-11 10:44 ` mark at klomp dot org
  2017-10-11 10:49 ` mjw at fedoraproject dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cristian.ciupitu at yahoo dot com @ 2014-03-17 15:13 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=14110

Cristian Ciupitu <cristian.ciupitu at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cristian.ciupitu at yahoo dot com

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug runtime/14110] Use XDG dirs instead of $HOME
  2012-05-15  0:02 [Bug runtime/14110] New: Use XDG dirs instead of $HOME william.jon.mccann at gmail dot com
                   ` (4 preceding siblings ...)
  2014-03-17 15:13 ` cristian.ciupitu at yahoo dot com
@ 2017-10-11 10:44 ` mark at klomp dot org
  2017-10-11 10:49 ` mjw at fedoraproject dot org
  6 siblings, 0 replies; 8+ messages in thread
From: mark at klomp dot org @ 2017-10-11 10:44 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=14110

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug runtime/14110] Use XDG dirs instead of $HOME
  2012-05-15  0:02 [Bug runtime/14110] New: Use XDG dirs instead of $HOME william.jon.mccann at gmail dot com
                   ` (5 preceding siblings ...)
  2017-10-11 10:44 ` mark at klomp dot org
@ 2017-10-11 10:49 ` mjw at fedoraproject dot org
  6 siblings, 0 replies; 8+ messages in thread
From: mjw at fedoraproject dot org @ 2017-10-11 10:49 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=14110

Mark Wielaard <mjw at fedoraproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|mjw at fedoraproject dot org       |

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-10-11 10:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-15  0:02 [Bug runtime/14110] New: Use XDG dirs instead of $HOME william.jon.mccann at gmail dot com
2012-05-15 11:33 ` [Bug runtime/14110] " mjw at redhat dot com
2012-05-15 13:24 ` william.jon.mccann at gmail dot com
2012-12-08 12:55 ` Heintzmann.Eric at free dot fr
2013-01-05 13:18 ` Heintzmann.Eric at free dot fr
2014-03-17 15:13 ` cristian.ciupitu at yahoo dot com
2017-10-11 10:44 ` mark at klomp dot org
2017-10-11 10:49 ` mjw at fedoraproject dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).