This repository was archived by the owner on Apr 2, 2025. It is now read-only.
Repository navigation
v2024.0.0-alpha.2
Pre-release
Pre-release
·
23 commits
to edge
since this release
Changelog
Added
core/apps/cockpitnow provides a drop-in config file for reverse-proxying (see the notes on additions tocore/host/cockpit)core/apps/planktoscope/node-red-dashboardnow exports more config files needed for the Node-RED dashboard.core/host/cockpitnow provides system services to automatically generate the Cockpit config file from a drop-in config directory, and it provides some default drop-in config files - including drop-in files provided by some new feature flags:allow-unencrypted,allow-origins-planktoscope-static-ips,allow-origins-planktoscope-legacy-mdns-names,allow-origins-planktoscope-mdns-names,allow-origins-templated-custom-domain-home, andallow-origins-templated-mdns-hostname- Added a
core/host/dockerpackage which exports an override to the default systemddocker.service. core/host/machine-name(renamed fromcore/host/planktoscope/machine-name) now exports everything needed for automatically updating machine name-related configurations (machine name, hostname, SSID).core/host/machine-name: the dynamically-generated machine name can now be overridden by making a file with a desired static name at/etc/machine-name.core/host/machine-name: if deployed on a non-Raspberry Pi computer, generation of the machine name now uses/etc/machine-idas a substitute for the Raspberry Pi's serial number, instead of falling back to a placeholder likepkscope.core/host/machine-name: the prefix for the hostname (and the SSID and the Cockpit configuration), which was previously hard-coded, can now be manually changed by creating a hostname template file at/etc/hostname-template. A default hostname template ofpkscope-{machine-name}is provided the newhostname-template-pkscopefeature flag.core/host/networking/autohotspotnow exports everything needed for autohotspot functionality.core/host/networking/avahi-daemonnow provides two feature flags for registering the PlanktoScope under mDNS aliasesplanktoscope.localandpkscope.local, respectively:register-planktoscope-localandregister-pkscope-localcore/host/networking/dhcpcdnow exports an override to the default systemddhcpcd.service.core/host/networking/dnsmasqnow exports various drop-in config files for dnsmasq and adds a few new feature flags:planktoscope-dhcp-interfaces, to add another drop-in config file for dnsmasq based on the PlanktoScope OS's static IP address assignments for its various network interfaces; custom-domain, to add drop-in config file template for dnsmasq which uses the custom domain (newly configurable at/etc/custom-domain) for dnsmasq; andplanktoscope-custom-domain, which provides a/etc/custom-domainfile to set the custom domain topkscope.core/host/networking/hostapdnow provides system services to automatically generate the hostapd config file from a drop-in config directory, and it provides some default drop-in config files - including drop-in files provided by some new feature flags:interface-wlan0,localization-us,planktoscope-password,ssid-hostnamecore/host/networking/hostsnow provides system services to automatically generate the hosts file from a drop-in config directory, and it provides some default drop-in config files - including hostnames previously provided by the Raspberry Pi OS, and also drop-in files provided by some new feature flags:planktoscope-custom-domain-homeandplanktoscope-domain-machine-namecore/host/networking/interface-forwardingnow exports everything needed for interface-forwarding functionality.core/host/planktoscope/gpio-initnow exports everything needed for GPIO-initialization functionality.core/host/planktoscope/gpsdnow exports all config files needed to support the GPS module (still no guarantee whether the files are actually correct, though!).core/host/sshdadds two feature flags:ssh-server-enabledto enable thessh.serviceandensure-ssh-host-keysto add and enable a service which automatically regenerates host keys for the SSH server if no host keys exist at boot.
Changed
- (Breaking change) The minimum supported Forklift version for using this repository has been bumped from v0.4.0 to v0.7.0, because some packages provided by this repository now require functionality added by v0.7.0 (namely, file-exporting functionality) in order to work as described/expected.
- (Breaking change)
community/apps/portainerwas previously namedcore/apps/portainer; it's been moved out ofcore, as its default inclusion in the PlanktoScope OS is deprecated in v2024.0.0 of the PlanktoScope OS; in the future, the user will have to manually add this package to their custom pallet if they want to add Portainer. - (Breaking change)
core/host/machine-namewas previously namedcore/host/planktoscope/machine-name; it's been renamed, as it can now be configured (via feature flags) without PlanktoScope-specific naming. - (Breaking change)
core/host/machine-name: the machine name is now generated at/run/machine-namerather than/var/lib/planktoscope/machine-name. however, a symlink is now exported to redirect/var/lib/planktoscope/machine-nameto/run/machine-name, for backwards-compatibility with programs still expecting/var/lib/planktoscope/machine-name. - (Breaking change)
core/host/machine-name: automatic updating of the hostname based on the machine name is no longer default behavior, but rather has to be enabled with a newgenerate-templated-hostnamefeature flag. If a hostname template is unspecified, the default hostname template is nowmachine-{machine-name}instead ofpkscope-{machine-name}. - (Breaking change)
core/host/machine-name: inclusion of apkscope-prefix for the hostname (and the SSID and the Cockpit configuration) is no longer default behavior, but rather has to be enabled with a newhostname-prefix-pkscopefeature flag. - (Breaking change)
core/host/networking/dnsmasq: use ofpkscopeas the custom domain is no longer default behavior, but rather has to be enabled with a newplanktoscope-custom-domainfeature flag. - (Breaking change)
core/host/networking/hostapd: various settings are no longer provided by default, but rather have to be enabled with the newinterface-wlan0,localization-us,planktoscope-password, andssid-hostnamefeature flags. - (Breaking change)
core/host/networking/hosts: hostnames involving the custom domain (e.g.pkscope) are no longer added by default, but rather have to be enabled with a newplanktoscope-custom-domain-homeandplanktoscope-custom-domain-machine-name` feature flags. - (Breaking change) Previously, the default behavior of the segmenter provided by
core/apps/planktoscope/device-backend/processing/segmenterwas to subtract consecutive masks to try to mitigate image-processing issues with objects which get stuck to the flowcell during imaging. However, when different objects occupied the same space in consecutive frames, the subtraction behavior would subtract one object's mask from the mask of the other object in the following frame, which would produce clearly incorrect masks. This behavior is no longer enabled by default; in order to re-enable it, you should enable thepipeline-subtract-consecutive-masksfeature flag. - All packages in
core/appswhich use thealpinecontainer image have upgraded it from v3.19.0 to v3.19.1. core/apps/dozzle: theamir20/dozzlecontainer image is upgraded from v6.0.6 to v6.5.1.core/apps/grafana: thegrafana/grafana-osscontainer image is upgraded from v10.1.6 to v10.4.2.core/apps/planktoscope/device-portal: thedevice-portalcontainer image is upgraded from v0.1.15 to v0.2.1.core/infra/caddy-ingress: thelucaslorentz/caddy-docker-proxycontainer image is upgraded from v2.8.10 to v2.8.11.core/infra/prometheus: theprom/prometheuscontainer image is upgraded from v2.48.1 to v2.51.2.core/host/networking/interface-forwardinghas a slightly simpler network configuration, and now all packets for the PlanktoScope's static IP addresses (e.g. 192.168.4.1, 192.168.5.1, 192.168.6.1, etc.) are routed to 127.0.0.1 regardless of whether the packet for that IP address came from the interface corresponding to it.
Deprecated
- In the future,
core/host/planktoscope/machine-namewill remove support for looking up the machine name from/var/lib/planktoscope/machine-name; instead, only/run/machine-namewill be supported.
Removed
core/apps/cockpitno longer has a resource dependency on a fileset involving/etc/cockpit/cockpit.conf.- (Breaking change)
core/host/planktoscope/machine-nameno longer provides functionality to automatically update the Cockpit config based on the machine name. Instead,core/host/cockpitprovides templating functionality to automatically update the Cockpit config, and the machine name and hostname can be interpolated into those templates. - (Breaking change)
core/host/eximis no longer provided, as exim was only provided by a Cockpit extension (cockpit-storaged) which is no longer installed by default on the PlanktoScope OS.
Pull Requests
- Add Dozzle by @ethanjli in #2
- Add packages for Prometheus metrics by @ethanjli in #3
- Split up Grafana features, improve dependency relationships by @ethanjli in #4
- Add scripts and local config files from the PlanktoScope distro by @ethanjli in #5
- Provision dhcpcd config file by @ethanjli in #6
- Make the backend segmenter package deploy as a Docker container by @ethanjli in #7
- Bump Python segmenter by @ethanjli in #8
- Provide config files for the base OS layer by @ethanjli in #9
- Bump container images by @ethanjli in #10
Full Changelog: v2023.9.0...v2024.0.0-alpha.2