Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package terragrunt for openSUSE:Factory 
checked in at 2025-10-09 15:06:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/terragrunt (Old)
 and      /work/SRC/openSUSE:Factory/.terragrunt.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "terragrunt"

Thu Oct  9 15:06:22 2025 rev:260 rq:1309892 version:0.89.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/terragrunt/terragrunt.changes    2025-10-08 
18:19:25.046735237 +0200
+++ /work/SRC/openSUSE:Factory/.terragrunt.new.11973/terragrunt.changes 
2025-10-09 15:08:54.172697378 +0200
@@ -1,0 +2,6 @@
+Thu Oct 09 05:11:07 UTC 2025 - Johannes Kastl 
<[email protected]>
+
+- Update to version 0.89.3:
+  * fix: Adding missing flags to the `hcl` command (#4927)
+
+-------------------------------------------------------------------

Old:
----
  terragrunt-0.89.2.obscpio

New:
----
  terragrunt-0.89.3.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ terragrunt.spec ++++++
--- /var/tmp/diff_new_pack.Ch00Nu/_old  2025-10-09 15:08:55.352747186 +0200
+++ /var/tmp/diff_new_pack.Ch00Nu/_new  2025-10-09 15:08:55.356747355 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           terragrunt
-Version:        0.89.2
+Version:        0.89.3
 Release:        0
 Summary:        Thin wrapper for Terraform for working with multiple Terraform 
modules
 License:        MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.Ch00Nu/_old  2025-10-09 15:08:55.492753096 +0200
+++ /var/tmp/diff_new_pack.Ch00Nu/_new  2025-10-09 15:08:55.496753265 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/gruntwork-io/terragrunt</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v0.89.2</param>
+    <param name="revision">v0.89.3</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Ch00Nu/_old  2025-10-09 15:08:55.540755122 +0200
+++ /var/tmp/diff_new_pack.Ch00Nu/_new  2025-10-09 15:08:55.544755291 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/gruntwork-io/terragrunt</param>
-              <param 
name="changesrevision">255ead175b7a82d8154a5503eaead684feeda30f</param></service></servicedata>
+              <param 
name="changesrevision">0317025e2fdecbed6cc3c90cba095e54fa37bc61</param></service></servicedata>
 (No newline at EOF)
 

++++++ terragrunt-0.89.2.obscpio -> terragrunt-0.89.3.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.89.2/cli/app_test.go 
new/terragrunt-0.89.3/cli/app_test.go
--- old/terragrunt-0.89.2/cli/app_test.go       2025-10-07 22:48:59.000000000 
+0200
+++ new/terragrunt-0.89.3/cli/app_test.go       2025-10-08 16:44:57.000000000 
+0200
@@ -15,6 +15,7 @@
        "github.com/gruntwork-io/terragrunt/cli/commands/run"
        "github.com/gruntwork-io/terragrunt/cli/flags"
        "github.com/gruntwork-io/terragrunt/cli/flags/global"
+       "github.com/gruntwork-io/terragrunt/cli/flags/shared"
        "github.com/gruntwork-io/terragrunt/config"
        clipkg "github.com/gruntwork-io/terragrunt/internal/cli"
        "github.com/gruntwork-io/terragrunt/internal/errors"
@@ -77,7 +78,7 @@
                },
 
                {
-                       args:            []string{"apply", 
doubleDashed(run.QueueIncludeExternalFlagName)},
+                       args:            []string{"apply", 
doubleDashed(shared.QueueIncludeExternalFlagName)},
                        expectedOptions: mockOptions(t, 
util.JoinPath(workingDir, config.DefaultTerragruntConfigPath), workingDir, 
[]string{"apply"}, false, "", false, true, defaultLogLevel, false),
                },
 
