Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Rename to RetroLab (#121)
Browse files Browse the repository at this point in the history
* Rename text to RetroLab

* More renaming

* More renaming

* Rename files

* Update deps

* Update logo

* Lint

* Update README.md

* Minor CSS fix

* Update tour

* Update screencasts in README.md
  • Loading branch information
jtpio authored May 19, 2021
1 parent 278233d commit 2047e3a
Show file tree
Hide file tree
Showing 68 changed files with 1,958 additions and 2,120 deletions.
6 changes: 3 additions & 3 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ current_version = 0, 1, 10, 'final', 0
commit = False
tag = False
parse = (?P<major>\d+)\,\ (?P<minor>\d+)\,\ (?P<patch>\d+)\,\ \'(?P<release>\S+)\'\,\ (?P<build>\d+)
serialize =
serialize =
{major}, {minor}, {patch}, '{release}', {build}
[bumpversion:part:release]
optional_value = final
values =
values =
alpha
beta
candidate
final
[bumpversion:part:build]
[bumpversion:file:jupyterlab_classic/_version.py]
[bumpversion:file:retrolab/_version.py]
2 changes: 1 addition & 1 deletion .github/workflows/binder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${PR_HEAD_USERREPO}/${PR_HEAD_REF}?urlpath=classic/tree) :point_left: Launch JupyterLab Classic on Binder`
body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${PR_HEAD_USERREPO}/${PR_HEAD_REF}?urlpath=retro/tree) :point_left: Launch RetroLab on Binder`
})
env:
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
- name: Install the package
run: |
python -m pip install .
jupyter labextension list 2>&1 | grep -ie "@jupyterlab-classic/lab-extension.*enabled.*ok" -
jupyter server extension list 2>&1 | grep -ie "jupyterlab_classic.*enabled" -
jupyter labextension list 2>&1 | grep -ie "@retrolab/lab-extension.*enabled.*ok" -
jupyter server extension list 2>&1 | grep -ie "retrolab.*enabled" -
python -m jupyterlab.browser_check
- name: Lint
run: |
Expand Down Expand Up @@ -114,9 +114,9 @@ jobs:
python: ['3.6', '3.9']
include:
- python: '3.6'
dist: 'jupyterlab-classic*.tar.gz'
dist: 'retrolab*.tar.gz'
- python: '3.9'
dist: 'jupyterlab_classic*.whl'
dist: 'retrolab*.whl'
- os: windows
py_cmd: python
- os: macos
Expand Down Expand Up @@ -147,11 +147,11 @@ jobs:
- name: Validate the install
run: |
jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "@jupyterlab-classic/lab-extension.*enabled.*ok" -
jupyter labextension list 2>&1 | grep -ie "@retrolab/lab-extension.*enabled.*ok" -
jupyter server extension list
jupyter server extension list 2>&1 | grep -ie "jupyterlab_classic.*enabled" -
jupyter classic --version
jupyter classic --help
jupyter server extension list 2>&1 | grep -ie "retrolab.*enabled" -
jupyter retro --version
jupyter retro --help
end2end:
needs: [build]
Expand All @@ -178,7 +178,7 @@ jobs:
- name: Install the package
run: |
cd dist
python -m pip install -vv jupyterlab_classic*.whl
python -m pip install -vv retrolab*.whl
- uses: microsoft/playwright-github-action@v1
- name: Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buildutils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
# TODO: improve this with a mock package?
# This step is to ensure the workflow always starts with a final version
sed -i -E "s/VersionInfo\(.*\)/VersionInfo\(9, 8, 7, 'final', 0\)/" jupyterlab_classic/_version.py
sed -i -E "s/VersionInfo\(.*\)/VersionInfo\(9, 8, 7, 'final', 0\)/" retrolab/_version.py
sed -i -E "s/current_version = .*/current_version = 9, 8, 7, 'final', 0/" .bumpversion.cfg
jlpm run lerna version 9.8.7 --no-push --force-publish --no-git-tag-version --yes
git commit -am "Release 9.8.7"
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
- name: Install the package
run: |
python -m pip install .
jupyter labextension list 2>&1 | grep -ie "@jupyterlab-classic/lab-extension.*enabled.*ok" -
jupyter server extension list 2>&1 | grep -ie "jupyterlab_classic.*enabled" -
jupyter labextension list 2>&1 | grep -ie "@retrolab/lab-extension.*enabled.*ok" -
jupyter server extension list 2>&1 | grep -ie "retrolab.*enabled" -
python -m jupyterlab.browser_check
- name: Lint
run: |
Expand Down Expand Up @@ -114,9 +114,9 @@ jobs:
python: ['3.6', '3.9']
include:
- python: '3.6'
dist: 'jupyterlab-classic*.tar.gz'
dist: 'retrolab*.tar.gz'
- python: '3.9'
dist: 'jupyterlab_classic*.whl'
dist: 'retrolab*.whl'
- os: windows
py_cmd: python
- os: macos
Expand Down Expand Up @@ -147,11 +147,11 @@ jobs:
- name: Validate the install
run: |
jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "@jupyterlab-classic/lab-extension.*enabled.*ok" -
jupyter labextension list 2>&1 | grep -ie "@retrolab/lab-extension.*enabled.*ok" -
jupyter server extension list
jupyter server extension list 2>&1 | grep -ie "jupyterlab_classic.*enabled" -
jupyter classic --version
jupyter classic --help
jupyter server extension list 2>&1 | grep -ie "retrolab.*enabled" -
jupyter retro --version
jupyter retro --help
release:
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
docker run --rm -v "$(pwd)":/usr/local/src/your-app \
-e CHANGELOG_GITHUB_TOKEN=${CHANGELOG_GITHUB_TOKEN} \
ferrarimarco/github-changelog-generator \
github_changelog_generator -u jtpio -p jupyterlab-classic --usernames-as-github-logins --no-issues --no-unreleased \
github_changelog_generator -u jtpio -p retrolab --usernames-as-github-logins --no-issues --no-unreleased \
--since-tag ${{ steps.previous_tag.outputs.tag }} --header "" --pr-label "## Changes"
head -n -1 CHANGELOG.md > CHANGELOG
- name: Create Release
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ dmypy.json
_temp_extension
junit.xml
[uU]ntitled*
jupyterlab_classic/static
jupyterlab_classic/labextension
retrolab/static
retrolab/labextension

