Displaying 20 results from an estimated 32 matches for "xdg_config_home".
2011 Apr 10
1
[fdo] $XDG_CONFIG_HOME/vcsd/config.d vs $XDG_CONFIG_HOME/vcsd.d
Dear all,
I am wondering if there are any best practices when you need a
subdirectory in a program's config namespace. Basically, I have two
choices:
$XDG_CONFIG_HOME/vcsd/config.d
$XDG_CONFIG_HOME/vcsd.d
I think I am leaning towards the latter, but I would prefer going
after established best practices. FWIW, the latter option follows what
is done in /etc by most programs.
In case there is no standard yet, I would like to try and find consensus.
Thanks,
Ri...
2017 Apr 04
2
[PATCH v2] builder: Don't hard-code /etc for configuration files.
...ure --sysconfdir setting.
---
builder/paths.ml | 2 +-
mllib/guestfs_config.ml.in | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/builder/paths.ml b/builder/paths.ml
index cbd9d4bd0..d7c4820bf 100644
--- a/builder/paths.ml
+++ b/builder/paths.ml
@@ -35,7 +35,7 @@ let xdg_config_home () =
let xdg_config_dirs () =
let dirs =
try Sys.getenv "XDG_CONFIG_DIRS"
- with Not_found -> "/etc/xdg" in
+ with Not_found -> Guestfs_config.sysconfdir // "xdg" in
let dirs = String.nsplit ":" dirs in
let dirs = List.filter (fun x...
2021 Jan 02
6
[Bug 3246] New: Include directive doesn't support variable expansion
...Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: guilhem at fripost.org
Please consider expanding environment variables (feature request from
bug 3140) in the Include directive as well. This would allow one to
use:
Include ${XDG_CONFIG_HOME}/ssh/*.conf
(As of 8.4p1 the glob resolves ? as documented ? to
~/.ssh/${XDG_CONFIG_HOME}/ssh/*.conf.)
--
You are receiving this mail because:
You are watching the assignee of the bug.
2014 Feb 27
2
Re: [PATCH 5/8] builder: switch sources to .conf files
On Tue, Feb 25, 2014 at 05:29:10PM +0100, Pino Toscano wrote:
> Introduce and use simple .conf files to configure the sources of indexes
> for virt-builder. The location of these files is in XDG_CONFIG_DIRS /
> XDG_CONFIG_HOME, so it can be easily overridden.
>
> There are three .conf(.in) files shipped with this commit:
> - "test-index.conf.in" (in "test-config"), which points to the
> "test-index" index (used in tests only); the tests are adapted to
> point to the hiera...
2012 Dec 08
20
[Bug 2050] New: Support XDG basedir specification
https://bugzilla.mindrot.org/show_bug.cgi?id=2050
Bug ID: 2050
Summary: Support XDG basedir specification
Classification: Unclassified
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: Miscellaneous
2017 Oct 18
3
gdevilspie on mate
Hello,
On Tue, 17 Oct 2017 22:11:22 +0000 Ian Mortimer <i.mortimer at uq.edu.au> wrote:
> On Tue, 2017-10-17 at 12:29 -0400, H wrote:
>
> > Do you know if it is supposed to work with the Mate desktop or just
> > Gnome?
>
> I don't know but with the dependencies installed and the fix of
> commenting out line 374, it starts on MATE.
>
> A couple of
2014 Feb 25
12
[PATCH 0/8] virt-builder: use .conf files for configuration
Hi,
attached there is a serie of patches that completes the work on making
virt-builder use .conf files, shipped in XDG directories, to configure
all the available sources of indexes used.
This also removes the hardcoded default location, replaced now with a
configuration file (which may be not used at all).
Thanks,
Pino Toscano (8):
builder: allow "no key" as key in Sigchecker
2024 Feb 01
1
Request: Add XDG Base Directory paths as fallback locations
...irectories either, as it may simply prioritise and continue to create the existing ~/.ssh directory.
The approach I'm suggesting is one that plenty of long-standing software has taken up in order to provide the opt-in approach of XDGBDS support. Notably, Git provides such a fallback option in $XDG_CONFIG_HOME/git/config in place of the default ~/.gitconfig, as does GNU Emacs among others. More recently, even Bash has warmed up to the idea despite initially being opposed to the suggestion to change the locations of ~/.bash_profile and ~/.bashrc, as can be seen at https://savannah.gnu.org/support/?108134....
2017 Apr 04
0
[PATCH] builder: Don't hard-code /etc for configuration files.
...ure --sysconfdir setting.
---
builder/paths.ml | 2 +-
mllib/guestfs_config.ml.in | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/builder/paths.ml b/builder/paths.ml
index cbd9d4bd0..9ce8504a1 100644
--- a/builder/paths.ml
+++ b/builder/paths.ml
@@ -35,7 +35,7 @@ let xdg_config_home () =
let xdg_config_dirs () =
let dirs =
try Sys.getenv "XDG_CONFIG_DIRS"
- with Not_found -> "/etc/xdg" in
+ with Not_found -> Guestfs_config.sysconfdir ^ "/xdg" in
let dirs = String.nsplit ":" dirs in
let dirs = List.filter (fun x...
2017 Apr 06
0
Re: [PATCH v2] builder: Don't hard-code /etc for configuration files.
...aths.ml | 2 +-
> mllib/guestfs_config.ml.in | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/builder/paths.ml b/builder/paths.ml
> index cbd9d4bd0..d7c4820bf 100644
> --- a/builder/paths.ml
> +++ b/builder/paths.ml
> @@ -35,7 +35,7 @@ let xdg_config_home () =
> let xdg_config_dirs () =
> let dirs =
> try Sys.getenv "XDG_CONFIG_DIRS"
> - with Not_found -> "/etc/xdg" in
> + with Not_found -> Guestfs_config.sysconfdir // "xdg" in
Hmm... the XDG basedir spec says [1]:
"If $XDG_CON...
2024 Feb 02
1
Adding XDG BDS paths *as fallbacks only*, not replacing ~/.ssh
...either, as it may simply prioritise and continue to create the existing ~/.ssh directory.
>
> The approach I'm suggesting is one that plenty of long-standing software has taken up in order to provide the opt-in approach of XDGBDS support. Notably, Git provides such a fallback option in $XDG_CONFIG_HOME/git/config in place of the default ~/.gitconfig, as does GNU Emacs among others. More recently, even Bash has warmed up to the idea despite initially being opposed to the suggestion to change the locations of ~/.bash_profile and ~/.bashrc, as can be seen at https://savannah.gnu.org/support/?108134....
2017 Nov 29
1
[PATCH] builder: use the template arch when caching all templates
...ecksum[sha512]=$img1_csum
+revision=1
+
+[img2]
+name=img2
+file=$(basename "$img2_path")
+arch=aarch64
+size=$img2_size
+checksum[sha512]=$img2_csum
+revision=3
+EOF
+
+# Create the repository.
+cat > "$reposdir/repo1.conf" <<EOF
+[repo1]
+uri=$indexfile
+EOF
+
+export XDG_CONFIG_HOME=
+export XDG_CONFIG_DIRS="$tmpdir"
+export XDG_CACHE_HOME="$cachedir"
+
+short_list=$($VG virt-builder --no-check-signature --no-cache --list)
+
+if [ "$short_list" != "img1 x86_64 img1
+img2 aarch64 img2" ]; the...
2015 Aug 14
2
Build R on Haiku
...t SED="/bin/sed"
export SHLVL="7"
export TERM="xterm"
export TTY="/dev/tt/p1"
export TTYPE="UTF-8"
export USER="user"
export XDG_CACHE_HOME="/boot/home/config/cache"
export XDG_CONFIG_DIRS="/boot/system/settings"
export XDG_CONFIG_HOME="/boot/home/config/settings"
export XDG_DATA_DIRS="/boot/system/non-packaged/data:/boot/system/data"
export XDG_DATA_HOME="/boot/home/config/non-packaged/data"
Error in .Call(PS_sigs, 1L) :
first argument must be a string (of length 1) or native symbol reference
Erro...
2014 Sep 23
0
[PATCH 10/13] syntax-check: fix prohibit_test_minus_ao check
...e 2 && $r -ne 3 ]; then
exit $r
fi
diff --git a/builder/test-virt-builder-planner.sh b/builder/test-virt-builder-planner.sh
index f974c27..adf461e 100755
--- a/builder/test-virt-builder-planner.sh
+++ b/builder/test-virt-builder-planner.sh
@@ -24,7 +24,7 @@ abs_builddir=$(pwd)
export XDG_CONFIG_HOME=
export XDG_CONFIG_DIRS="$abs_builddir/test-config"
-if [ ! -f fedora.xz -o ! -f fedora.qcow2 -o ! -f fedora.qcow2.xz ]; then
+if [ ! -f fedora.xz || ! -f fedora.qcow2 || ! -f fedora.qcow2.xz ]; then
echo "$0: test skipped because there is no fedora.xz, fedora.qcow2 or fedora...
2015 Aug 31
0
Build R on Haiku
...HLVL="7"
> export TERM="xterm"
> export TTY="/dev/tt/p1"
> export TTYPE="UTF-8"
> export USER="user"
> export XDG_CACHE_HOME="/boot/home/config/cache"
> export XDG_CONFIG_DIRS="/boot/system/settings"
> export XDG_CONFIG_HOME="/boot/home/config/settings"
> export XDG_DATA_DIRS="/boot/system/non-packaged/data:/boot/system/data"
> export XDG_DATA_HOME="/boot/home/config/non-packaged/data"
> Error in .Call(PS_sigs, 1L) :
> first argument must be a string (of length 1) or native...
2020 Aug 15
2
unable to migrate non shared storage in tunneled mode
...bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin
\
HOME=/var/lib/libvirt/qemu/domain-4-alpinelinux3.8 \
USER=root \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-4-alpinelinux3.8/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-4-alpinelinux3.8/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-4-alpinelinux3.8/.config \
QEMU_AUDIO_DRV=none \
/usr/bin/qemu-system-x86_64 \
-name guest=alpinelinux3.8,debug-threads=on \
-S \
-object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-4-alpinelinux3.8/master-key.aes
\
-blockdev '{"driver&quo...
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
...sroot> and examine them using ordinary Linux
commands. You can also chroot into the guest to reinstall the
bootloader. The virt-rescue man page has a lot more information and
examples.
@@ -1061,12 +1061,12 @@ with the I<.conf> extension and located in the following paths:
=item *
$XDG_CONFIG_HOME/virt-builder/repos.d/ (C<$XDG_CONFIG_HOME> is
-C<$HOME/.config> if not set).
+F<$HOME/.config> if not set).
=item *
$XDG_CONFIG_DIRS/virt-builder/repos.d/ (where C<$XDG_CONFIG_DIRS>
-means any of the directories in that environment variable, or just C</etc/xdg>
+...
2015 Sep 07
0
[PATCH 4/4] builder: support Simple Streams v1.0 as index metadata
...License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+export LANG=C
+set -e
+
+abs_builddir=$(pwd)
+
+export XDG_CONFIG_HOME=
+export XDG_CONFIG_DIRS="$abs_builddir/test-simplestreams"
+
+short_list=$($VG virt-builder --no-check-signature --no-cache --list)
+
+if [ "$short_list" != "net.cirros-cloud:standard:0.3:i386 i386 cirros-0.3.4-i386
+net.cirros-cloud:standard:0.3:x86_64 x86_64 ci...