@@ -102,12 +103,12 @@
                },
 
                {
-                       args:            []string{"plan", 
doubleDashed(run.QueueIgnoreErrorsFlagName)},
+                       args:            []string{"plan", 
doubleDashed(shared.QueueIgnoreErrorsFlagName)},
                        expectedOptions: mockOptions(t, 
util.JoinPath(workingDir, config.DefaultTerragruntConfigPath), workingDir, 
[]string{"plan"}, false, "", true, false, defaultLogLevel, false),
                },
 
                {
-                       args:            []string{"plan", 
doubleDashed(run.QueueExcludeExternalFlagName)},
+                       args:            []string{"plan", 
doubleDashed(shared.QueueExcludeExternalFlagName)},
                        expectedOptions: mockOptions(t, 
util.JoinPath(workingDir, config.DefaultTerragruntConfigPath), workingDir, 
[]string{"plan"}, false, "", false, false, defaultLogLevel, false),
                },
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.89.2/cli/commands/hcl/validate/cli.go 
new/terragrunt-0.89.3/cli/commands/hcl/validate/cli.go
--- old/terragrunt-0.89.2/cli/commands/hcl/validate/cli.go      2025-10-07 
22:48:59.000000000 +0200
+++ new/terragrunt-0.89.3/cli/commands/hcl/validate/cli.go      2025-10-08 
16:44:57.000000000 +0200
@@ -5,6 +5,7 @@
        "github.com/gruntwork-io/terragrunt/cli/commands/common/runall"
        "github.com/gruntwork-io/terragrunt/cli/commands/run"
        "github.com/gruntwork-io/terragrunt/cli/flags"
+       "github.com/gruntwork-io/terragrunt/cli/flags/shared"
        "github.com/gruntwork-io/terragrunt/internal/cli"
        "github.com/gruntwork-io/terragrunt/options"
        "github.com/gruntwork-io/terragrunt/pkg/log"
@@ -19,18 +20,19 @@
        JSONFlagName           = "json"
 )
 
-func NewFlags(opts *options.TerragruntOptions, prefix flags.Prefix) cli.Flags {
-       tgPrefix := prefix.Prepend(flags.TgPrefix)
+func NewFlags(opts *options.TerragruntOptions) cli.Flags {
+       tgPrefix := flags.Prefix{flags.TgPrefix}
        terragruntPrefix := flags.Prefix{flags.TerragruntPrefix}
        terragruntPrefixControl := 
flags.StrictControlsByCommand(opts.StrictControls, CommandName)
 
        flagSet := cli.Flags{
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        StrictFlagName,
-                       EnvVars:     tgPrefix.EnvVars(StrictFlagName),
-                       Destination: &opts.HCLValidateStrict,
-                       Usage:       "Enables strict mode. When used in 
combination with the `--inputs` flag, any inputs defined in Terragrunt that are 
_not_ used in OpenTofu/Terraform will trigger an error.",
-               },
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        StrictFlagName,
+                               EnvVars:     tgPrefix.EnvVars(StrictFlagName),
+                               Destination: &opts.HCLValidateStrict,
+                               Usage:       "Enables strict mode. When used in 
combination with the `--inputs` flag, any inputs defined in Terragrunt that are 
_not_ used in OpenTofu/Terraform will trigger an error.",
+                       },
                        flags.WithDeprecatedEnvVars(tgPrefix.EnvVars(
                                "strict-validate",             // 
`TG_STRICT_VALIDATE`
                                "hclvalidate-strict-validate", // 
`TG_HCLVALIDATE_STRICT_VALIDATE`
@@ -38,34 +40,43 @@
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("strict-validate"), 
terragruntPrefixControl), // `TERRAGRUNT_STRICT_VALIDATE`
                ),
 
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        InputsFlagName,
-                       EnvVars:     tgPrefix.EnvVars(InputsFlagName),
-                       Destination: &opts.HCLValidateInputs,
-                       Usage:       "Checks if the Terragrunt configured 
inputs align with OpenTofu/Terraform defined variables.",
-               }),
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        ShowConfigPathFlagName,
-                       EnvVars:     tgPrefix.EnvVars(ShowConfigPathFlagName),
-                       Usage:       "Emit a list of files with invalid 
configurations after validating all configurations.",
-                       Destination: &opts.HCLValidateShowConfigPath,
-               },
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        InputsFlagName,
+                               EnvVars:     tgPrefix.EnvVars(InputsFlagName),
+                               Destination: &opts.HCLValidateInputs,
+                               Usage:       "Checks if the Terragrunt 
configured inputs align with OpenTofu/Terraform defined variables.",
+                       },
+               ),
+
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        ShowConfigPathFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(ShowConfigPathFlagName),
+                               Usage:       "Emit a list of files with invalid 
configurations after validating all configurations.",
+                               Destination: &opts.HCLValidateShowConfigPath,
+                       },
 
                        
flags.WithDeprecatedEnvVars(tgPrefix.EnvVars("hclvalidate-strict-validate"), 
terragruntPrefixControl),          // `TG_HCLVALIDATE_STRICT_VALIDATE`
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("hclvalidate-show-config-path"),
 terragruntPrefixControl), // `TERRAGRUNT_HCLVALIDATE_SHOW_CONFIG_PATH`
                ),
 
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        JSONFlagName,
-                       EnvVars:     tgPrefix.EnvVars(JSONFlagName),
-                       Destination: &opts.HCLValidateJSONOutput,
-                       Usage:       "Format results in JSON format.",
-               },
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        JSONFlagName,
+                               EnvVars:     tgPrefix.EnvVars(JSONFlagName),
+                               Destination: &opts.HCLValidateJSONOutput,
+                               Usage:       "Format results in JSON format.",
+                       },
                        
