]> git.ipfire.org Git - thirdparty/openwrt.git/commit
scripts: getver.sh: approximate version from date 17817/head
authorEric Fahlgren <ericfahlgren@gmail.com>
Sat, 1 Feb 2025 16:12:07 +0000 (08:12 -0800)
committerRobert Marko <robimarko@gmail.com>
Thu, 26 Jun 2025 08:29:50 +0000 (10:29 +0200)
commite56845fae3c05463a57ba8e0e104d6d8d8cd96ed
treec02c6cdb8d54e94815d7260deaf77e3935d94bc6
parente310d7187ec43e00487659923ce9876bc32c1a04
scripts: getver.sh: approximate version from date

When doing package support and management it is often the case that
knowing the corresponding openwrt repo's release version is useful.

For example, when adding package changes to the ASU server, the
openwrt revision is used as the cutoff for applying those changes.
Knowing a package change's hash in its remote feed repo allows us
to look up its change date, which we can now use with getver.sh
to approximate the revision in openwrt at which it was made.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17817
Signed-off-by: Robert Marko <robimarko@gmail.com>
scripts/getver.sh