yarlson / ftl

🚀 FTL is a powerful deployment tool that simplifies the process of setting up servers and deploying applications.
MIT License
265 stars 3 forks source link

Rename `storages` Section to `dependencies` in Configuration #1

Open yarlson opened 1 day ago

yarlson commented 1 day ago

The storages section in ftl.yaml includes services beyond storage systems, such as databases, message queues (RabbitMQ), search engines (Elasticsearch), and caches (Redis). To better reflect the variety of services and align with industry standards, I propose renaming the storages section to dependencies.

Justification:

thrawn01 commented 1 day ago

Hi, I'm Derrick, I've worked on a few deployment systems before, and this project appeals to me due to its simplicity!

I have a comment on your proposal.

While I understand the logical concept of "dependencies", I'm struggling to see the concrete difference between a "service" and a "dependency", as they could be synonymous.

A "service" could be a complete service definition, or a partial definition which could be listed as a dependency for other defined "services" in the configuration.

Logically one service is a dependency of another, but at a concrete definition level, the dependency could just be another "service" definition.

Thoughts?

yarlson commented 23 hours ago

The logical difference is that services are built from the source code in your repository, while dependencies are not.