Bug 5802 - passing hiveconf object around is annoying
Summary: passing hiveconf object around is annoying
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-17 09:39 CET by Pierre Ossman
Modified: 2022-04-26 08:06 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2016-02-17 09:39:54 CET
We only have a single Hiveconf configuration tree so it's a bit annoying that we have to keep track of passing that object around, and having the same boilerplate for opening it everywhere.

One idea is to put a singleton in a module and have everything access the configuration that way (similar to how Python's logging module works).

Note You need to log in before you can comment on or make changes to this bug.