[smartmontools-support] SVN - branches/RELEASE_7_1_DRIVEDB missing
Michał Sochoń
kaszpir at gmail.com
Fri Mar 19 21:35:31 CET 2021
Hey,
I was configuring auto-fetching of the drivedb.h file on system
install based on smartctl version,
by simple awking smartctl --version output to set variable
smartctl_version, which ended as 7.1 on ubuntu focal 20.04.
I decided to use that var as a fragment of the URL to fetch the latest
drivedb.h file from SVN.
I discovered that my scripts are failing because the branch
'branches/RELEASE_7_1_DRIVEDB' is missing in SVN.
A quick look at the
https://www.smartmontools.org/browser/trunk/smartmontools/drivedb.h
and the 'Visit' drop-down menu shows a lot of other versions, except
7.1.
Some questions:
- is the missing branch for 7.1 done on purpose, or could it be added
by the maintainers?
- should I switch to tags (and probably deal with some non-moving refs
if the tags are not updated)?
- is it better to actually add extra logic to the code to handle such
situations? (for example if version is 7.1 then fall back to 7.0)
Thanks in advance.
--
Michal Sochoń
alias _KaszpiR_ kaszpir at gmail.com
More information about the Smartmontools-support
mailing list