From cc272dd1e22c2f8cd96a8af6cc63498d528d771a Mon Sep 17 00:00:00 2001 From: George Date: Thu, 12 Oct 2023 11:49:05 +0100 Subject: [PATCH 1/2] chore: update docs/site/pages/concepts/controllers.mdx Co-authored-by: Yoofi Quansah --- docs/site/pages/concepts/controllers.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/site/pages/concepts/controllers.mdx b/docs/site/pages/concepts/controllers.mdx index 2ae3e0f..c2e1be4 100644 --- a/docs/site/pages/concepts/controllers.mdx +++ b/docs/site/pages/concepts/controllers.mdx @@ -17,7 +17,7 @@ By default, Flipt ships with a basic controller known as the `template` controll You will learn in the next section on [bindings](/concepts/bindings) how to configure which controllers handle which resource definitions. -Controllers are the most important extension point in Flipt. +Controllers are the most important extension point in Cup. They allow operators to create custom transformation logic between API resources and their resulting representation in the repository. Meaning there is no strict requirement that these two concepts need to have a 1:1 mapping (though the `template` controller does support this kind of logic out of the box). From 9f936b7ce3eb6325a09ee0e2f4e79186d4f3999a Mon Sep 17 00:00:00 2001 From: George Date: Thu, 12 Oct 2023 11:49:43 +0100 Subject: [PATCH 2/2] chore: update docs/site/pages/concepts/controllers.mdx Co-authored-by: Yoofi Quansah --- docs/site/pages/concepts/controllers.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/site/pages/concepts/controllers.mdx b/docs/site/pages/concepts/controllers.mdx index c2e1be4..767248e 100644 --- a/docs/site/pages/concepts/controllers.mdx +++ b/docs/site/pages/concepts/controllers.mdx @@ -82,7 +82,7 @@ sequenceDiagram Write requests on the other hand are a little more complicated. In this scenario, the filesystem abstraction passed to a Controller can handle writes. -The API server which builds the implementation of the filesystem, will do so over a worktree on a new branch. +In Git's case, the API server which builds the implementation of the filesystem, will do so over a worktree on a new branch. Ultimately, the server will add, commit and push changes made by the controller to the configured upstream. Once the branch is pushed, it will also open a pull request and return to the caller a URL for where to find it.