Skip to content

Commit c196a3d

Browse files
authored
Merge pull request #157 from rkdarst/split-changelog
Split changelog to CHANGELOG.md
2 parents 325aab9 + b24d50b commit c196a3d

File tree

2 files changed

+67
-65
lines changed

2 files changed

+67
-65
lines changed

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Changelog
2+
3+
## dev (requires minimum JupyterHub 0.9 and Python 3.5)
4+
5+
Added (user)
6+
7+
* Add Jinja2 templating as an option for all scripts and commands. If '{{' or `{%` is used anywhere in the string, it is used as a jinja2 template.
8+
* Add new option exec_prefix, which defaults to `sudo -E -u {username}`. This replaces explicit `sudo` in every batch command - changes in local commands may be needed.
9+
* New option: `req_keepvars_extra`, which allows keeping extra variables in addition to what is defined by JupyterHub itself (addition of variables to keep instead of replacement). #99
10+
* Add `req_prologue` and `req_epilogue` options to scripts which are inserted before/after the main jupyterhub-singleuser command, which allow for generic setup/cleanup without overriding the entire script. #96
11+
* SlurmSpawner: add the `req_reservation` option. #91
12+
* Add basic support for JupyterHub progress updates, but this is not used much yet. #86
13+
14+
Added (developer)
15+
16+
* Add many more tests.
17+
* Add a new page `SPAWNERS.md` which information on specific spawners. Begin trying to collect a list of spawner-specific contacts. #97
18+
* Rename `current_ip` and `current_port` commands to `ip` and `port`. No user impact. #139
19+
* Update to Python 3.5 `async` / `await` syntax to support JupyterHub progress updates. #90
20+
21+
Changed
22+
23+
* PR #58 and #141 changes logic of port selection, so that it is selected *after* the singleuser server starts. This means that the port number has to be conveyed back to JupyterHub. This requires the following changes:
24+
- `jupyterhub_config.py` *must* explicitely import `batchspawner`
25+
- Add a new option `batchspawner_singleuser_cmd` which is used as a wrapper in the single-user servers, which conveys the remote port back to JupyterHub. This is now an integral part of the spawn process.
26+
- If you have installed with `pip install -e`, you will have to re-install so that the new script `batchspawner-singleuser` is added to `$PATH`.
27+
* Update minimum requirements to JupyterHub 0.9 and Python 3.5. #143
28+
* Update Slurm batch script. Now, the single-user notebook is run in a job step, with a wrapper of `srun`. This may need to be removed using `req_srun=''` if you don't want environment variables limited.
29+
* Pass the environment dictionary to the queue and cancel commands as well. This is mostly user environment, but may be useful to these commands as well in some cases. #108, #111 If these environment variables were used for authentication as an admin, be aware that there are pre-existing security issues because they may be passed to the user via the batch submit command, see #82.
30+
31+
32+
Fixed
33+
34+
* Improve debugging on failed submission by raising errors including error messages from the commands. #106
35+
* Many other non-user or developer visible changes. #107 #106 #100
36+
* In Travis CI, blacklist jsonschema=3.0.0a1 because it breaks tests
37+
38+
Removed
39+
40+
41+
## v0.8.1 (bugfix release)
42+
43+
* Fix regression: single-user server binding address is overwritten by previous session server address, resulting in failure to start. Issue #76
44+
45+
## v0.8.0 (compatible with JupyterHub 0.5.0 through 0.8.1/0.9dev)
46+
47+
* SlurmSpawner: Remove `--uid` for (at least) Slurm 17.11 compatibility. If you use `sudo`, this should not be necessary, but because this is security related you should check that user management is as you expect. If your configuration does not use `sudo` then you may need to add the `--uid` option in a custom `batch_script`.
48+
* add base options `req_ngpus` `req_partition` `req_account` and `req_options`
49+
* Fix up logging
50+
* Merge `user_options` with the template substitution vars instead of having it as a separate key
51+
* Update ip/port handling for JupyterHub 0.8
52+
* Add `LICENSE` (BSD3) and `CONTRIBUTING.md`
53+
* Add `LsfSpawner` for IBM LFS
54+
* Add `MultiSlurmSpawner`
55+
* Add `MoabSpawner`
56+
* Add `condorSpawner`
57+
* Add `GridEngineSpawner`
58+
* SlurmSpawner: add `req_qos` option
59+
* WrapSpawner and ProfilesSpawner, which provide mechanisms for runtime configuration of spawners, have been split out and moved to the [`wrapspawner`](https://github.com/jupyterhub/wrapspawner) package
60+
* Enable CI testing via Travis-CI
61+
62+
63+
## v0.3 (tag: jhub-0.3, compatible with JupyterHub 0.3.0)
64+
65+
* initial release containing `TorqueSpawner` and `SlurmSpawner`
66+

README.md

Lines changed: 1 addition & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -195,70 +195,6 @@ Common problems:
195195
JupyterHub.
196196

197197

198-
199198
## Changelog
200199

201-
### dev (requires minimum JupyterHub 0.9 and Python 3.5)
202-
203-
Added (user)
204-
205-
* Add Jinja2 templating as an option for all scripts and commands. If '{{' or `{%` is used anywhere in the string, it is used as a jinja2 template.
206-
* Add new option exec_prefix, which defaults to `sudo -E -u {username}`. This replaces explicit `sudo` in every batch command - changes in local commands may be needed.
207-
* New option: `req_keepvars_extra`, which allows keeping extra variables in addition to what is defined by JupyterHub itself (addition of variables to keep instead of replacement). #99
208-
* Add `req_prologue` and `req_epilogue` options to scripts which are inserted before/after the main jupyterhub-singleuser command, which allow for generic setup/cleanup without overriding the entire script. #96
209-
* SlurmSpawner: add the `req_reservation` option. #91
210-
* Add basic support for JupyterHub progress updates, but this is not used much yet. #86
211-
212-
Added (developer)
213-
214-
* Add many more tests.
215-
* Add a new page `SPAWNERS.md` which information on specific spawners. Begin trying to collect a list of spawner-specific contacts. #97
216-
* Rename `current_ip` and `current_port` commands to `ip` and `port`. No user impact. #139
217-
* Update to Python 3.5 `async` / `await` syntax to support JupyterHub progress updates. #90
218-
219-
Changed
220-
221-
* PR #58 and #141 changes logic of port selection, so that it is selected *after* the singleuser server starts. This means that the port number has to be conveyed back to JupyterHub. This requires the following changes:
222-
- `jupyterhub_config.py` *must* explicitely import `batchspawner`
223-
- Add a new option `batchspawner_singleuser_cmd` which is used as a wrapper in the single-user servers, which conveys the remote port back to JupyterHub. This is now an integral part of the spawn process.
224-
- If you have installed with `pip install -e`, you will have to re-install so that the new script `batchspawner-singleuser` is added to `$PATH`.
225-
* Update minimum requirements to JupyterHub 0.9 and Python 3.5. #143
226-
* Update Slurm batch script. Now, the single-user notebook is run in a job step, with a wrapper of `srun`. This may need to be removed using `req_srun=''` if you don't want environment variables limited.
227-
* Pass the environment dictionary to the queue and cancel commands as well. This is mostly user environment, but may be useful to these commands as well in some cases. #108, #111 If these environment variables were used for authentication as an admin, be aware that there are pre-existing security issues because they may be passed to the user via the batch submit command, see #82.
228-
229-
230-
Fixed
231-
232-
* Improve debugging on failed submission by raising errors including error messages from the commands. #106
233-
* Many other non-user or developer visible changes. #107 #106 #100
234-
* In Travis CI, blacklist jsonschema=3.0.0a1 because it breaks tests
235-
236-
Removed
237-
238-
239-
### v0.8.1 (bugfix release)
240-
241-
* Fix regression: single-user server binding address is overwritten by previous session server address, resulting in failure to start. Issue #76
242-
243-
### v0.8.0 (compatible with JupyterHub 0.5.0 through 0.8.1/0.9dev)
244-
245-
* SlurmSpawner: Remove `--uid` for (at least) Slurm 17.11 compatibility. If you use `sudo`, this should not be necessary, but because this is security related you should check that user management is as you expect. If your configuration does not use `sudo` then you may need to add the `--uid` option in a custom `batch_script`.
246-
* add base options `req_ngpus` `req_partition` `req_account` and `req_options`
247-
* Fix up logging
248-
* Merge `user_options` with the template substitution vars instead of having it as a separate key
249-
* Update ip/port handling for JupyterHub 0.8
250-
* Add `LICENSE` (BSD3) and `CONTRIBUTING.md`
251-
* Add `LsfSpawner` for IBM LFS
252-
* Add `MultiSlurmSpawner`
253-
* Add `MoabSpawner`
254-
* Add `condorSpawner`
255-
* Add `GridEngineSpawner`
256-
* SlurmSpawner: add `req_qos` option
257-
* WrapSpawner and ProfilesSpawner, which provide mechanisms for runtime configuration of spawners, have been split out and moved to the [`wrapspawner`](https://github.com/jupyterhub/wrapspawner) package
258-
* Enable CI testing via Travis-CI
259-
260-
261-
### v0.3 (tag: jhub-0.3, compatible with JupyterHub 0.3.0)
262-
263-
* initial release containing `TorqueSpawner` and `SlurmSpawner`
264-
200+
See [CHANGELOG.md](CHANGELOG.md).

0 commit comments

Comments
 (0)