# playwright
app/artifacts/videos
Expand Down
24 changes: 12 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to JupyterLab Classic
# Contributing to RetroLab

Thanks for contributing to JupyterLab Classic!
Thanks for contributing to RetroLab!

Make sure to follow [Project Jupyter's Code of Conduct](https://github.com/jupyter/governance/blob/master/conduct/code_of_conduct.md)
for a friendly and welcoming collaborative environment.
Expand All @@ -16,16 +16,16 @@ The `jlpm` command is JupyterLab's pinned version of [yarn](https://yarnpkg.com/

```bash
# create a new environment
mamba create -n jupyterlab-classic -c conda-forge python nodejs -y
mamba create -n retrolab -c conda-forge python nodejs -y

# activate the environment
conda activate jupyterlab-classic
conda activate retrolab

# Install package in development mode
pip install -e .
```

`jupyterlab-classic` follows a monorepo structure. To build all the packages at once:
`retrolab` follows a monorepo structure. To build all the packages at once:

```bash
jlpm build
Expand All @@ -37,30 +37,30 @@ There is also a `watch` script to watch for changes and rebuild the app automati
jlpm watch
```

To make sure the `jupyterlab_classic` server extension is installed:
To make sure the `retrolab` server extension is installed:

```bash
$ jupyter server extension list
Config dir: /home/username/.jupyter

Config dir: /home/username/miniforge3/envs/jupyterlab-classic/etc/jupyter
Config dir: /home/username/miniforge3/envs/retrolab/etc/jupyter
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 3.0.0 OK
jupyterlab_classic enabled
- Validating jupyterlab_classic...
jupyterlab_classic 0.1.0rc2 OK
retrolab enabled
- Validating retrolab...
retrolab 0.1.0rc2 OK
nbclassic enabled
- Validating nbclassic...
nbclassic OK

Config dir: /usr/local/etc/jupyter
```

Then start JupyterLab Classic with:
Then start RetroLab with:

```bash
jupyter classic
jupyter retro
```

## Running Tests
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2020, JupyterLab Classic Contributors
Copyright (c) 2020, RetroLab Contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
8 changes: 4 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
include LICENSE
include README.md
include pyproject.toml
include jupyter-config/jupyterlab-classic.json
include jupyter-config/retrolab.json

include package.json
include install.json
include ts*.json

graft jupyterlab_classic/labextension
graft jupyterlab_classic/static
graft jupyterlab_classic/templates
graft retrolab/labextension
graft retrolab/static
graft retrolab/templates

# Javascript files
graft src
Expand Down
Loading

0 comments on commit 2047e3a

Please sign in to comment.