Shubham Tholiya
03/27/2025, 7:56 AMShubham Tholiya
03/27/2025, 8:04 AMErik Osterman (Cloud Posse)
03/27/2025, 11:21 AMShubham Tholiya
03/27/2025, 11:24 AMErik Osterman (Cloud Posse)
03/27/2025, 11:27 AMErik Osterman (Cloud Posse)
03/27/2025, 11:27 AMShubham Tholiya
03/27/2025, 11:28 AMAndriy Knysh (Cloud Posse)
03/27/2025, 12:48 PMShubham Tholiya
03/27/2025, 12:48 PMShubham Tholiya
03/27/2025, 7:57 PMbase-path flag. This flag is not in the help section of atmos --help
Was this on purpose? I don't think so.
But i guess then this migration is helping us in making this more streamline 🙂Erik Osterman (Cloud Posse)
03/27/2025, 8:00 PMErik Osterman (Cloud Posse)
03/27/2025, 8:01 PMShubham Tholiya
03/27/2025, 8:01 PMShubham Tholiya
03/27/2025, 8:08 PMAndriy Knysh (Cloud Posse)
03/27/2025, 8:10 PMShubham Tholiya
03/27/2025, 8:11 PMShubham Tholiya
03/27/2025, 8:13 PMHow can we avoid these kinds of shadow args from entering into cobra?This was hidden because we used to manually process args so it made it work even without adding it to cobra. Anyway now that we are centralizing this would be solved 🙂
Shubham Tholiya
03/27/2025, 8:40 PMstacks:
# Can also be set using 'ATMOS_STACKS_BASE_PATH' ENV var, or '--config-dir' and '--stacks-dir' command-line arguments
# Supports both absolute and relative paths
base_path: "stacks"
Why do we have two flags that do the same thing?
is it really necessary?Andriy Knysh (Cloud Posse)
03/27/2025, 9:28 PMAndriy Knysh (Cloud Posse)
03/27/2025, 9:29 PMShubham Tholiya
03/27/2025, 9:42 PMErik Osterman (Cloud Posse)
03/27/2025, 11:35 PM--config-dir. Also, we should use stacks-base-path for consistency (and mark the other flag as deprecated)Shubham Tholiya
03/28/2025, 10:55 PMcueBasePath := os.Getenv("ATMOS_SCHEMAS_CUE_BASE_PATH")
if len(cueBasePath) > 0 {
log.Debug("Set atmosConfig.Schemas[\"cue\"] using ENV", "ATMOS_SCHEMAS_CUE_BASE_PATH", cueBasePath)
atmosConfig.Schemas["cue"] = schema.ResourcePath{
BasePath: cueBasePath,
}
}
I did not find any cue reference... looks like this one needs cleaning as wellAndriy Knysh (Cloud Posse)
03/28/2025, 11:00 PMAndriy Knysh (Cloud Posse)
03/28/2025, 11:01 PM