hardisgroupcom / sfdx-hardis

Swiss-army-knife Toolbox for Salesforce. Orchestrates base commands and assist users with interactive wizards to make much more than native sfdx + Allows you to define a complete CI/CD Pipeline and Schedule a daily Metadata backup & monitoring of your orgs
https://sfdx-hardis.cloudity.com
GNU Affero General Public License v3.0
194 stars 35 forks source link

YAML v8r no schema for user files #773

Closed readeral closed 1 month ago

readeral commented 1 month ago

YAML v8r cannot find a schema to validate .config/user/.sfdx-hardis.name.yml

nvuillam commented 1 month ago

config/user/ should be added in your local .gitignore, those files are useful locally but do not need to be committed :)

readeral commented 1 month ago

Oh great. A documentation opportunity? I’ll make a PR once I’m back behind my computer.

On Thu, 29 Aug 2024 at 5:48 PM, Nicolas Vuillamy @.***> wrote:

config/user/ should be added in your local .gitignore, those files are useful locally but do not need to be committed :)

— Reply to this email directly, view it on GitHub https://github.com/hardisgroupcom/sfdx-hardis/issues/773#issuecomment-2316934643, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZK3CAVSLDIPXPUK2NQKHDZT3G3NAVCNFSM6AAAAABNJYT5BCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWHEZTINRUGM . You are receiving this because you authored the thread.Message ID: @.***>

nvuillam commented 1 month ago

@readeral I'll be glad to accept the PR ,thanks :)

readeral commented 1 month ago

@nvuillam it seems you already have the code to do this automatically as part of the init hook (check-local-sfdx-hardis-files.ts), but this hook isn't ever triggered?

nvuillam commented 1 month ago

@readeral I don't remember why I disabled the hook

  // Disable this hook for now
  if ((process.env?.AUTO_UPDATE || 'false') !== 'true') {
    return;
  }

I'll try to reactivate it for v5 , maybe just when we run certain commands used only by Release Managers, like https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/ :)