Naming convention OpenVario images #194
Replies: 8 comments 19 replies
-
This all makes sense to me. I can only suggest using |
Beta Was this translation helpful? Give feedback.
-
I also agree, that the image name is a bit overkill ;-) I am also not happy with the Year-day versioninig ... it was a good idea at the start ... The version number with the increasing minor at the end, makes me a bit nervous. It has nothing to do with the yocto release number. So we are combining the yocto version 3.3 with a OV specific number .1. In my mind, I would be better to split these numbers ... OV-ch70-v3.3-rel2.img.gz This shows clear, that this release is yocto 3.3 and Openvario release 2. I am also not happy with the DS2 variant. Maybe we can combine them ? |
Beta Was this translation helpful? Give feedback.
-
Do we actually care what yocto version the image is based on? I feel this is an internal implementation detail, doesn't necessary has to be exposed on version numbers. |
Beta Was this translation helpful? Give feedback.
-
Btw. I suggest creating release notes at the meta-openvario repo, but building the release at the ov-build repo. |
Beta Was this translation helpful? Give feedback.
-
I also forgot the hardware platform: This should of course also be included in the image name - i.e. whether the image was built for CB2, CB1, RPI3, RPI4,...! So my suggestion now:
|
Beta Was this translation helpful? Give feedback.
-
So what is the consence of this version number now ?? Should we name the tags like yocto + release number ?? 3.3-1 Or should we start a complete different scheme, ignoring the yocto build ? |
Beta Was this translation helpful? Give feedback.
-
Hey All, For a stable build with a tagged github commit: For a testing build, based on a tag but with one commit ahead: Think we should think about the machines topic in the next step, but if it looks ok, i will create a PR with this change ... @August2111 @kedder @MaxKellermann @mihu-ov |
Beta Was this translation helpful? Give feedback.
-
So i will change the image name in the next pre-release like: ov-3.0.0-2-g1fba4bd-dirty-openvario-57-lvds.img.gz Fine for all ?? |
Beta Was this translation helpful? Give feedback.
-
In the last few days/weeks I have created a lot of images. Unfortunately, the current name doesn't give me a real picture of which firmware version of the OpenVario package is actually being used - the number of the day ('22019') is very meaningless (you can also use a very old version on this day have built)... A bad side effect of the previous name is the length: In no file explorer you can see the configuration used and the build tag right away. The word 'openvario' is written out 3 times - really completely pointless
My suggestion for a new naming convention:
Git branch versioning (using tags): The tag should be derived from the Yocto version used (e.g. Warrior = 2.7, Hardknott = 3.3, Honister = 3.4...) - and count up the order as a subminor value. The first release from the beginning of January 2022 corresponds to a version 3.3.1 (1st release with Hardknott) - and the next release to 3.3.2. However, the preliminary releases are also taken into account!).
Self-built images get a 7-digit commit number at the end.
Even this is not solved if the developer changes the configuration and the files independently, but you get an impression of the development status from which it was derived! All other significant changes should also be written into a config file that can be found in the root of the SD card: XCSoar version, sensord version, variod version, etc. etc.
The image name should be as short and meaningful as possible - and possible redundancies should be removed, no 'normal' user needs 'rootfs' for example - this may only be of interest to the developer - and he in turn knows how he built the image!
The device type should also be more meaningful, in my opinion 4 characters are enough: 2 for the display and 2 for the size, e.g.
The lowercase letters in the MACHINE type prevent some Yocto build warnings
This would make the names of the images much shorter and describe the actual configuration much better!
'OV-ch70-v3.3.2.img.gz' or with commit 'OV-ch70-v3.3.2-73fbee0.img.gz' instead of 'OpenVario-linux-openvario-image-glibc-ipk-22005-openvario-7-CH070.rootfs.img.gz'
If important information about the image type is missing, this would be the opportunity to integrate it. But while we're in the process of cleaning up the whole process, it would also be the right time to make that switch now!
Beta Was this translation helpful? Give feedback.
All reactions