From a97d141ccb837b187ffa80769114dd3f84607bfc Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Thu, 22 Apr 2021 00:17:19 +0100 Subject: [PATCH 1/6] Add release guides for accounts & settings, fix issue link in settings/package.json --- docs/extensions/accounts/releasing.md | 27 +++++++++++++++++++++++++++ docs/extensions/settings/releasing.md | 27 +++++++++++++++++++++++++++ settings/package.json | 2 +- 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 docs/extensions/accounts/releasing.md create mode 100644 docs/extensions/settings/releasing.md diff --git a/docs/extensions/accounts/releasing.md b/docs/extensions/accounts/releasing.md new file mode 100644 index 00000000000..a64c7e1f756 --- /dev/null +++ b/docs/extensions/accounts/releasing.md @@ -0,0 +1,27 @@ +--- +title: "Releasing" +weight: 70 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/accounts +geekdocFilePath: releasing.md +--- + +{{< toc >}} + +## Releasing + +After adding changes to the Accounts package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. + +To achieve this, you have run a Go command and add the results to your PR. + +### Package Hierarchy + +- [ocis](https://githug.com/owncloud/ocis) + - [ocis-accounts](https://github.com/owncloud/ocis/tree/master/accounts) + +#### Updating ocis-accounts + +1. Make sure you are inside the [ocis repository](https://github.com/owncloud/ocis) and on your feature branch +2. Change into accounts' asset package folder via `cd accounts/pkg/assets` +3. Inside `accounts/pkg/assets`, run `go generate`. The output should look something like this: `accounts: embed.go - YYY/MM/DD ... to write [./embed.go] from config file ...` +4. Commit your changes, push them and [create a PR](https://github.com/owncloud/ocis/pulls) diff --git a/docs/extensions/settings/releasing.md b/docs/extensions/settings/releasing.md new file mode 100644 index 00000000000..811724a6ad9 --- /dev/null +++ b/docs/extensions/settings/releasing.md @@ -0,0 +1,27 @@ +--- +title: "Releasing" +weight: 70 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/settings +geekdocFilePath: releasing.md +--- + +{{< toc >}} + +## Releasing + +After adding changes to the Settings package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. + +To achieve this, you have run a Go command and add the results to your PR. + +### Package Hierarchy + +- [ocis](https://githug.com/owncloud/ocis) + - [ocis-settings](https://github.com/owncloud/ocis/tree/master/settings) + +#### Updating ocis-settings + +1. Make sure you are inside the [ocis repository](https://github.com/owncloud/ocis) and on your feature branch +2. Change into settings' asset package folder via `cd settings/pkg/assets` +3. Inside `settings/pkg/assets`, run `go generate`. The output should look something like this: `settings: embed.go - YYY/MM/DD ... to write [./embed.go] from config file ...` +4. Commit your changes, push them and [create a PR](https://github.com/owncloud/ocis/pulls) diff --git a/settings/package.json b/settings/package.json index 2eb9640fa69..0acd5ac7543 100644 --- a/settings/package.json +++ b/settings/package.json @@ -8,7 +8,7 @@ "author": "ownCloud GmbH ", "repository": "https://github.com/owncloud/ocis-settings.git", "bugs": { - "url": "https://github.com/owncloud/ocis/settings/issues", + "url": "https://github.com/owncloud/ocis/issues", "email": "support@owncloud.com" }, "scripts": { From 95bf02f94f84e89575b348ea6aafde436a73e001 Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Tue, 27 Apr 2021 13:51:12 +0100 Subject: [PATCH 2/6] Update docs/extensions/accounts/releasing.md Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com> --- docs/extensions/accounts/releasing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extensions/accounts/releasing.md b/docs/extensions/accounts/releasing.md index a64c7e1f756..dce40521952 100644 --- a/docs/extensions/accounts/releasing.md +++ b/docs/extensions/accounts/releasing.md @@ -12,7 +12,7 @@ geekdocFilePath: releasing.md After adding changes to the Accounts package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. -To achieve this, you have run a Go command and add the results to your PR. +To achieve this, you have to run a Go command and add the results to your PR. ### Package Hierarchy From 3957ab96e49574cc42438bda1687fa5945ce089a Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Tue, 27 Apr 2021 17:18:27 +0100 Subject: [PATCH 3/6] Update accounts & settings release docs according to feedback --- docs/extensions/accounts/releasing.md | 9 +++++++-- docs/extensions/settings/releasing.md | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/extensions/accounts/releasing.md b/docs/extensions/accounts/releasing.md index dce40521952..afc419081e9 100644 --- a/docs/extensions/accounts/releasing.md +++ b/docs/extensions/accounts/releasing.md @@ -8,11 +8,16 @@ geekdocFilePath: releasing.md {{< toc >}} +## Requirements + +You need a working installation of [the Go programming language](https://golang.org/) installed to build the assets for a working release. + ## Releasing -After adding changes to the Accounts package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. +After adding changes to the accounts package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. -To achieve this, you have to run a Go command and add the results to your PR. +To achieve this, you have to run a Go command and add the results to your PR. The preferred way to do this is to run `make generate` in the root +of the repository and then commit the resulting changes to your branch/PR. See below for a way to _only_ build the accounts extension assets. ### Package Hierarchy diff --git a/docs/extensions/settings/releasing.md b/docs/extensions/settings/releasing.md index 811724a6ad9..6de38e3a762 100644 --- a/docs/extensions/settings/releasing.md +++ b/docs/extensions/settings/releasing.md @@ -8,11 +8,16 @@ geekdocFilePath: releasing.md {{< toc >}} +## Requirements + +You need a working installation of [the Go programming language](https://golang.org/) installed to build the assets for a working release. + ## Releasing -After adding changes to the Settings package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. +After adding changes to the settings package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. -To achieve this, you have run a Go command and add the results to your PR. +To achieve this, you have to run a Go command and add the results to your PR. The preferred way to do this is to run `make generate` in the root +of the repository and then commit the resulting changes to your branch/PR. See below for a way to _only_ build the settings extension assets. ### Package Hierarchy From 4ced02e790e17e3493e44484881d344cb1fa5095 Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Wed, 28 Apr 2021 11:55:41 +0100 Subject: [PATCH 4/6] Fix GitHub link in accounts/settings release guide Co-authored-by: Phil Davis --- docs/extensions/accounts/releasing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extensions/accounts/releasing.md b/docs/extensions/accounts/releasing.md index afc419081e9..327dc53a864 100644 --- a/docs/extensions/accounts/releasing.md +++ b/docs/extensions/accounts/releasing.md @@ -21,7 +21,7 @@ of the repository and then commit the resulting changes to your branch/PR. See b ### Package Hierarchy -- [ocis](https://githug.com/owncloud/ocis) +- [ocis](https://github.com/owncloud/ocis) - [ocis-accounts](https://github.com/owncloud/ocis/tree/master/accounts) #### Updating ocis-accounts From 3301d4ac9f2be8d6b847ff19c7201fd3bc079f16 Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Wed, 28 Apr 2021 11:56:11 +0100 Subject: [PATCH 5/6] Fix GitHub link in settings release guide Co-authored-by: Phil Davis --- docs/extensions/settings/releasing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extensions/settings/releasing.md b/docs/extensions/settings/releasing.md index 6de38e3a762..6e2cc4235d7 100644 --- a/docs/extensions/settings/releasing.md +++ b/docs/extensions/settings/releasing.md @@ -21,7 +21,7 @@ of the repository and then commit the resulting changes to your branch/PR. See b ### Package Hierarchy -- [ocis](https://githug.com/owncloud/ocis) +- [ocis](https://github.com/owncloud/ocis) - [ocis-settings](https://github.com/owncloud/ocis/tree/master/settings) #### Updating ocis-settings From 46db2e8f536f3b0a92c50ad815fe018a91945269 Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Wed, 28 Apr 2021 12:09:56 +0100 Subject: [PATCH 6/6] Reduce accounts&settings release guide to abstract asset generation command --- docs/extensions/accounts/releasing.md | 9 +-------- docs/extensions/settings/releasing.md | 9 +-------- docs/extensions/web/releasing.md | 2 +- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/docs/extensions/accounts/releasing.md b/docs/extensions/accounts/releasing.md index 327dc53a864..374d77e6cb1 100644 --- a/docs/extensions/accounts/releasing.md +++ b/docs/extensions/accounts/releasing.md @@ -17,16 +17,9 @@ You need a working installation of [the Go programming language](https://golang. After adding changes to the accounts package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. To achieve this, you have to run a Go command and add the results to your PR. The preferred way to do this is to run `make generate` in the root -of the repository and then commit the resulting changes to your branch/PR. See below for a way to _only_ build the accounts extension assets. +of the repository and then commit the resulting changes to your branch/PR. ### Package Hierarchy - [ocis](https://github.com/owncloud/ocis) - [ocis-accounts](https://github.com/owncloud/ocis/tree/master/accounts) - -#### Updating ocis-accounts - -1. Make sure you are inside the [ocis repository](https://github.com/owncloud/ocis) and on your feature branch -2. Change into accounts' asset package folder via `cd accounts/pkg/assets` -3. Inside `accounts/pkg/assets`, run `go generate`. The output should look something like this: `accounts: embed.go - YYY/MM/DD ... to write [./embed.go] from config file ...` -4. Commit your changes, push them and [create a PR](https://github.com/owncloud/ocis/pulls) diff --git a/docs/extensions/settings/releasing.md b/docs/extensions/settings/releasing.md index 6e2cc4235d7..556ce9c2bfc 100644 --- a/docs/extensions/settings/releasing.md +++ b/docs/extensions/settings/releasing.md @@ -17,16 +17,9 @@ You need a working installation of [the Go programming language](https://golang. After adding changes to the settings package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. To achieve this, you have to run a Go command and add the results to your PR. The preferred way to do this is to run `make generate` in the root -of the repository and then commit the resulting changes to your branch/PR. See below for a way to _only_ build the settings extension assets. +of the repository and then commit the resulting changes to your branch/PR. ### Package Hierarchy - [ocis](https://github.com/owncloud/ocis) - [ocis-settings](https://github.com/owncloud/ocis/tree/master/settings) - -#### Updating ocis-settings - -1. Make sure you are inside the [ocis repository](https://github.com/owncloud/ocis) and on your feature branch -2. Change into settings' asset package folder via `cd settings/pkg/assets` -3. Inside `settings/pkg/assets`, run `go generate`. The output should look something like this: `settings: embed.go - YYY/MM/DD ... to write [./embed.go] from config file ...` -4. Commit your changes, push them and [create a PR](https://github.com/owncloud/ocis/pulls) diff --git a/docs/extensions/web/releasing.md b/docs/extensions/web/releasing.md index b1f6ea1a797..22a7a489b34 100644 --- a/docs/extensions/web/releasing.md +++ b/docs/extensions/web/releasing.md @@ -16,7 +16,7 @@ To update this package within all the deliveries, we need to update the package ### Package Hierarchy -- [ocis](https://githug.com/owncloud/ocis) +- [ocis](https://github.com/owncloud/ocis) - [ocis-web](https://github.com/owncloud/ocis/tree/master/web) - [ocis-pkg](https://github.com/owncloud/ocis/tree/master/ocis-pkg) - [ownCloud Web](https://github.com/owncloud/web)