flags.WithDeprecatedEnvVars(tgPrefix.EnvVars("hclvalidate-json"), 
terragruntPrefixControl),         // `TG_HCLVALIDATE_JSON`
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("hclvalidate-json"), 
terragruntPrefixControl), // `TERRAGRUNT_HCLVALIDATE_JSON`
                ),
+
+               shared.NewTFPathFlag(opts),
        }
 
+       flagSet = flagSet.Add(shared.NewQueueFlags(opts, nil)...)
+
        return flagSet
 }
 
@@ -73,7 +84,7 @@
        cmd := &cli.Command{
                Name:                         CommandName,
                Usage:                        "Recursively find HashiCorp 
Configuration Language (HCL) files and validate them.",
-               Flags:                        NewFlags(opts, nil),
+               Flags:                        NewFlags(opts),
                DisabledErrorOnUndefinedFlag: true,
                Action: func(ctx *cli.Context) error {
                        return Run(ctx, l, opts.OptionsFromContext(ctx))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.89.2/cli/commands/run/flags.go 
new/terragrunt-0.89.3/cli/commands/run/flags.go
--- old/terragrunt-0.89.2/cli/commands/run/flags.go     2025-10-07 
22:48:59.000000000 +0200
+++ new/terragrunt-0.89.3/cli/commands/run/flags.go     2025-10-08 
16:44:57.000000000 +0200
@@ -6,6 +6,7 @@
        "path/filepath"
 
        "github.com/gruntwork-io/terragrunt/cli/flags"
+       "github.com/gruntwork-io/terragrunt/cli/flags/shared"
        "github.com/gruntwork-io/terragrunt/internal/cli"
        "github.com/gruntwork-io/terragrunt/internal/report"
        "github.com/gruntwork-io/terragrunt/internal/strict/controls"
@@ -48,18 +49,6 @@
        IAMAssumeRoleSessionNameFlagName      = "iam-assume-role-session-name"
        IAMAssumeRoleWebIdentityTokenFlagName = 
"iam-assume-role-web-identity-token"
 
-       // Queue related flags.
-
-       QueueIgnoreErrorsFlagName        = "queue-ignore-errors"
-       QueueIgnoreDAGOrderFlagName      = "queue-ignore-dag-order"
-       QueueExcludeExternalFlagName     = "queue-exclude-external"
-       QueueExcludeDirFlagName          = "queue-exclude-dir"
-       QueueExcludesFileFlagName        = "queue-excludes-file"
-       QueueIncludeDirFlagName          = "queue-include-dir"
-       QueueIncludeExternalFlagName     = "queue-include-external"
-       QueueStrictIncludeFlagName       = "queue-strict-include"
-       QueueIncludeUnitsReadingFlagName = "queue-include-units-reading"
-
        // Terragrunt Provider Cache related flags.
 
        ProviderCacheFlagName              = "provider-cache"
@@ -126,7 +115,7 @@
                },
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("json-out-dir"), 
terragruntPrefixControl)),
 
