Add release guides for accounts & settings, fix issue link in settings/package.json

This commit is contained in:
Pascal Wengerter
2021-04-22 00:17:19 +01:00
parent cc8f0c9b94
commit a97d141ccb
3 changed files with 55 additions and 1 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -8,7 +8,7 @@
"author": "ownCloud GmbH <devops@owncloud.com>",
"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": {