Skip to content

Commit

Permalink
Stable merge for week 29 of 2021
Browse files Browse the repository at this point in the history
Important notices:

* When upgrading, users should run `opkg update && opkg upgrade` **twice** because of the changes introduced by this merge. (#310)
* Toltec **no longer supports** OS releases **earlier than 2.6**. You can check your current OS version in the settings panel. Please upgrade to 2.6 or newer after upgrading your Toltec install. (#366)
* To re-enable Toltec, **run `toltecctl reenable`** instead of the previous `entware-reenable` script that has been removed with this update.

Major change: The repository is now split into architecture subfolders. The `rmall` subfolder contains packages that can run both on reMarkable 1 and reMarkable 2 without modification. The `rm1` and `rm2` subfolders contain packages that are specific to each of the two devices. This change requires updating the Opkg configuration to point to the appropriate architectures. The migration is automated by placing an upgrade to the `toltec-bootstrap` package in the root folder of the repo that contains a migration script. (Note that this package is not generated automatically by our build system but will be added manually by the server administrator.)

New packages:

* bash-completion - 2.11-3 (#277, #375)
* display - 1.0.1-7 _(replaces the server part of the old rm2fb package)_ (#310)
* fuse - 1.0.0-2 (#331)
* gocryptfs - 2.0-beta2 (#318)
* innernet - 1.3.1-2 (#350, #358, #361)
* netsurf - 0.4.0-1 (#339)
* puzzles - 0.2.2-2 (#326)
* remarkable-stylus - 0.0.3-1 (#383)
* rm2fb-client - 1.0.1-7 _(replaces the client part of the old rm2fb package)_ (#310)
* tilem - 0.0.7-1 (#352)
* toltec-completion - 0.2.0-1 (#277)
* yaft - 0.0.4-3 (#261, #353)
* zoneinfo-utils - 2021a-2 (#182)

Updated packages:

* appmarkable - 0.0.0-11
* bufshot - 0.1.0-5
* calculator - 0.0.0-15
* chessmarkable - 0.7.1-2 (#362, #373)
* ddvk-hacks - 23.02-1 (#385)
* draft - 0.2.0-20
* evtest - 1.34-3
* fbink fbdepth fbink-doom - 1.23.1-4
* fingerterm - 1.3.5-14
* genie - 0.1.5-3
* harmony - 0.1.3-3
* iago - 0.1.0-4
* keywriter - 0.1.0-3
* koreader - 2021.06-1 (#330, #348, #357, #378)
* lamp - 0.1.0-4
* libdlib libdlib-dev - 19.21-2
* libvncserver libvncclient libvncserver-dev - 0.9.13-2
* mines - 0.1.2-4
* nao - 0.1.3-3
* oxide erode fret rot tarnish decay corrupt anxiety - 2.2-1 (#382)
* plato - 0.9.17-2 (#344)
* quickjs - 2020.11.08-2
* recrossable - 0.0.0-7
* remarkable-splash - 1.0-5
* remux - 0.1.9-3
* restream - 1.1-2
* retris - 0.6.3-3
* rmservewacominput - 0.3.0-2
* simple - 0.1.4-3
* templatectl - 0.1.3-3
* toltec-bootstrap - 0.1.0-1 _(includes toltecctl)_ (#379)
* vnsee - 0.4.0-2 (#355)
* wikipedia - 0.1.0-3
* wireguard - 1.0.20210219-2
* xochitl - 0.0.0-7 (#383, #382, #386)
* zshelf - 0.3.1-3

Website: The source files and scripts used for generating the website have been transferred to a separate repository (<https://github.com/toltec-dev/web>). A website rebuild is triggered automatically from this repository’s workflow when the stable branch is updated, so that the displayed checksum of the bootstrap script is always accurate.
  • Loading branch information
matteodelabre committed Jul 21, 2021
1 parent 517d73c commit 3e9453d
Show file tree
Hide file tree
Showing 104 changed files with 3,031 additions and 1,575 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
shell: bash
run: |
sudo apt-get update -yq
sudo apt-get install -yq libarchive-tools python3-docutils
sudo apt-get install -yq libarchive-tools
- name: Install shfmt and Shellcheck
shell: bash
run: |
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
remote-path: ${{ secrets.REMOTE_SSH }}:/srv/toltec/stable
- name: Build website
run: make web
- name: Sync website with the remote repository
uses: ./.github/actions/sync-repository
with:
local-path: build/web/
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
remote-path: ${{ secrets.REMOTE_SSH }}:/srv/toltec/web
- name: Trigger website rebuild
run: gh api repos/toltec-dev/web/dispatches -f event_type='update-bootstrap-from-stable'
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- name: Create Github Release
continue-on-error: true
run: hub release create -t ${{ github.sha }} -m "${{ github.event.commits[0].message }}" $(date +%G-W%V-%u)
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- name: Send notification to Discord
continue-on-error: true
uses: ./.github/actions/discord-send
Expand All @@ -44,4 +44,4 @@ jobs:
title: New Toltec stable update available
link: https://toltec-dev.org/stable
color: 0x2ea043
message: ${{ github.event.head_commit.message }}
message: ${{ github.event.commits[0].message }}
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
title: New Toltec testing update available
link: https://toltec-dev.org/testing
color: 0xe3b341
message: ${{ github.event.head_commit.message }}
message: ${{ github.event.commits[0].message }}
2 changes: 2 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[mypy]
[mypy-elftools.*]
ignore_missing_imports = True
[mypy-docker.*]
ignore_missing_imports = True
13 changes: 2 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ Building packages:
on the reMarkable, which can be installed with
`opkg install rsync`.


Building webpages:

web Generate the Toltec website.

Checking for errors:

repo-check Compare the local repository to the remote one.
Expand All @@ -49,9 +44,6 @@ export USAGE
help:
@echo "$$USAGE"

web:
./scripts/web-build web build/web

repo:
./scripts/repo_build.py $(FLAGS)

Expand Down Expand Up @@ -82,7 +74,7 @@ $(RECIPES_PUSH): %:
if ! rsync --rsync-path /opt/bin/rsync \
--archive --verbose --compress --ignore-times \
$$(for pkg in $${pkgnames[@]}; do \
echo build/repo/"$$pkg"_*.ipk; \
echo build/repo/*/"$$pkg"_*.ipk; \
done) \
root@"$(HOST)":~/.cache/toltec/; then \
echo "rysnc exited with an error." \
Expand All @@ -103,7 +95,7 @@ format-fix:

lint:
@echo "==> Linting Bash scripts"
shellcheck $$(shfmt -f .)
shellcheck $$(shfmt -f .) -P SCRIPTDIR
@echo "==> Typechecking Python files"
MYPYPATH=scripts mypy --disallow-untyped-defs scripts
@echo "==> Linting Python files"
Expand All @@ -119,7 +111,6 @@ clean:

.PHONY: \
help \
web \
repo \
repo-local \
repo-check \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![Status of the testing repository](https://github.com/toltec-dev/toltec/workflows/testing/badge.svg)
[![rm1](https://img.shields.io/badge/rM1-supported-green)](https://remarkable.com/store/remarkable)
[![rm2](https://img.shields.io/badge/rM2-experimental-yellow)](https://remarkable.com/store/remarkable-2)
[![Discord](https://img.shields.io/discord/463752820026376202.svg?label=reMarkable&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/ATqQGfu)
[![Discord](https://img.shields.io/discord/385916768696139794.svg?label=reMarkable&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/ATqQGfu)

Toltec is a community-maintained repository of free software for [the reMarkable tablet](https://remarkable.com/).

Expand All @@ -15,7 +15,7 @@ To automatically install Opkg, Entware and Toltec, run the bootstrap script in a

```sh
$ wget http://toltec-dev.org/bootstrap
$ echo "5f826348764f664e577700c4d9d97e36f250ac27b616f7c09ba4a80e604a3012 bootstrap" | sha256sum -c && bash bootstrap
$ echo "9195122984700c76ccdc58e25d09d0fca486324e8fc55ba781f6e1b812cc186c bootstrap" | sha256sum -c && bash bootstrap
```

> **Warning:**
Expand Down
4 changes: 3 additions & 1 deletion docs/branches.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ As a user, **you always want to use the stable branch**, which is the default on
The testing branch exists solely for the repository maintainers to make sure that packages work correctly before distributing them to users.
It may contain packages that could cause breakage if you install them on your device.

> To use the testing branch, update the `/opt/etc/opkg.conf` file on an existing install or set the `toltec_branch` variable to `testing` when installing through the bootstrap script.
Use the `toltecctl switch-branch [stable|testing]` command to switch between the stable and testing branches.
After switching from stable to testing, you should run `opkg upgrade` to upgrade your installed packages to their version in testing.
After switching from testing to stable, you may need to manually downgrade the packages that were newer in testing.

### Adding or Updating a Package

Expand Down
Loading

0 comments on commit 3e9453d

Please sign in to comment.