Skip to content

Add v0.8.x deprecation warnings for PROJECT command and auto-skip #635

Description

@kmannislands

Summary

The migration guide states that features slated for removal in v0.9.x will log a deprecation warning during the v0.8.x compatibility line. Verified against the v0.8.18 build, two of these warnings are not yet implemented:

  1. PROJECT Earthfile command — an Earthfile containing PROJECT my-org/my-project parses and runs cleanly with no warning. It should log a deprecation warning in v0.8.x and become an error in v0.9.x.
  2. auto-skip flags/env--auto-skip, --no-auto-skip, --auto-skip-db-path (and EARTHLY_AUTO_SKIP*) still function silently. They should log a deprecation warning in v0.8.x and be removed in v0.9.x.

Scope

  • Emit a deprecation warning when the PROJECT command is encountered while parsing an Earthfile.
  • Emit a deprecation warning when any auto-skip flag or env var is used.

Related

Sibling deprecation-warning work: #507 (env-var prefix), #630 (built-in ARGs). Raised from the migration-guide review in PR #14.

Part of the v0.8.18 release.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions