You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:58:51 UTC

[buildstream] 02/06: _context.py: New default configuration file for BuildStream 2

This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch tristan/bst2-separation
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit c63ae8c6ee45c188696cf9e447136770fbdb6388
Author: Tristan Van Berkom <tr...@codethink.co.uk>
AuthorDate: Thu Apr 4 18:27:29 2019 +0900

    _context.py: New default configuration file for BuildStream 2
    
    Default to loading ~/.config/buildstream2.conf instead
    of ~/.config/buildstream.conf.
---
 buildstream2/_context.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/buildstream2/_context.py b/buildstream2/_context.py
index fffeea1..84ea8f3 100644
--- a/buildstream2/_context.py
+++ b/buildstream2/_context.py
@@ -184,11 +184,11 @@ class Context():
     @PROFILER.profile(Topics.LOAD_CONTEXT, "load")
     def load(self, config=None):
         # If a specific config file is not specified, default to trying
-        # a $XDG_CONFIG_HOME/buildstream.conf file
+        # a $XDG_CONFIG_HOME/buildstream2.conf file
         #
         if not config:
             default_config = os.path.join(os.environ['XDG_CONFIG_HOME'],
-                                          'buildstream.conf')
+                                          'buildstream2.conf')
             if os.path.exists(default_config):
                 config = default_config