From f36203c4a5cd0f58162d8861b36f61abdd012962 Mon Sep 17 00:00:00 2001 From: Nurzhan Muratkhan Date: Mon, 15 Jun 2026 15:31:00 +0500 Subject: [PATCH] docs: remove core18 references outside historical release data --- .../integrations/example-gtk2-recipe.yaml | 2 +- .../integrations/example-moos-recipe.yaml | 2 +- .../integrations/example-pre-built-app.yaml | 2 +- .../integrations/example-qt5-kde-recipe.yaml | 6 +-- .../integrations/example-rust-recipe.yaml | 2 +- docs/how-to/crafting/specify-a-base.rst | 9 ---- docs/how-to/extensions/list-extensions.rst | 20 ++++----- docs/how-to/integrations/craft-a-rust-app.rst | 2 - .../integrations/craft-an-ros-1-app.rst | 32 +------------ .../integrations/craft-an-ros-2-app.rst | 45 +------------------ docs/reference/bases.rst | 4 -- ...ter-extension-my-flutter-app-expanded.diff | 2 +- .../kde-neon-extension-kcalc-expanded.diff | 16 +++---- .../extensions/flutter-extension.rst | 4 +- 14 files changed, 29 insertions(+), 119 deletions(-) diff --git a/docs/how-to/code/integrations/example-gtk2-recipe.yaml b/docs/how-to/code/integrations/example-gtk2-recipe.yaml index d8f69ff15a..f4bd58a902 100644 --- a/docs/how-to/code/integrations/example-gtk2-recipe.yaml +++ b/docs/how-to/code/integrations/example-gtk2-recipe.yaml @@ -15,7 +15,7 @@ license: GPL-2.0 icon: snap/gui/arduino.png grade: stable -base: core18 +base: core22 confinement: strict architectures: diff --git a/docs/how-to/code/integrations/example-moos-recipe.yaml b/docs/how-to/code/integrations/example-moos-recipe.yaml index 966b881148..cd28ad3753 100644 --- a/docs/how-to/code/integrations/example-moos-recipe.yaml +++ b/docs/how-to/code/integrations/example-moos-recipe.yaml @@ -7,7 +7,7 @@ description: | This example includes MOOSDB, the main communication mechanism for all MOOS apps. -base: core18 +base: core22 confinement: devmode parts: diff --git a/docs/how-to/code/integrations/example-pre-built-app.yaml b/docs/how-to/code/integrations/example-pre-built-app.yaml index 027a21d9d1..4ca9b6a645 100644 --- a/docs/how-to/code/integrations/example-pre-built-app.yaml +++ b/docs/how-to/code/integrations/example-pre-built-app.yaml @@ -10,7 +10,7 @@ description: | How will it perform when push comes to crunch? These are the questions that Geekbench can answer. confinement: devmode -base: core18 +base: core22 parts: test-geekbench4: diff --git a/docs/how-to/code/integrations/example-qt5-kde-recipe.yaml b/docs/how-to/code/integrations/example-qt5-kde-recipe.yaml index cab2afddd0..0112a290e9 100644 --- a/docs/how-to/code/integrations/example-qt5-kde-recipe.yaml +++ b/docs/how-to/code/integrations/example-qt5-kde-recipe.yaml @@ -6,7 +6,7 @@ grade: stable adopt-info: kcalc confinement: strict -base: core18 +base: core22 apps: kcalc: @@ -34,8 +34,8 @@ parts: parse-info: - usr/share/metainfo/org.kde.kcalc.appdata.xml build-snaps: - - kde-frameworks-5-core18-sdk - - kde-frameworks-5-core18 + - kde-frameworks-5-core22-sdk + - kde-frameworks-5-core22 build-packages: - libmpfr-dev - libgmp-dev diff --git a/docs/how-to/code/integrations/example-rust-recipe.yaml b/docs/how-to/code/integrations/example-rust-recipe.yaml index 16d61b5ad9..9942ec8e0f 100644 --- a/docs/how-to/code/integrations/example-rust-recipe.yaml +++ b/docs/how-to/code/integrations/example-rust-recipe.yaml @@ -7,7 +7,7 @@ description: | xsv is a command line program for indexing, slicing, analyzing, splitting and joining CSV files. Commands should be simple, fast and composable. -base: core18 +base: core22 confinement: devmode parts: diff --git a/docs/how-to/crafting/specify-a-base.rst b/docs/how-to/crafting/specify-a-base.rst index e4d021b813..3a2a759f6c 100644 --- a/docs/how-to/crafting/specify-a-base.rst +++ b/docs/how-to/crafting/specify-a-base.rst @@ -37,15 +37,6 @@ major releases support a particular base. The :ref:`reference-support-schedule` details the support timeline of each base. -``core18`` -^^^^^^^^^^ - -To build ``core18`` snaps, install snapcraft 7 from the *7.x* track: - -.. code-block:: bash - - snap install snapcraft --channel 7.x - ``core`` ^^^^^^^^ diff --git a/docs/how-to/extensions/list-extensions.rst b/docs/how-to/extensions/list-extensions.rst index dcc918426d..e9792d9104 100644 --- a/docs/how-to/extensions/list-extensions.rst +++ b/docs/how-to/extensions/list-extensions.rst @@ -20,17 +20,15 @@ differentiating them. Extension name Supported bases ---------------------- ------------------------------ - env-injector core24 - flutter-beta core18 - flutter-dev core18 - flutter-master core18 - flutter-stable core18 - gnome core22, core24 - gnome-3-28 core18 - gnome-3-34 core18 - gnome-3-38 core20 - gpu core22, core24, core26 - kde-neon core18, core20, core22, core24 + dotnet10 core24 + dotnet8 core24 + dotnet9 core24 + env-injector core24 + gnome core22, core24 + gpu core22, core24, core26 + kde-neon core22, core24 + kde-neon-6 core22, core24 + kde-neon-qt6 core22, core24 [...] .. vale on diff --git a/docs/how-to/integrations/craft-a-rust-app.rst b/docs/how-to/integrations/craft-a-rust-app.rst index eb0e233cac..768702abf4 100644 --- a/docs/how-to/integrations/craft-a-rust-app.rst +++ b/docs/how-to/integrations/craft-a-rust-app.rst @@ -45,5 +45,3 @@ To declare a Rust part: #. Declare the general part keys, such as ``source``, ``override-build``, ``build-packages``, and so on. #. Set ``plugin: rust``. -#. If the snap uses core18, you can override the Rust toolchain version with - the ``rust-revision`` list key. diff --git a/docs/how-to/integrations/craft-an-ros-1-app.rst b/docs/how-to/integrations/craft-an-ros-1-app.rst index bb41fab88c..2b3338cbc5 100644 --- a/docs/how-to/integrations/craft-an-ros-1-app.rst +++ b/docs/how-to/integrations/craft-an-ros-1-app.rst @@ -7,7 +7,7 @@ This how-to guide covers the steps, decisions, and implementation details that a unique when crafting a `ROS 1 `_-based snap. We'll work through the aspects unique to ROS 1 apps by examining an existing project. -There are two supported bases for ROS 1 -- core20 and core18. +There are two supported bases for ROS 1 -- core20. .. tip:: @@ -28,36 +28,6 @@ Example project file for ROS Talker/Listener .. tab-set:: - .. tab-item:: core18 - - The following code comprises the project file for the `core18 version of ROS - Talker/Listener `_. - - .. dropdown:: Code - - .. code-block:: yaml - :caption: snapcraft.yaml - - name: ros-talker-listener - version: '0.1' - summary: ROS Talker/Listener Example - description: | - This example launches a ROS talker and listener. - - confinement: devmode - base: core18 - - parts: - ros-tutorials: - plugin: catkin - source: https://github.com/ros/ros_tutorials.git - source-branch: melodic-devel - source-space: roscpp_tutorials/ - - apps: - ros-talker-listener: - command: roslaunch roscpp_tutorials talker_listener.launch - .. tab-item:: core20 The following code comprises the project file for the `core20 version of ROS diff --git a/docs/how-to/integrations/craft-an-ros-2-app.rst b/docs/how-to/integrations/craft-an-ros-2-app.rst index cbbe5464a0..972ebaccb9 100644 --- a/docs/how-to/integrations/craft-an-ros-2-app.rst +++ b/docs/how-to/integrations/craft-an-ros-2-app.rst @@ -8,7 +8,7 @@ unique when crafting a `ROS 2 `__-ba snap. We'll work through the aspects unique to ROS 2 apps by examining an existing project. -There are four supported bases for ROS 2 -- core24, core22, core20, and core18. +There are four supported bases for ROS 2 -- core24, core22 and core20. .. _how-to-craft-an-ros-2-app-project-files: @@ -18,38 +18,6 @@ Example project file for ROS 2 Talker/Listener .. tab-set:: - .. tab-item:: core18 - - The following code comprises the project file for the `core18 version of ROS 2 - Talker/Listener `_. - - .. dropdown:: Code - - .. code-block:: yaml - :caption: snapcraft.yaml - - name: ros2-talker-listener - version: '0.1' - summary: ROS 2 Talker/Listener Example - description: | - This example launches a ROS 2 talker and listener. - - base: core18 - confinement: devmode - - parts: - ros-demos: - plugin: colcon - source: https://github.com/ros2/demos.git - source-branch: dashing - colcon-rosdistro: dashing - colcon-source-space: demo_nodes_cpp - stage-packages: [ros-dashing-ros2launch] - - apps: - ros2-talker-listener: - command: opt/ros/dashing/bin/ros2 launch demo_nodes_cpp talker_listener.launch.py - .. tab-item:: core20 :sync: core20 @@ -166,8 +134,6 @@ To add an ROS 2 app: * - Core - Extension - * - core18 - - None * - core20 - :ref:`ros2-foxy ` * - core22 @@ -185,11 +151,6 @@ To add an ROS 2 part: #. Declare the general part keys, such as ``source``, ``override-build``, ``build-packages``, and so on. -#. If you're crafting for core18, set the following special keys: - - - Set ``colcon-rosdistro`` to select the ROS distribution. - - Set ``colcon-source-space`` to the path in the source tree where colcon packages - are stored. #. For ``stage-packages``, list the ROS launch command as a dependency, based on the core: @@ -199,8 +160,6 @@ To add an ROS 2 part: * - Core - Extension - * - core18 - - ros-dashing-ros2launch * - core20 - ros-foxy-ros2launch * - core22 @@ -215,7 +174,7 @@ Handle build issues The following errors can occur while building for ROS 2. -core18 and core20 +core20 ~~~~~~~~~~~~~~~~~ The warnings regarding missing libraries that you might see when building your snap are diff --git a/docs/reference/bases.rst b/docs/reference/bases.rst index fceb6a11d4..384bc08b0e 100644 --- a/docs/reference/bases.rst +++ b/docs/reference/bases.rst @@ -36,9 +36,6 @@ There are six supported base snaps: * - `core20`_ - built from `Ubuntu 20.04 LTS`_ - 8.x - * - `core18`_ - - built from `Ubuntu 18.04 ESM`_ - - 7.x * - `core`_ - built from `Ubuntu 16.04 ESM`_, not to be confused with core16 (see below) @@ -117,7 +114,6 @@ use ``build-base`` for kernel snaps. .. _`Ubuntu 24.04 LTS`: https://releases.ubuntu.com/24.04/ .. _`Ubuntu 26.04 LTS`: https://releases.ubuntu.com/26.04/ .. _`bare`: https://snapcraft.io/bare -.. _`core18`: https://snapcraft.io/core18 .. _`core20`: https://snapcraft.io/core20 .. _`core22`: https://snapcraft.io/core22 .. _`core24`: https://snapcraft.io/core24 diff --git a/docs/reference/extensions/code/flutter-extension-my-flutter-app-expanded.diff b/docs/reference/extensions/code/flutter-extension-my-flutter-app-expanded.diff index 4c109e42d7..6fdbc05746 100644 --- a/docs/reference/extensions/code/flutter-extension-my-flutter-app-expanded.diff +++ b/docs/reference/extensions/code/flutter-extension-my-flutter-app-expanded.diff @@ -6,7 +6,7 @@ description: | An example showing how Flutter programs can be packaged as snaps. - base: core18 + base: core22 confinement: strict grade: stable diff --git a/docs/reference/extensions/code/kde-neon-extension-kcalc-expanded.diff b/docs/reference/extensions/code/kde-neon-extension-kcalc-expanded.diff index f80d927734..69eed29e2a 100644 --- a/docs/reference/extensions/code/kde-neon-extension-kcalc-expanded.diff +++ b/docs/reference/extensions/code/kde-neon-extension-kcalc-expanded.diff @@ -6,7 +6,7 @@ adopt-info: kcalc confinement: strict - base: core18 + base: core22 apps: kcalc: @@ -41,8 +41,8 @@ parse-info: - usr/share/metainfo/org.kde.kcalc.appdata.xml build-snaps: - - kde-frameworks-5-core18-sdk - - kde-frameworks-5-core18 + - kde-frameworks-5-core22-sdk + - kde-frameworks-5-core22 build-packages: - libmpfr-dev - libgmp-dev @@ -67,9 +67,9 @@ + build-packages: + - g++ + build-snaps: -+ - kde-frameworks-5-core18-sdk/latest/stable ++ - kde-frameworks-5-core22-sdk/latest/stable + make-parameters: -+ - PLATFORM_PLUG=kde-frameworks-5-core18 ++ - PLATFORM_PLUG=kde-frameworks-5-core22 + plugin: make + source: $SNAPCRAFT_EXTENSIONS_DIR/desktop + source-subdir: kde-neon @@ -83,9 +83,9 @@ + default-provider: gtk-common-themes + interface: content + target: $SNAP/data-dir/icons -+ kde-frameworks-5-core18: -+ content: kde-frameworks-5-core18-all -+ default-provider: kde-frameworks-5-core18 ++ kde-frameworks-5-core22: ++ content: kde-frameworks-5-core22-all ++ default-provider: kde-frameworks-5-core22 + interface: content + target: $SNAP/kf5 + sound-themes: diff --git a/docs/reference/extensions/flutter-extension.rst b/docs/reference/extensions/flutter-extension.rst index ee54dfb4ec..335c5afeb0 100644 --- a/docs/reference/extensions/flutter-extension.rst +++ b/docs/reference/extensions/flutter-extension.rst @@ -8,9 +8,7 @@ the `Flutter `__ framework. .. SNAPCRAFT-1123: Missing link to Flutter plugin. -The Flutter extensions require Snapcraft 7 and lower and are currently only supported -with the core18 base. Snaps using cores higher than core18 should instead use the -Flutter plugin with the :ref:`reference-gnome-extension`. +Snaps should use the Flutter plugin with the :ref:`reference-gnome-extension`. There are four extensions in the family. Each tracks a different `Flutter build release channel