Skip to content

Commit 7f00688

Browse files
committed
version-strings: clarify variants of native version sru backport
1 parent 78cd17f commit 7f00688

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

docs/how-ubuntu-is-made/concepts/version-strings.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -339,16 +339,19 @@ Native in Debian:
339339

340340
Native in Ubuntu:
341341

342-
| Previous version | Devel upload | SRU upload |
343-
|--------------------------------|--------------------------------|-----------------------------------------|
344-
| `2.0ubuntu` | `2.1ubuntu` or `3.0ubuntu` | `2.0ubuntu0.1` |
345-
| `2.0ubuntu0` (old format) | `2.1ubuntu` or `3.0ubuntu` | `2.0ubuntu0.1` |
346-
| `2ubuntu` | `3ubuntu` | `2ubuntu0.1` |
347-
| `2ubuntu0` (old format) | `3ubuntu` (new format) | `2ubuntu0.1` |
348-
| `3.1.2ubuntu.build10` | `3.1.3ubuntu` | `3.1.2ubuntu0.1` |
349-
| `2ubuntu` in multiple releases | `3ubuntu` or `3ubuntu~26.04.1` | `2ubuntu~25.10.1` and `2ubuntu~25.04.1` |
342+
| Previous version | Devel upload | SRU upload |
343+
|--------------------------------|--------------------------------|--------------------------------------------------|
344+
| `2.0ubuntu` | `2.1ubuntu` or `3.0ubuntu` | patch: `2.0ubuntu0.1` |
345+
| `2.0ubuntu0` (old format) | `2.1ubuntu` or `3.0ubuntu` | patch: `2.0ubuntu0.1` |
346+
| `2ubuntu` | `3ubuntu` | patch: `2ubuntu0.1` |
347+
| `2ubuntu0` (old format) | `3ubuntu` (new format) | patch: `2ubuntu0.1` |
348+
| `3.1.2ubuntu.build10` | `3.1.3ubuntu` | patch: `3.1.2ubuntu0.1` |
349+
| | | full: `3.1.3ubuntu~25.04.1` |
350+
| `2ubuntu` in multiple releases | `3ubuntu` or `3ubuntu~26.04.1` | patch: `2ubuntu0.25.10.1` and `2ubuntu0.25.04.1` |
351+
| | | full: `3ubuntu~25.10.1` and `3ubuntu~25.04.1` |
350352

351353
```{note}
354+
Depending on just a "patch" backport or rather the "full release", the SRU version number should be the current version, or the new release version number respectively.
352355
353356
The rule of multiple releases with the same version needing to also add a
354357
per-release `YY.MM` to differentiate and ensure upgradability can be applied here as
@@ -451,12 +454,13 @@ List of this and further related examples:
451454
The new version is again independent of the former version that was present in
452455
the target release. Here are examples targeting 22.04:
453456

454-
| Previous | New development | Upload for LTS |
455-
| ---------------- | --------------- | ---------------------- |
456-
| `2.0-2` | `3.1-1ubuntu2` | `3.1-1ubuntu2~22.04.1` |
457-
| `2.0-2ubuntu2` | `3.1-1ubuntu2` | `3.1-1ubuntu2~22.04.1` |
458-
| `2.0-2ubuntu2.1` | `3.1-1ubuntu2` | `3.1-1ubuntu2~22.04.1` |
459-
| `2.0-2build1` | `3.1-1ubuntu2` | `3.1-1ubuntu2~22.04.1` |
457+
| Previous | New development | Upload for LTS |
458+
|------------------|-----------------|------------------------------------------------------|
459+
| `2.0-2` | `3.1-1ubuntu2` | `3.1-1ubuntu2~22.04.1` |
460+
| `2.0-2ubuntu2` | `3.1-1ubuntu2` | `3.1-1ubuntu2~22.04.1` |
461+
| `2.0-2ubuntu2.1` | `3.1-1ubuntu2` | `3.1-1ubuntu2~22.04.1` |
462+
| `2.0-2build1` | `3.1-1ubuntu2` | `3.1-1ubuntu2~22.04.1` |
463+
| `2.0ubuntu` | `3.1ubuntu` | see {ref}`native packages <version-native-packages>` |
460464

461465
```{note}
462466
If in this case the package in the Ubuntu development release is a native

0 commit comments

Comments
 (0)