diff options
Diffstat (limited to 'support/doc/development')
-rw-r--r-- | support/doc/development/localization.md | 7 | ||||
-rw-r--r-- | support/doc/development/release.md | 20 |
2 files changed, 27 insertions, 0 deletions
diff --git a/support/doc/development/localization.md b/support/doc/development/localization.md index 97e9e2c51..1664532fe 100644 --- a/support/doc/development/localization.md +++ b/support/doc/development/localization.md | |||
@@ -31,3 +31,10 @@ Then, `iso639` files will be merged in `server` files (so we have only one JSON | |||
31 | ``` | 31 | ``` |
32 | $ zanata-cli pull | 32 | $ zanata-cli pull |
33 | ``` | 33 | ``` |
34 | |||
35 | ## Support a new language | ||
36 | |||
37 | * Add it to [/shared/models/i18n/i18n.ts](/shared/models/i18n/i18n.ts) | ||
38 | * Add it to [/scripts/build/client.sh](/scripts/build/client.sh) | ||
39 | * Pull using zanata (that will execute hooks to correctly generate files of this new language) | ||
40 | * Build the application and check the new language correctly works | ||
diff --git a/support/doc/development/release.md b/support/doc/development/release.md new file mode 100644 index 000000000..352a1f0d3 --- /dev/null +++ b/support/doc/development/release.md | |||
@@ -0,0 +1,20 @@ | |||
1 | # Release | ||
2 | |||
3 | * Fix remaining important bugs | ||
4 | * Update [/CHANGELOG.md](/CHANGELOG.md) | ||
5 | * Check migrations: | ||
6 | * `npm run clean:server:test` | ||
7 | * `git checkout master && rm -r ./node_modules && yarn install --pure-lockfile && npm run build:server` | ||
8 | * `NODE_APP_INSTANCE=6 NODE_ENV=test npm run start` and quit after initialization | ||
9 | * `git checkout develop && rm -r ./node_modules && yarn install --pure-lockfile && npm run build:server` | ||
10 | * `NODE_APP_INSTANCE=6 NODE_ENV=test npm run start` and check migrations does not fail | ||
11 | * Run `rm -r node_modules && rm -r client/node_modules && yarn install --pure-lockfile && npm run build` to see if all the supported languages compile correctly | ||
12 | * Update https://peertube2.cpy.re and check it works correctly | ||
13 | * Check Travis tests are green | ||
14 | * Run E2E tests: `BROWSERSTACK_USER=my_user BROWSERSTACK_KEY=my_key npm run e2e` | ||
15 | * Release: `GITHUB_TOKEN=my_token npm run release -- 1.x.x` | ||
16 | * Create a dedicated branch: `git checkout -b release/1.x.x && git push origin release/1.x.x` | ||
17 | * Check the release is okay: https://github.com/Chocobozzz/PeerTube/releases | ||
18 | * Update https://peertube3.cpy.re and check it works correctly | ||
19 | * Update all other instances and check it works correctly | ||
20 | * Communicate on Mastodon & peertube-admin mailing list | ||