-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ES-DOC/esdoc-errata-client
- Loading branch information
Showing
1 changed file
with
17 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
"source": [ | ||
"Setting up errata access\n", | ||
"-----------------------\n", | ||
"1. Contact your ES-DOC-ERRATA administrator to be part the organization team specified for the institute and project you on behalf of which wishes to publish errata.\n", | ||
"1. Ask authorization for errata publication: authorization is controlled using GitHub’s organizations invitational based structure. The ES-DOC officers are the only person qualified to add GitHub users to the requested teams. For the authorization, a user needs to be part of the organization team specified for the institute and project he/she on behalf of which wishes to publish errata. Ask [Mark Greenslate](mailto:[email protected]) or [David Hassell](mailto:[email protected]) to add your GitHub username as part of the `cmip6-<your_institute>` and `errata-publication` teams of the `ES-DOC-INSTITUTIONAL` organization\n", | ||
"2. Go on [your GitHub profile](https://github.com/settings/profile)\n", | ||
"3. Click on **[Developer Settings](https://github.com/settings/developers)**\n", | ||
"4. Click on **[Personal Access Token](https://github.com/settings/tokens)**\n", | ||
|
@@ -59,6 +59,7 @@ | |
"esgissue changepass --oldpass xxxxxxxxx --newpass xxxxxxxx\n", | ||
"\n", | ||
"# Solution 2: export your GitHub token as an environement variable\n", | ||
"export ESDOC_HOME=~/.esdoc\n", | ||
"export ERRATA_GITHUB_USERNAME=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n", | ||
"export ERRATA_CLIENT_GITHUB_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | ||
] | ||
|
@@ -87,17 +88,19 @@ | |
" \"project\": \"cmip6\",\n", | ||
" \"severity\": \"medium\",\n", | ||
" \"materials\": [\n", | ||
" \"http://myerrata.com/images/before.jpg\",\n", | ||
" \"http://myerrata.com/images/after.jpg\"\n", | ||
" \"https://upload.wikimedia.org/wikipedia/commons/a/a4/Socrates_Louvre.jpg\",\n", | ||
" \"https://upload.wikimedia.org/wikipedia/commons/b/b0/Ethanol-3D-balls.png\"\n", | ||
" ],\n", | ||
" \"url\": \"http://websitetest.com/\"\n", | ||
" \"urls\": [\n", | ||
" \"http://www.bbc.co.uk/weather/2655262\"\n", | ||
" ]\n", | ||
"}\n", | ||
"EOF\n", | ||
"\n", | ||
"# List the affected dataset IDs\n", | ||
"cat << EOF > dsets.txt\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6-1.historical.r1i1p1f1.3hr.clt.gr.v20170531\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6-1.historical.r1i1p1f1.Amon.tas.gr.v20170531\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6A-LR.historical.r1i1p1f1.3hr.clt.gr.v20170531\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6A-LR.historical.r1i1p1f1.Amon.tas.gr.v20170531\n", | ||
"EOF\n", | ||
"\n", | ||
"# Register the issue\n", | ||
|
@@ -136,10 +139,12 @@ | |
" \"project\": \"cmip6\",\n", | ||
" \"severity\": \"critical\",\n", | ||
" \"materials\": [\n", | ||
" \"http://myerrata.com/images/before.jpg\",\n", | ||
" \"http://myerrata.com/images/after.jpg\"\n", | ||
" \"https://upload.wikimedia.org/wikipedia/commons/a/a4/Socrates_Louvre.jpg\",\n", | ||
" \"https://upload.wikimedia.org/wikipedia/commons/b/b0/Ethanol-3D-balls.png\"\n", | ||
" ],\n", | ||
" \"urls\": [\n", | ||
" \"http://www.bbc.co.uk/weather/2655262\"\n", | ||
" ],\n", | ||
" \"url\": \"http://websitetest.com/\",\n", | ||
" \"status\": \"onhold\",\n", | ||
" \"dateClosed\": \"YYYY-MM-DD HH:MM:SS\",\n", | ||
" \"dateUpdated\": \"YYYY-MM-DD HH:MM:SS\"\n", | ||
|
@@ -148,9 +153,9 @@ | |
"\n", | ||
"# Modify the affected dataset IDs list\n", | ||
"cat << EOF > dsets.txt\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6-1.historical.r1i1p1f1.6hr.clt.gr.v20170531\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6-1.historical.r1i1p1f1.Amon.tas.gr.v20170531\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6-1.historical.r1i1p1f1.day.tas.gr.v20170630\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6A-LR.historical.r1i1p1f1.6hr.clt.gr.v20170531\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6A-LR.historical.r1i1p1f1.Amon.tas.gr.v20170531\n", | ||
"cmip6.CMIP.IPSL.IPSL-CM6A-LR.historical.r1i1p1f1.day.tas.gr.v20170630\n", | ||
"EOF\n", | ||
"\n", | ||
"# Update the issue\n", | ||
|