-               // `graph/-grpah` related flags.
+               // `graph/-graph` related flags.
 
                flags.NewFlag(&cli.GenericFlag[string]{
                        Name:        GraphRootFlagName,
@@ -155,7 +144,7 @@
                },
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("config"), 
terragruntPrefixControl)),
 
-               NewTFPathFlag(opts, prefix),
+               shared.NewTFPathFlag(opts),
 
                flags.NewFlag(&cli.BoolFlag{
                        Name:        NoAutoInitFlagName,
@@ -275,38 +264,6 @@
                        ),
                ),
 
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        QueueIgnoreErrorsFlagName,
-                       EnvVars:     
tgPrefix.EnvVars(QueueIgnoreErrorsFlagName),
-                       Destination: &opts.IgnoreDependencyErrors,
-                       Usage:       "Continue processing Units even if a 
dependency fails.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("ignore-dependency-errors"),
 terragruntPrefixControl)),
-
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        QueueIgnoreDAGOrderFlagName,
-                       EnvVars:     
tgPrefix.EnvVars(QueueIgnoreDAGOrderFlagName),
-                       Destination: &opts.IgnoreDependencyOrder,
-                       Usage:       "Ignore DAG order for --all commands.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("ignore-dependency-order"),
 terragruntPrefixControl)),
-
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        QueueExcludeExternalFlagName,
-                       EnvVars:     
tgPrefix.EnvVars(QueueExcludeExternalFlagName),
-                       Destination: &opts.IgnoreExternalDependencies,
-                       Usage:       "Ignore external dependencies for --all 
commands.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("ignore-external-dependencies"),
 terragruntPrefixControl)),
-
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        QueueIncludeExternalFlagName,
-                       EnvVars:     
tgPrefix.EnvVars(QueueIncludeExternalFlagName),
-                       Destination: &opts.IncludeExternalDependencies,
-                       Usage:       "Include external dependencies for --all 
commands without asking.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("include-external-dependencies"),
 terragruntPrefixControl)),
-
                flags.NewFlag(&cli.GenericFlag[int]{
                        Name:        ParallelismFlagName,
                        EnvVars:     tgPrefix.EnvVars(ParallelismFlagName),
@@ -315,30 +272,6 @@
                },
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("parallelism"), 
terragruntPrefixControl)),
 
-               flags.NewFlag(&cli.GenericFlag[string]{
-                       Name:        QueueExcludesFileFlagName,
-                       EnvVars:     
tgPrefix.EnvVars(QueueExcludesFileFlagName),
-                       Destination: &opts.ExcludesFile,
-                       Usage:       "Path to a file with a list of directories 
that need to be excluded when running *-all commands.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("excludes-file"), 
terragruntPrefixControl)),
-
-               flags.NewFlag(&cli.SliceFlag[string]{
-                       Name:        QueueExcludeDirFlagName,
-                       EnvVars:     tgPrefix.EnvVars(QueueExcludeDirFlagName),
-                       Destination: &opts.ExcludeDirs,
-                       Usage:       "Unix-style glob of directories to exclude 
from the queue of Units to run.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("exclude-dir"), 
terragruntPrefixControl)),
-
-               flags.NewFlag(&cli.SliceFlag[string]{
-                       Name:        QueueIncludeDirFlagName,
-                       EnvVars:     tgPrefix.EnvVars(QueueIncludeDirFlagName),
-                       Destination: &opts.IncludeDirs,
-                       Usage:       "Unix-style glob of directories to include 
from the queue of Units to run.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("include-dir"), 
terragruntPrefixControl)),
-
                flags.NewFlag(&cli.BoolFlag{
                        Name:        InputsDebugFlagName,
                        EnvVars:     tgPrefix.EnvVars(InputsDebugFlagName),
@@ -379,14 +312,6 @@
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("forward-tf-stdout"), 
terragruntPrefixControl),
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("include-module-prefix"), 
legacyLogsControl)),
 
-               flags.NewFlag(&cli.BoolFlag{
-                       Name:        QueueStrictIncludeFlagName,
-                       EnvVars:     
tgPrefix.EnvVars(QueueStrictIncludeFlagName),
-                       Destination: &opts.StrictInclude,
-                       Usage:       "If flag is set, only modules under the 
directories passed in with '--include-dir' will be included.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("strict-include"), 
terragruntPrefixControl)),
-
                flags.NewFlag(&cli.SliceFlag[string]{
                        Name:        UnitsThatIncludeFlagName,
                        EnvVars:     tgPrefix.EnvVars(UnitsThatIncludeFlagName),
@@ -395,14 +320,6 @@
                },
                        
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("modules-that-include"), 
terragruntPrefixControl)),
 
-               flags.NewFlag(&cli.SliceFlag[string]{
-                       Name:        QueueIncludeUnitsReadingFlagName,
-                       EnvVars:     
tgPrefix.EnvVars(QueueIncludeUnitsReadingFlagName),
-                       Destination: &opts.UnitsReading,
-                       Usage:       "If flag is set, 'run --all' will only run 
the command against Terragrunt units that read the specified file via an HCL 
function or include.",
-               },
-                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("queue-include-units-reading"),
 terragruntPrefixControl)),
-
                flags.NewFlag(&cli.BoolFlag{
                        Name:        DisableCommandValidationFlagName,
                        EnvVars:     
tgPrefix.EnvVars(DisableCommandValidationFlagName),
@@ -599,31 +516,11 @@
        // Add shared backend and feature flags
        flags = flags.Add(NewBackendFlags(l, opts, prefix)...)
        flags = flags.Add(NewFeatureFlags(l, opts, prefix)...)
+       flags = flags.Add(shared.NewQueueFlags(opts, prefix)...)
 
        return flags.Sort()
 }
 
-// NewTFPathFlag creates a flag for specifying the OpenTofu/Terraform binary 
path.
-func NewTFPathFlag(opts *options.TerragruntOptions, prefix flags.Prefix) 
*flags.Flag {
-       tgPrefix := prefix.Prepend(flags.TgPrefix)
-       terragruntPrefix := prefix.Prepend(flags.TerragruntPrefix)
-       terragruntPrefixControl := 
flags.StrictControlsByGlobalFlags(opts.StrictControls)
-
-       return flags.NewFlag(
-               &cli.GenericFlag[string]{
-                       Name:    TFPathFlagName,
-                       EnvVars: tgPrefix.EnvVars(TFPathFlagName),
-                       Usage:   "Path to the OpenTofu/Terraform binary. 
Default is tofu (on PATH).",
-                       Setter: func(value string) error {
-                               opts.TFPath = value
-                               opts.TFPathExplicitlySet = true
-                               return nil
-                       },
-               },
-               flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("tfpath"), 
terragruntPrefixControl),
-       )
-}
-
 // NewBackendFlags defines backend-related flags that should be available to 
