Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9337594
D1066.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
432 B
Subscribers
None
D1066.diff
View Options
diff --git a/swh/core/config.py b/swh/core/config.py
--- a/swh/core/config.py
+++ b/swh/core/config.py
@@ -338,6 +338,8 @@
if config_filename:
config_filenames = [config_filename]
+ elif 'SWH_CONFIG_FILENAME' in os.environ:
+ config_filenames = [os.environ['SWH_CONFIG_FILENAME']]
else:
if not base_filename:
base_filename = cls.CONFIG_BASE_FILENAME
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 8:10 AM (10 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221347
Attached To
D1066: Allow to override config file name via the SWH_CONFIG_FILENAME env var
Event Timeline
Log In to Comment