From 2651da9a493d076bd75a07526903b5bfe291c610 Mon Sep 17 00:00:00 2001 From: dat-adi Date: Sat, 22 Jan 2022 15:38:03 +0530 Subject: [PATCH 1/3] Few december notes WIP --- content/updates/december2020.md | 16 ++++++++++++++++ content/updates/november2020.md | 10 ++++------ content/updates/october2020.md | 22 ++++++++++++++-------- content/updates/september2020.md | 1 + 4 files changed, 35 insertions(+), 14 deletions(-) create mode 100644 content/updates/december2020.md diff --git a/content/updates/december2020.md b/content/updates/december2020.md new file mode 100644 index 0000000..7487b48 --- /dev/null +++ b/content/updates/december2020.md @@ -0,0 +1,16 @@ ++++ +title = "December 2020" +weight = 40 ++++ + +# December 2020 + +A test suite was developed for the Gitea ecosystem, and a refactor was performed on the +various structures to leverage the functionality provided by [dataclasses](https://docs.python.org/3/library/dataclasses.html). + +Error handling was set up for the client side, and an implementation of a forking +mechanism was developed, followed by the forking mechanism for the Gitea forge. + +An authentication mechanism was developed to implement Matrix's [signed JSON](https://github.com/matrix-org/python-signedjson) +feature, but, was later replaced in favor of [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures). + diff --git a/content/updates/november2020.md b/content/updates/november2020.md index a167913..32c000d 100644 --- a/content/updates/november2020.md +++ b/content/updates/november2020.md @@ -5,13 +5,11 @@ weight = 40 # November 2020 -Errors were modularized at the back of [Northstar](https://github.com/forgeflux-org/northstar/). -A Docker CI was set up for the Northstar builds. +Errors were modularized at the back of [Northstar](https://github.com/forgeflux-org/northstar/), +and A Docker CI was set up for the Northstar builds. -A [GitHub organization](https://github.com/forgeflux-org) was created for ForgeFedv2, and the repositories for the projects were -transferred over to it. - -A majority of the development on Interface was done during this time. +A [GitHub organization](https://github.com/forgeflux-org) was created for ForgeFedv2, +and the repositories for the projects were transferred over to it. A Notification-Event Translation Mechanism was set up. diff --git a/content/updates/october2020.md b/content/updates/october2020.md index dd62bab..c444b47 100644 --- a/content/updates/october2020.md +++ b/content/updates/october2020.md @@ -4,10 +4,13 @@ weight = 40 +++ # October 2020 -In the month of October, there were significant changes to the development in ForgeFedv2. -Starting off with the addition of the [OpenAPI Specification](https://forgeflux-org.github.io/northstar/) for Northstar. + +In the month of October, there were significant changes to the development +in ForgeFedv2, with the addition of the [OpenAPI Specification](https://forgeflux-org.github.io/northstar/) +for Northstar. ## Northstar + A database model was created to store the details of the various forge interfaces, having these details would be a prerequisite to looking up a server. @@ -15,15 +18,18 @@ Endpoints were subsequently created, following the defined OpenAPI specification While the Lookup service was in the process of development, terminologies and the concept for Forge Federation was also being [discussed](https://github.com/forgeflux-org/spec/tree/master/rfc). -Docker support as part of the CI process was added into the mix. -Keeping in mind, that the test suite was the method to work with the application for -the time being, an initial working model for the lookup service was established. +Docker support as part of the CI process was added into the mix, while +keeping in mind, that the test suite was the method to work with the application for +the time being. +An initial working model for the lookup service was established. ## Interface -Development of the `libgit` library had begun. + +Development of the `libgit` library had begun at this point. + [libgit] is a library that processes the contributor's changes, and generates a patch. Details regarding the implementation and feature set of libgit will be covered in another section. - ## References -- Database Initialization :: [database init](https://github.com/forgeflux-org/northstar/commit/6a82a1bc83d4733a5a077e33ad0c222aed496145) + +- Database Initialization :: [database init](https://github.com/forgeflux-org/northstar/commit/6a82a1bc83d4733a5a077e33ad0c222aed496145) diff --git a/content/updates/september2020.md b/content/updates/september2020.md index 887cd23..4fac19f 100644 --- a/content/updates/september2020.md +++ b/content/updates/september2020.md @@ -4,6 +4,7 @@ weight = 40 +++ # September 2020 + In the month of September, project "ForgeFedv2" started off by initializing the lookup service, [Northstar](https://github.com/forgeflux-org/northstar/). From 2ff0e9bd29dcfdf71d9adafd0049a8a4fdc17dba Mon Sep 17 00:00:00 2001 From: dat-adi Date: Sun, 23 Jan 2022 21:42:19 +0530 Subject: [PATCH 2/3] Updated December 2020 Added content into the December 2020 update. --- content/updates/december2020.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/content/updates/december2020.md b/content/updates/december2020.md index 7487b48..976b045 100644 --- a/content/updates/december2020.md +++ b/content/updates/december2020.md @@ -4,13 +4,33 @@ weight = 40 +++ # December 2020 +## Northstar + +As the development on [Northstar](@/services/northstar.md) nears the completion phase, +updates on it have slowed down, and the only updates that were made during this +stage mostly comprises of configuration updates. +These updates were mostly related to bootstrapping [DynaConf](https://www.dynaconf.com/), +and fixing issues with the rendering of the `docs` or the main website itself. + +## Interface A test suite was developed for the Gitea ecosystem, and a refactor was performed on the various structures to leverage the functionality provided by [dataclasses](https://docs.python.org/3/library/dataclasses.html). -Error handling was set up for the client side, and an implementation of a forking -mechanism was developed, followed by the forking mechanism for the Gitea forge. - -An authentication mechanism was developed to implement Matrix's [signed JSON](https://github.com/matrix-org/python-signedjson) +Error handling mechanisms were set up for the client side, and an implementation of a +forking mechanism was developed, followed by the forking mechanism for the Gitea forge. +Realising the need for validation of a request to an actor, an authentication +mechanism was developed to implement Matrix's [signed JSON](https://github.com/matrix-org/python-signedjson) feature, but, was later replaced in favor of [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures). +The database and endpoints were refactored to accommodate features implemented +by the previous updates to the codebase. Subsequently, this was followed up with an +id implementation to support the lazy loading of data. + +## References +These are a list of the Pull Requests where the following updates took place for the +organization. + +- Forking Implementation :: [#34](https://github.com/forgeflux-org/interface/commit/5c9f61d60ce069963da7abc761b9ba3d81c8883a) +- Authentication :: [#36](https://github.com/forgeflux-org/interface/commit/5cc206cbe5be83cedac14949a537baad4c6351e3) +- DB Refactor :: [#39](https://github.com/forgeflux-org/interface/commit/57c9a085b38f8c3bab7975e18d21e4455ad3cac9), [#40](https://github.com/forgeflux-org/interface/commit/d9d785ca116e9a2bb9a40cf3eaa16a8b275d1593) From accec79cde221eeff75ae3044ad537a14d858dc3 Mon Sep 17 00:00:00 2001 From: dat-adi Date: Fri, 28 Jan 2022 15:10:43 +0530 Subject: [PATCH 3/3] Refactored text to be more feature-oriented --- content/updates/december2020.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/content/updates/december2020.md b/content/updates/december2020.md index 976b045..ba1f3ea 100644 --- a/content/updates/december2020.md +++ b/content/updates/december2020.md @@ -10,22 +10,20 @@ As the development on [Northstar](@/services/northstar.md) nears the completion updates on it have slowed down, and the only updates that were made during this stage mostly comprises of configuration updates. These updates were mostly related to bootstrapping [DynaConf](https://www.dynaconf.com/), -and fixing issues with the rendering of the `docs` or the main website itself. +as we embraced 12-factor app configuration recommendations, allowing for better +configuration management. ## Interface -A test suite was developed for the Gitea ecosystem, and a refactor was performed on the -various structures to leverage the functionality provided by [dataclasses](https://docs.python.org/3/library/dataclasses.html). - -Error handling mechanisms were set up for the client side, and an implementation of a -forking mechanism was developed, followed by the forking mechanism for the Gitea forge. Realising the need for validation of a request to an actor, an authentication mechanism was developed to implement Matrix's [signed JSON](https://github.com/matrix-org/python-signedjson) feature, but, was later replaced in favor of [HTTP Signatures](https://tools.ietf.org/html/draft-cavage-http-signatures). -The database and endpoints were refactored to accommodate features implemented -by the previous updates to the codebase. Subsequently, this was followed up with an -id implementation to support the lazy loading of data. +Interface underwent major refactoring to improve test-ability and reliability in addition +to implementing authentication by a [signed JSON](https://github.com/matrix-org/python-signedjson) +mechanism implemented by the Matrix project. Taking note of rate-limits imposed by some forges, +we figured we'd have to cache responses and so data persistence was implemented by way of +storing in a database. ## References These are a list of the Pull Requests where the following updates took place for the