-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- jslint - Allow destructuring-assignment after function-definition. - ci - Replace npm-package used to auto-build vscode-plugin, vsce to @vscode/vsce. - test - Update test-function jstestDescribe() to wait awhile for imports to initialize before running tests. - ci - Fix tmpdir in shell-function shBrowserScreenshot(). - vim - Allow installing vim-plugin to any directory, instead of hardcoded to ~/.vim/. - ci - Update github-ci for actions/cache, actions/setup-python from nodejs v16 to nodejs v20. - ci - Update shell-function shRollupFetch() to fix blank date-committed. - ci - bugfix - Fix google-chrome unable to create screenshot because user-data-dir is /dev/null.
- Loading branch information
Showing
5 changed files
with
86 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Douglas Crockford <[email protected]> | |
|
||
|
||
# Status | ||
| Branch | [master<br>(v2023.10.24)](https://github.com/jslint-org/jslint/tree/master) | [beta<br>(Web Demo)](https://github.com/jslint-org/jslint/tree/beta) | [alpha<br>(Development)](https://github.com/jslint-org/jslint/tree/alpha) | | ||
| Branch | [master<br>(v2024.3.21)](https://github.com/jslint-org/jslint/tree/master) | [beta<br>(Web Demo)](https://github.com/jslint-org/jslint/tree/beta) | [alpha<br>(Development)](https://github.com/jslint-org/jslint/tree/alpha) | | ||
|--:|:--:|:--:|:--:| | ||
| CI | [](https://github.com/jslint-org/jslint/actions?query=branch%3Amaster) | [](https://github.com/jslint-org/jslint/actions?query=branch%3Abeta) | [](https://github.com/jslint-org/jslint/actions?query=branch%3Aalpha) | | ||
| Coverage | [](https://jslint-org.github.io/jslint/branch-master/.artifact/coverage/index.html) | [](https://jslint-org.github.io/jslint/branch-beta/.artifact/coverage/index.html) | [](https://jslint-org.github.io/jslint/branch-alpha/.artifact/coverage/index.html) | | ||
|
@@ -74,9 +74,9 @@ Douglas Crockford <[email protected]> | |
12. [License](#license) | ||
|
||
13. [Devops Instruction](#devops-instruction) | ||
- [pull-request merge](#pull-request-merge) | ||
- [branch-master commit](#branch-master-commit) | ||
- [branch-master publish](#branch-master-publish) | ||
- [pull-request merge](#pull-request-merge) | ||
- [vscode-jslint publish](#vscode-jslint-publish) | ||
|
||
|
||
|
@@ -915,17 +915,35 @@ eval("1"); //jslint-ignore-line | |
|
||
|
||
<br><br> | ||
### branch-master commit | ||
- $ `shGitSquashPop <commit-beta> '# v20yy.mm.dd\n<release notes from CHANGELOG.md>'` | ||
- verify correct-year `20yy` | ||
- $ `git push origin alpha:branch-v20yy.mm.dd` | ||
- $ `git push upstream alpha -f` | ||
### pull-request merge | ||
- find highest issue-number at https://github.com/jslint-org/jslint/issues/, https://github.com/jslint-org/jslint/pulls/, and add +1 to it for PR-xxx | ||
```shell | ||
npm run test2 | ||
shGitSquashPop beta '<commit-message>' | ||
git push origin alpha:branch_xxx | ||
git push origin alpha -f | ||
git push upstream alpha -f | ||
``` | ||
- verify ci-success for origin-branch-alpha | ||
- https://github.com/kaizhu256/jslint/actions/workflows/ci.yml | ||
- verify ci-success for upstream-branch-alpha | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
- goto https://github.com/kaizhu256/jslint/pulls | ||
- click `New pull request` | ||
- click `base repository: jslint-org/jslint base:beta` | ||
- click `head repository: kaizhu256/jslint compare:branch-v20yy.mm.dd` | ||
- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:alpha | ||
- click `head repository: kaizhu256/jslint compare:<branch-to-merge>` | ||
- click `Create pull request` | ||
- `Add a description` template: | ||
``` | ||
Fixes #xxx. | ||
- <primary-commit-message> | ||
This PR will ... | ||
this PR will additionally: | ||
- <secondary-commit-message> | ||
... | ||
<screenshot> | ||
``` | ||
- verify `commit into jslint-org:beta` | ||
- click `Create pull request` | ||
- verify ci-success for pull-request | ||
|
@@ -948,59 +966,34 @@ git push upstream alpha -f | |
- verify ci-success for upstream-branch-alpha | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
- click `Delete branch` | ||
```shell | ||
git push origin beta:master | ||
git push upstream beta:master | ||
``` | ||
- verify ci-success for origin-branch-master | ||
- https://github.com/kaizhu256/jslint/actions/workflows/ci.yml | ||
- verify ci-success for upstream-branch-master | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
|
||
|
||
<br><br> | ||
### branch-master publish | ||
- $ `git push upstream beta:master` | ||
- verify ci-success for upstream-branch-master | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
- goto https://github.com/jslint-org/jslint/releases/new | ||
- input tag `v20yy.mm.dd` | ||
- click `Create new tag: v20yy.mm.dd on publish` | ||
- verify correct-year `20yy` | ||
- click `Target: master` | ||
- input `Release title: v20yy.mm.dd - <description>` | ||
- copy-paste release notes from CHANGELOG.md | ||
- click `Generate release notes` | ||
- click `Set as the latest release` | ||
- click `Preview` and review | ||
- click `Publish release` | ||
- verify ci-success for upstream-branch-publish | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
- verify email-notification `Successfully published @jslint-org/[email protected]` | ||
|
||
|
||
<br><br> | ||
### pull-request merge | ||
- find highest issue-number at https://github.com/jslint-org/jslint/issues/, https://github.com/jslint-org/jslint/pulls/, and add +1 to it for PR-xxx | ||
### branch-master commit | ||
- update CHANGELOG.md `#v20yy.mm.dd` to today's date | ||
```shell | ||
git push origin alpha:branch_xxx | ||
git push upstream alpha | ||
npm run test2 | ||
shGitSquashPop beta ' | ||
# v20yy.mm.dd | ||
- <primary-commit-message> | ||
- <secondary-commit-message> | ||
' | ||
git diff origin/branch-v20yy.mm.dd | ||
git push origin alpha:branch-v20yy.mm.dd | ||
git push origin alpha -f | ||
git push upstream alpha -f | ||
``` | ||
- verify ci-success for origin-branch-alpha | ||
- https://github.com/kaizhu256/jslint/actions/workflows/ci.yml | ||
- verify ci-success for upstream-branch-alpha | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
- goto https://github.com/jslint-org/jslint/compare/beta...kaizhu256:jslint:alpha | ||
- select branch to merge | ||
- click `head repository: kaizhu256/jslint compare:branch-v20yy.mm.dd` | ||
- click `Create pull request` | ||
- `Add a title` template: `#v20yy.mm.dd` | ||
- `Add a description` template: | ||
``` | ||
Fixes #xxx. | ||
- <primary-commit-message> | ||
This PR will ... | ||
this PR will additionally: | ||
- <secondary-commit-messages> | ||
... | ||
<screenshot> | ||
<release notes from CHANGELOG.md> | ||
``` | ||
- verify `commit into jslint-org:beta` | ||
- click `Create pull request` | ||
|
@@ -1024,6 +1017,40 @@ git push upstream alpha -f | |
- verify ci-success for upstream-branch-alpha | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
- click `Delete branch` | ||
```shell | ||
git push origin beta:master | ||
git push upstream beta:master | ||
``` | ||
- verify ci-success for origin-branch-master | ||
- https://github.com/kaizhu256/jslint/actions/workflows/ci.yml | ||
- verify ci-success for upstream-branch-master | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
|
||
|
||
<br><br> | ||
### branch-master publish | ||
- $ `git push upstream beta:master` | ||
- verify ci-success for upstream-branch-master | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
- goto https://github.com/jslint-org/jslint/releases/new | ||
- `Choose a tag` template: `v20yy.mm.dd` | ||
- click `Create new tag: v20yy.mm.dd on publish` | ||
- verify correct-year `20yy` | ||
- select `Target: master` | ||
- select `Previous tag:auto` | ||
- `Release title` template: `v20yy.mm.dd - <primary-commit-message>` | ||
- `Describe this release` template: | ||
``` | ||
- <primary-commit-message> | ||
- <secondary-commit-message> | ||
``` | ||
- click `Generate release notes` | ||
- click `Set as the latest release` | ||
- click `Preview` and review | ||
- click `Publish release` | ||
- verify ci-success for upstream-branch-publish | ||
- https://github.com/jslint-org/jslint/actions/workflows/ci.yml | ||
- verify email-notification `Successfully published @jslint-org/[email protected]` | ||
|
||
|
||
<br><br> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters