Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 3: initial implementation #22

Merged
merged 6 commits into from
Feb 16, 2024
Merged

version 3: initial implementation #22

merged 6 commits into from
Feb 16, 2024

Conversation

fho
Copy link
Contributor

@fho fho commented Feb 14, 2024

This commit introduces the initial version 3 of the dependencies-tool.
Major changes:

  • The application dependencies are now defined in a single YAML file per
    app, instead of multiple TOML files. YAML anchors can be used to
    reduce duplication.
  • The dependencies for multiple distributions can be defined in the same
    YAML file.
  • Dependencies can either be soft or hard. Hard dependencies enforce a
    strict order but can not contain loops, ensuring that dependent
    services are ordered before.
    Soft dependencies do not enforce an order but allow loops.
  • The dependency on having a .baur.toml file is removed.
    All configuration files in a directory tree are discovered.
    The name or path suffix of the configuration files that are discovered
    can be configured, also directories matching certain names can be
    excluded from the discovery.
  • The ENVIRONMENT and REGION command line arguments are replaced with a
    single DISTRIBUTION argument.
  • The export sub command now exports the dependencies of all
    distributions into a single file, instead of only for the specified
    ENVIRONMENT and REGION.
  • The deploy-order sub command is renamed to order.

gopls does not work when only specifying the major and minor version
anymore with go 1.22
This commit introduces the initial version 2 of the dependencies-tool.
Major changes:

- The application dependencies are now defined in a single YAML file per
  app, instead of multiple TOML files. YAML anchors can be used to
  reduce duplication.
- The dependencies for multiple distributions can be defined in the same
  YAML file.
- Dependencies can either be soft or hard. Hard dependencies enforce a
  strict order but can not contain loops, ensuring that dependent
  services are ordered before.
  Soft dependencies do not enforce an order but allow loops.
- The dependency on having a .baur.toml file is removed.
  All configuration files in a directory tree are discovered.
  The name or path suffix of the configuration files that are discovered
  can be configured, also directories matching certain names can be
  excluded from the discovery.
- The ENVIRONMENT and REGION command line arguments are replaced with a
  single DISTRIBUTION argument.
- The export sub command now exports the dependencies of all
  distributions into a single file, instead of only for the specified
  ENVIRONMENT and REGION.
- The deploy-order sub command is renamed to order.
@fho fho self-assigned this Feb 14, 2024
@fho fho marked this pull request as ready for review February 14, 2024 14:51
@fho fho requested a review from nocive February 14, 2024 14:55
@fho fho marked this pull request as draft February 14, 2024 17:52
@fho
Copy link
Contributor Author

fho commented Feb 14, 2024

back to draft, resolving dependencies does not work correctly when --apps is passed

@fho fho marked this pull request as ready for review February 15, 2024 10:18
@fho fho changed the title version 2: initial implementation version 3: initial implementation Feb 15, 2024
@fho fho merged commit 56696dc into v2 Feb 16, 2024
3 checks passed
@fho fho deleted the v2_init branch February 16, 2024 15:55
fho added a commit that referenced this pull request Feb 16, 2024
This commit introduces the initial version 3 of the dependencies-tool.
Major changes:

- The application dependencies are now defined in a single YAML file per
  app, instead of multiple TOML files. YAML anchors can be used to
  reduce duplication.
- The dependencies for multiple distributions can be defined in the same
  YAML file.
- Dependencies can either be soft or hard. Hard dependencies enforce a
  strict order but can not contain loops, ensuring that dependent
  services are ordered before.
  Soft dependencies do not enforce an order but allow loops.
- The dependency on having a .baur.toml file is removed.
  All configuration files in a directory tree are discovered.
  The name or path suffix of the configuration files that are discovered
  can be configured, also directories matching certain names can be
  excluded from the discovery.
- The ENVIRONMENT and REGION command line arguments are replaced with a
  single DISTRIBUTION argument.
- The export sub command now exports the dependencies of all
  distributions into a single file, instead of only for the specified
  ENVIRONMENT and REGION.
- The deploy-order sub command is renamed to order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant