Skip to content

Commit 40c1680

Browse files
ascobietimotheeguerin
authored andcommitted
Release 0.10.0 (#919)
* getting things ready for the relese * change to 3rd party script, changelog * Fix
1 parent ed44148 commit 40c1680

File tree

5 files changed

+181
-97
lines changed

5 files changed

+181
-97
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# 0.10.0
2+
[All items](https://github.com/Azure/BatchLabs/milestone/11?closed=1)
3+
4+
### Feature:
5+
6+
* Move breadcrumb in the header [\#906](https://github.com/Azure/BatchLabs/issues/906)
7+
* Create Pool/Job/Task monaco json editor intellisense [\#888](https://github.com/Azure/BatchLabs/issues/888)
8+
* Log viewer should switch to monaco editor [\#882](https://github.com/Azure/BatchLabs/issues/882)
9+
* Pause notification dismiss timeout when hovering the notification [\#879](https://github.com/Azure/BatchLabs/issues/879)
10+
* Allow to pick expiry time for user when connecting to a node [\#878](https://github.com/Azure/BatchLabs/issues/878)
11+
* Node files display message when node is not available [\#876](https://github.com/Azure/BatchLabs/issues/876)
12+
* Move from Codemirror to Monaco editor [\#870](https://github.com/Azure/BatchLabs/issues/870)
13+
* Make notification stay longer on the screen [\#848](https://github.com/Azure/BatchLabs/issues/848)
14+
* Ability to write json payload in the create forms and submit instead of UI [\#844](https://github.com/Azure/BatchLabs/issues/844)
15+
* Allow users to create empty file groups [\#826](https://github.com/Azure/BatchLabs/issues/826)
16+
17+
### Bug:
18+
19+
* Data upload in file group is not working [\#912](https://github.com/Azure/BatchLabs/issues/912)
20+
* Create empty file-group doesn't validate container name [\#905](https://github.com/Azure/BatchLabs/issues/905)
21+
* CSS for "forms in progress" needs updating and fonts made readable and consistent [\#904](https://github.com/Azure/BatchLabs/issues/904)
22+
* Switching fast between pools crash UI [\#898](https://github.com/Azure/BatchLabs/issues/898)
23+
* CSS bug when too many files in task outputs file explorer [\#893](https://github.com/Azure/BatchLabs/issues/893)
24+
* Account quota not updating when refreshing [\#885](https://github.com/Azure/BatchLabs/issues/885)
25+
* Missing SKU details about Linux N series VM [\#872](https://github.com/Azure/BatchLabs/issues/872)
26+
27+
### Other:
28+
29+
* Prepare release 0.10.0 [\#915](https://github.com/Azure/BatchLabs/issues/915)
30+
* Useragent should include OS [\#895](https://github.com/Azure/BatchLabs/issues/895)
31+
* Should we integrate Application Insights into Batch Labs? [\#824](https://github.com/Azure/BatchLabs/issues/824)
32+
* Refactor rx-list-proxy to a new system [\#814](https://github.com/Azure/BatchLabs/issues/814)
33+
* Suggest using iconography instead of a label for the breadcrumb bar [\#696](https://github.com/Azure/BatchLabs/issues/696)
34+
* Ability to pin Jobs, Tasks, or Pools. [\#456](https://github.com/Azure/BatchLabs/issues/456)
35+
* Add typing to RxProxy options [\#204](https://github.com/Azure/BatchLabs/issues/204)
36+
* Perf counter support [\#112](https://github.com/Azure/BatchLabs/issues/112)
37+
138
# 0.9.0
239
[All items](https://github.com/Azure/BatchLabs/milestone/10?closed=1)
340

ThirdPartyNotices.txt

Lines changed: 112 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,34 @@ Microsoft reserves all other rights not expressly granted under this agreement,
1919
9. @angular/platform-browser(https://github.com/angular/angular) - MIT
2020
10. @angular/platform-browser-dynamic(https://github.com/angular/angular) - MIT
2121
11. @angular/router(https://github.com/angular/angular/tree/master/packages/router) - MIT
22-
12. @angular/tsc-wrapped(https://github.com/angular/angular/blob/master/tools/@angular/tsc-wrapped) - MIT
23-
13. @tweenjs/tween.js(https://github.com/tweenjs/tween.js) - MIT
24-
14. @types/node-fetch(https://github.com/DefinitelyTyped/DefinitelyTyped) - MIT
25-
15. azure-batch-js(http://github.com/azure/azure-sdk-for-javascript) - MIT
26-
16. azure-storage(http://github.com/Azure/azure-storage-node) - Apache-2.0
27-
17. bunyan(https://github.com/trentm/node-bunyan) - MIT
28-
18. chart.js(http://www.chartjs.org) - MIT
29-
19. codemirror(http://codemirror.net) - MIT
30-
20. core-decorators(https://github.com/jayphelps/core-decorators.js) - MIT
31-
21. d3(https://d3js.org) - BSD-3-Clause
32-
22. download(https://github.com/kevva/download) - MIT
33-
23. electron-updater(https://github.com/electron-userland/electron-builder) - MIT
34-
24. element-resize-detector(https://github.com/wnr/element-resize-detector) - MIT
35-
25. extract-zip(https://github.com/maxogden/extract-zip) - BSD-2-Clause
36-
26. font-awesome(http://fontawesome.io/) - (OFL-1.1 AND MIT)
37-
27. hammerjs(http://hammerjs.github.io/) - MIT
38-
28. immutable(https://facebook.github.com/immutable-js) - BSD-3-Clause
39-
29. inflection(https://github.com/dreamerslab/node.inflection) - MIT
40-
30. mkdirp(https://github.com/substack/node-mkdirp) - MIT
41-
31. moment(http://momentjs.com) - MIT
42-
32. moment-duration-format(https://github.com/jsmreese/moment-duration-format) - MIT
43-
33. mousetrap(https://github.com/ccampbell/mousetrap) - Apache-2.0
44-
34. ms-rest-js(https://github.com/Azure/ms-rest-js) - MIT
45-
35. node-fetch(https://github.com/bitinn/node-fetch) - MIT
46-
36. reflect-metadata(http://rbuckton.github.io/reflect-metadata) - Apache-2.0
47-
37. roboto-fontface(https://github.com/choffmeister/roboto-fontface-bower) - Apache-2.0
48-
38. rxjs(https://github.com/ReactiveX/RxJS) - Apache-2.0
49-
39. strip-json-comments(https://github.com/sindresorhus/strip-json-comments) - MIT
22+
12. @tweenjs/tween.js(https://github.com/tweenjs/tween.js) - MIT
23+
13. @types/node-fetch(https://github.com/DefinitelyTyped/DefinitelyTyped) - MIT
24+
14. azure-batch-js(http://github.com/azure/azure-sdk-for-javascript) - MIT
25+
15. azure-storage(http://github.com/Azure/azure-storage-node) - Apache-2.0
26+
16. bunyan(https://github.com/trentm/node-bunyan) - MIT
27+
17. chart.js(http://www.chartjs.org) - MIT
28+
18. core-decorators(https://github.com/jayphelps/core-decorators.js) - MIT
29+
19. d3(https://d3js.org) - BSD-3-Clause
30+
20. download(https://github.com/kevva/download) - MIT
31+
21. electron-updater(https://github.com/electron-userland/electron-builder) - MIT
32+
22. element-resize-detector(https://github.com/wnr/element-resize-detector) - MIT
33+
23. extract-zip(https://github.com/maxogden/extract-zip) - BSD-2-Clause
34+
24. font-awesome(http://fontawesome.io/) - (OFL-1.1 AND MIT)
35+
25. hammerjs(http://hammerjs.github.io/) - MIT
36+
26. immutable(https://facebook.github.com/immutable-js) - MIT
37+
27. inflection(https://github.com/dreamerslab/node.inflection) - MIT
38+
28. mkdirp(https://github.com/substack/node-mkdirp) - MIT
39+
29. moment(http://momentjs.com) - MIT
40+
30. moment-duration-format(https://github.com/jsmreese/moment-duration-format) - MIT
41+
31. monaco-editor(https://github.com/Microsoft/monaco-editor) - MIT
42+
32. mousetrap(https://github.com/ccampbell/mousetrap) - Apache-2.0
43+
33. ms-rest-js(https://github.com/Azure/ms-rest-js) - MIT
44+
34. node-fetch(https://github.com/bitinn/node-fetch) - MIT
45+
35. reflect-metadata(http://rbuckton.github.io/reflect-metadata) - Apache-2.0
46+
36. roboto-fontface(https://github.com/choffmeister/roboto-fontface-bower) - Apache-2.0
47+
37. rxjs(https://github.com/ReactiveX/RxJS) - Apache-2.0
48+
38. strip-json-comments(https://github.com/sindresorhus/strip-json-comments) - MIT
49+
39. write-file-webpack-plugin(https://github.com/gajus/write-file-webpack-plugin) - BSD-3-Clause
5050
40. zone.js(https://github.com/angular/zone.js) - MIT
5151
41. websockets(https://github.com/aaugustin/websockets) - BSD-3-Clause
5252
42. azure-batch-cli-extensions(https://github.com/Azure/azure-batch-cli-extensions) - MIT
@@ -401,35 +401,6 @@ THE SOFTWARE.
401401
End license for @angular/router
402402
============================================================
403403

404-
============================================================
405-
Start license for @angular/tsc-wrapped
406-
------------------------------------------------------------
407-
The MIT License
408-
409-
Copyright (c) 2014-2017 Google, Inc. http://angular.io
410-
411-
Permission is hereby granted, free of charge, to any person obtaining a copy
412-
of this software and associated documentation files (the "Software"), to deal
413-
in the Software without restriction, including without limitation the rights
414-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
415-
copies of the Software, and to permit persons to whom the Software is
416-
furnished to do so, subject to the following conditions:
417-
418-
The above copyright notice and this permission notice shall be included in
419-
all copies or substantial portions of the Software.
420-
421-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
422-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
423-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
424-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
426-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
427-
THE SOFTWARE.
428-
429-
------------------------------------------------------------
430-
End license for @angular/tsc-wrapped
431-
============================================================
432-
433404
============================================================
434405
Start license for @tweenjs/tween.js
435406
------------------------------------------------------------
@@ -712,35 +683,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
712683
End license for chart.js
713684
============================================================
714685

715-
============================================================
716-
Start license for codemirror
717-
------------------------------------------------------------
718-
MIT License
719-
720-
Copyright (C) 2017 by Marijn Haverbeke <marijnh@gmail.com> and others
721-
722-
Permission is hereby granted, free of charge, to any person obtaining a copy
723-
of this software and associated documentation files (the "Software"), to deal
724-
in the Software without restriction, including without limitation the rights
725-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
726-
copies of the Software, and to permit persons to whom the Software is
727-
furnished to do so, subject to the following conditions:
728-
729-
The above copyright notice and this permission notice shall be included in
730-
all copies or substantial portions of the Software.
731-
732-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
733-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
734-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
735-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
736-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
737-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
738-
THE SOFTWARE.
739-
740-
------------------------------------------------------------
741-
End license for codemirror
742-
============================================================
743-
744686
============================================================
745687
Start license for core-decorators
746688
------------------------------------------------------------
@@ -1121,6 +1063,35 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11211063
End license for moment-duration-format
11221064
============================================================
11231065

1066+
============================================================
1067+
Start license for monaco-editor
1068+
------------------------------------------------------------
1069+
The MIT License (MIT)
1070+
1071+
Copyright (c) 2017 Microsoft Corporation
1072+
1073+
Permission is hereby granted, free of charge, to any person obtaining a copy
1074+
of this software and associated documentation files (the "Software"), to deal
1075+
in the Software without restriction, including without limitation the rights
1076+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1077+
copies of the Software, and to permit persons to whom the Software is
1078+
furnished to do so, subject to the following conditions:
1079+
1080+
The above copyright notice and this permission notice shall be included in all
1081+
copies or substantial portions of the Software.
1082+
1083+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1084+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1085+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1086+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1087+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1088+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1089+
SOFTWARE.
1090+
1091+
------------------------------------------------------------
1092+
End license for monaco-editor
1093+
============================================================
1094+
11241095
============================================================
11251096
Start license for mousetrap
11261097
------------------------------------------------------------
@@ -1861,6 +1832,38 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
18611832
End license for strip-json-comments
18621833
============================================================
18631834

1835+
============================================================
1836+
Start license for write-file-webpack-plugin
1837+
------------------------------------------------------------
1838+
Copyright (c) 2016, Gajus Kuizinas (http://gajus.com/)
1839+
All rights reserved.
1840+
1841+
Redistribution and use in source and binary forms, with or without
1842+
modification, are permitted provided that the following conditions are met:
1843+
* Redistributions of source code must retain the above copyright
1844+
notice, this list of conditions and the following disclaimer.
1845+
* Redistributions in binary form must reproduce the above copyright
1846+
notice, this list of conditions and the following disclaimer in the
1847+
documentation and/or other materials provided with the distribution.
1848+
* Neither the name of the Gajus Kuizinas (http://gajus.com/) nor the
1849+
names of its contributors may be used to endorse or promote products
1850+
derived from this software without specific prior written permission.
1851+
1852+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1853+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1854+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1855+
DISCLAIMED. IN NO EVENT SHALL ANUARY BE LIABLE FOR ANY
1856+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1857+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1858+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1859+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1860+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1861+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1862+
1863+
------------------------------------------------------------
1864+
End license for write-file-webpack-plugin
1865+
============================================================
1866+
18641867
============================================================
18651868
Start license for zone.js
18661869
------------------------------------------------------------
@@ -2000,6 +2003,29 @@ maintained libraries.
20002003

20012004
The externally maintained libraries used by Node.js are:
20022005

2006+
- Acorn, located at deps/acorn, is licensed as follows:
2007+
"""
2008+
Copyright (C) 2012-2017 by various contributors (see AUTHORS)
2009+
2010+
Permission is hereby granted, free of charge, to any person obtaining a copy
2011+
of this software and associated documentation files (the "Software"), to deal
2012+
in the Software without restriction, including without limitation the rights
2013+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2014+
copies of the Software, and to permit persons to whom the Software is
2015+
furnished to do so, subject to the following conditions:
2016+
2017+
The above copyright notice and this permission notice shall be included in
2018+
all copies or substantial portions of the Software.
2019+
2020+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2021+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2022+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2023+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2024+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2025+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2026+
THE SOFTWARE.
2027+
"""
2028+
20032029
- c-ares, located at deps/cares, is licensed as follows:
20042030
"""
20052031
Copyright (c) 2007 - 2016, Daniel Stenberg with many contributors, see AUTHORS

docs/new-release.md

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ Create a new issue in the millestone with the title `Prepare version x.y.z` and
1010
```md
1111
- [ ] Update version in package.json
1212
- [ ] Update changelog
13-
- [ ] Update third party notices if needed `npm run ts scripts/lca/generate-third-party`
13+
- [ ] Update third party notices if needed
1414
- [ ] Double check the prod build is working
1515
```
1616

1717
This will help with tracking the required task for a new release.
1818

1919
## Step 2: Perform above task
2020

21+
Create a branch called release/prepare-<milestone>, i.e. release/prepare-0.10.0
22+
2123
#### Update version in package.json
2224

2325
This is quite straightforward. Just change the following line to have the version wanted
@@ -41,13 +43,31 @@ Example:
4143
* Added this awesome thing in the pool details [\#123](https://github.com/Azure/BatchLabs/issues/123)
4244
```
4345

46+
**Note:** There is now a utility to generate the change log for a millestone also so you don't have to write it manually.
47+
[https://www.npmjs.com/package/github-changelog-gen](https://www.npmjs.com/package/github-changelog-gen)
48+
49+
50+
#### Update third party notices
51+
Running the following command will update any required third party notices.
52+
```
53+
npm run ts scripts/lca/generate-third-party
54+
```
55+
56+
You might see an error like:
57+
```
58+
const value = match[1];
59+
^
60+
TypeError: Cannot read property '1' of null
61+
```
62+
63+
This probably means that a dependancy in package.json has a differnt format to what we are expecting.
64+
4465
#### Double check the prod build is working
4566

4667
Travis should check on master that the build itself it not failing. However there could still be runtime errors that happens.
4768
Do the following and test the application.
4869
```
49-
npm run build:prod
50-
npm run electron:prod
70+
npm run build-and-pack
5171
```
5272

5373

@@ -63,9 +83,10 @@ Then click on merge commit(Make sure it is not squash merge)
6383
All the commits in master should now be in stable with the merge commit.
6484
Now disable the "Allow merge commit" again to prevent mistake when merging to master.
6585

66-
## Step 5: Create a new github release
67-
68-
* Go to github [release](https://github.com/Azure/BatchLabs/releases).
69-
* Click "Draft a new release".
70-
* Enter the version number in the tag and title
71-
* Copy the changelog(only for the version) in the description
86+
## Step 5: Publish the release
87+
* Wait for the CI to test and build stable branch [Travis](https://travis-ci.org/Azure/BatchLabs/branches)
88+
* Go to github [release](https://github.com/Azure/BatchLabs/releases).
89+
* You should see a new draft release with the new version
90+
* Double check every platform executable and installer is present(exe, app, zip, dmg, deb, rpm)
91+
* Copy the changelog(only for the version) in the description
92+
* Click publish release(Mark as pre-release for now)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "Microsoft Corporation",
1010
"email": "tiguerin@microsoft.com"
1111
},
12-
"version": "0.9.0",
12+
"version": "0.10.0",
1313
"main": "build/client/main.prod.js",
1414
"scripts": {
1515
"ts": "ts-node --project tsconfig.node.json",

scripts/lca/generate-third-party.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const defaultThirdPartyNoticeOptions: ThirdPartyNoticeOptions = {
1717
const thirdPartyNoticeFile = path.join(Constants.root, "ThirdPartyNotices.txt");
1818

1919
const output = [];
20-
const gitUrlRegex = /(?:git|ssh|https?|git@[-\w.]+):(\/\/[-\w.]+\/)?(.*?)(\.git)(\/?|\#[-\d\w._]+?)$/;
20+
const gitUrlRegex = /(?:git|ssh|https?|git@[-\w.]+):(\/\/[-\w.]+\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$/;
2121
const repoNameRegex = /https?:\/\/github\.com\/(.*)/;
2222
const innerSeparator = "-".repeat(60);
2323
const outerSeparator = "=".repeat(60);

0 commit comments

Comments
 (0)