both `run` and `backend` commands.
 func NewBackendFlags(_ log.Logger, opts *options.TerragruntOptions, prefix 
flags.Prefix) cli.Flags {
        tgPrefix := prefix.Prepend(flags.TgPrefix)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.89.2/cli/commands/run/help.go 
new/terragrunt-0.89.3/cli/commands/run/help.go
--- old/terragrunt-0.89.2/cli/commands/run/help.go      2025-10-07 
22:48:59.000000000 +0200
+++ new/terragrunt-0.89.3/cli/commands/run/help.go      2025-10-08 
16:44:57.000000000 +0200
@@ -5,6 +5,7 @@
        "io"
        "strings"
 
+       "github.com/gruntwork-io/terragrunt/cli/flags/shared"
        "github.com/gruntwork-io/terragrunt/internal/cli"
        "github.com/gruntwork-io/terragrunt/internal/errors"
        "github.com/gruntwork-io/terragrunt/options"
@@ -30,7 +31,7 @@
 // ShowTFHelp prints TF help for the given `ctx.Command` command.
 func ShowTFHelp(l log.Logger, opts *options.TerragruntOptions) cli.HelpFunc {
        return func(ctx *cli.Context) error {
-               if err := NewTFPathFlag(opts, nil).Parse(ctx.Args()); err != 
nil {
+               if err := shared.NewTFPathFlag(opts).Parse(ctx.Args()); err != 
nil {
                        return err
                }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.89.2/cli/flags/shared/shared.go 
new/terragrunt-0.89.3/cli/flags/shared/shared.go
--- old/terragrunt-0.89.2/cli/flags/shared/shared.go    1970-01-01 
01:00:00.000000000 +0100
+++ new/terragrunt-0.89.3/cli/flags/shared/shared.go    2025-10-08 
16:44:57.000000000 +0200
@@ -0,0 +1,148 @@
+// Package shared provides flags that are shared by multiple commands.
+//
+// This package is underutilized right now, as some more serious refactoring 
is needed to make sure all
+// shared flags use this package instead of reusing flags from other commands.
+package shared
+
+import (
+       "github.com/gruntwork-io/terragrunt/cli/flags"
+       "github.com/gruntwork-io/terragrunt/internal/cli"
+       "github.com/gruntwork-io/terragrunt/options"
+)
+
+const (
+       // General related flags.
+       TFPathFlagName = "tf-path"
+
+       // Queue related flags.
+
+       QueueIgnoreErrorsFlagName        = "queue-ignore-errors"
+       QueueIgnoreDAGOrderFlagName      = "queue-ignore-dag-order"
+       QueueExcludeExternalFlagName     = "queue-exclude-external"
+       QueueExcludeDirFlagName          = "queue-exclude-dir"
+       QueueExcludesFileFlagName        = "queue-excludes-file"
+       QueueIncludeDirFlagName          = "queue-include-dir"
+       QueueIncludeExternalFlagName     = "queue-include-external"
+       QueueStrictIncludeFlagName       = "queue-strict-include"
+       QueueIncludeUnitsReadingFlagName = "queue-include-units-reading"
+)
+
+// NewTFPathFlag creates a flag for specifying the OpenTofu/Terraform binary 
path.
+func NewTFPathFlag(opts *options.TerragruntOptions) *flags.Flag {
+       tgPrefix := flags.Prefix{flags.TgPrefix}
+       terragruntPrefix := flags.Prefix{flags.TerragruntPrefix}
+       terragruntPrefixControl := 
flags.StrictControlsByGlobalFlags(opts.StrictControls)
+
+       return flags.NewFlag(
+               &cli.GenericFlag[string]{
+                       Name:    TFPathFlagName,
+                       EnvVars: tgPrefix.EnvVars(TFPathFlagName),
+                       Usage:   "Path to the OpenTofu/Terraform binary. 
Default is tofu (on PATH).",
+                       Setter: func(value string) error {
+                               opts.TFPath = value
+                               opts.TFPathExplicitlySet = true
+                               return nil
+                       },
+               },
+               flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("tfpath"), 
terragruntPrefixControl),
+       )
+}
+
+// NewQueueFlags creates the flags used for queue control
+func NewQueueFlags(opts *options.TerragruntOptions, prefix flags.Prefix) 
cli.Flags {
+       tgPrefix := prefix.Prepend(flags.TgPrefix)
+       terragruntPrefix := flags.Prefix{flags.TerragruntPrefix}
+       terragruntPrefixControl := 
flags.StrictControlsByGlobalFlags(opts.StrictControls)
+
+       return cli.Flags{
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        QueueIgnoreErrorsFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueIgnoreErrorsFlagName),
+                               Destination: &opts.IgnoreDependencyErrors,
+                               Usage:       "Continue processing Units even if 
a dependency fails.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("ignore-dependency-errors"),
 terragruntPrefixControl),
+               ),
+
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        QueueIgnoreDAGOrderFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueIgnoreDAGOrderFlagName),
+                               Destination: &opts.IgnoreDependencyOrder,
+                               Usage:       "Ignore DAG order for --all 
commands.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("ignore-dependency-order"),
 terragruntPrefixControl),
