On 2021-10-28 6:10 a.m., Carlos E. R. wrote:
On 28/10/2021 13.47, Darryl Gregorash wrote:
Once a repo has $releasever in it instead of the version number,
Once! New repos will not have $releasever.
Oh, come on, Carlos. Just change <version number> to $releasever as you are adding the new repo.
it never needs to be edited again. It does not matter how that edit is done. I have no idea what you mean by new repositories being wrong. If they are wrong, then whoever added them to the system made a mistake.
When we create a new repo with YaST, it will not have $releasever because the actual URL we copy paste doesn't have it.
Ibid. And if you add a new repo via "one click" or whatever, just go into Yast (or use sed if you prefer) immediately and make the edit manually.
Unless we are aware at that moment in time, months away from updating, that we should change the name with $releasever.
The release version number is in the overwhelming majority of repo urls you will ever encounter. If you leave it alone, you will always need to change it some months away == so why not do it right away as a matter of habit?