+               ),
+
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        QueueExcludeExternalFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueExcludeExternalFlagName),
+                               Destination: &opts.IgnoreExternalDependencies,
+                               Usage:       "Ignore external dependencies for 
--all commands.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("ignore-external-dependencies"),
 terragruntPrefixControl),
+               ),
+
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        QueueIncludeExternalFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueIncludeExternalFlagName),
+                               Destination: &opts.IncludeExternalDependencies,
+                               Usage:       "Include external dependencies for 
--all commands without asking.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("include-external-dependencies"),
 terragruntPrefixControl),
+               ),
+
+               flags.NewFlag(
+                       &cli.GenericFlag[string]{
+                               Name:        QueueExcludesFileFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueExcludesFileFlagName),
+                               Destination: &opts.ExcludesFile,
+                               Usage:       "Path to a file with a list of 
directories that need to be excluded when running *-all commands.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("excludes-file"), 
terragruntPrefixControl),
+               ),
+
+               flags.NewFlag(
+                       &cli.SliceFlag[string]{
+                               Name:        QueueExcludeDirFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueExcludeDirFlagName),
+                               Destination: &opts.ExcludeDirs,
+                               Usage:       "Unix-style glob of directories to 
exclude from the queue of Units to run.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("exclude-dir"), 
terragruntPrefixControl),
+               ),
+
+               flags.NewFlag(
+                       &cli.SliceFlag[string]{
+                               Name:        QueueIncludeDirFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueIncludeDirFlagName),
+                               Destination: &opts.IncludeDirs,
+                               Usage:       "Unix-style glob of directories to 
include from the queue of Units to run.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("include-dir"), 
terragruntPrefixControl),
+               ),
+
+               flags.NewFlag(
+                       &cli.BoolFlag{
+                               Name:        QueueStrictIncludeFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueStrictIncludeFlagName),
+                               Destination: &opts.StrictInclude,
+                               Usage:       "If flag is set, only modules 
under the directories passed in with '--queue-include-dir' will be included.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("strict-include"), 
terragruntPrefixControl),
+               ),
+
+               flags.NewFlag(
+                       &cli.SliceFlag[string]{
+                               Name:        QueueIncludeUnitsReadingFlagName,
+                               EnvVars:     
tgPrefix.EnvVars(QueueIncludeUnitsReadingFlagName),
+                               Destination: &opts.UnitsReading,
+                               Usage:       "If flag is set, 'run --all' will 
only run the command against units that read the specified file via a 
Terragrunt HCL function or include.",
+                       },
+                       
flags.WithDeprecatedEnvVars(terragruntPrefix.EnvVars("queue-include-units-reading"),
 terragruntPrefixControl),
+               ),
+       }
+}

++++++ terragrunt.obsinfo ++++++
--- /var/tmp/diff_new_pack.Ch00Nu/_old  2025-10-09 15:09:01.212994538 +0200
+++ /var/tmp/diff_new_pack.Ch00Nu/_new  2025-10-09 15:09:01.292997914 +0200
@@ -1,5 +1,5 @@
 name: terragrunt
-version: 0.89.2
-mtime: 1759870139
-commit: 255ead175b7a82d8154a5503eaead684feeda30f
+version: 0.89.3
+mtime: 1759934697
+commit: 0317025e2fdecbed6cc3c90cba095e54fa37bc61
 

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/terragrunt/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.terragrunt.new.11973/vendor.tar.gz differ: char 13, 
line 1

Reply via email to