firmware/src/packages/fff
Adrian Schmutzler bdd1908126 treewide: set PKG_RELEASE automatically
COMMITCOUNT allows to have the PKG_RELEASE calculated automatically
based on the number of commits for the package folder.

AUTORELEASE will count the number of commits since the last upstream
bump. This is relevant for packages with PKG_VERSION or
PKG_SOURCE_DATE set, but will not work for us since it assumes the
use of certain identifiers in commit titles.

COMMITCOUNT works fine for most of our packages, with the following
exceptions:

 * fff-nodewatcher would yield a commit count of 55, while the
   current PKG_RELEASE is 61. Thus, we do not touch it for now.

 * Packages that have been renamed will start counting from 1 after
   the rename, since folder renames are not tracked by git. This
   will result in descreasing PKG_RELEASE after the change for
   these packages.
   However, since moving essentially creates a new package anyway,
   counting from 1 makes sense conceptually, and PKG_RELEASE is
   still replaced for these packages.

 * alfred-json and fff-macnock use upstream code and thus would
   normally require AUTORELEASE. As discussed above, this will
   not work for us, so just leave these two untouched.

Note that all this is quite irrelevant for the way we use packages
currently, as without opkg PKG_RELEASE does not matter to us anyway.
So, let's just be happy about not having to bump PKG_RELEASE
anymore, while keeping the basic functionality intact.

The only package where the PKG_RELEASE is actually used for
something is fff-nodewatcher, where the version will be displayed
in the Monitoring.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[fabian@blaese.de: rebase, add new packages]
Signed-off-by: Fabian Bläse <fabian@blaese.de>
2022-01-06 19:04:39 +01:00
..
alfred-json treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-alfred treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-alfred-monitoring-proxy treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-babeld treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-batman-adv treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-boardname treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-config treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-dhcp treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-fastd treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-firewall treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-hoods treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-hoodutils treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-layer3 treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-layer3-config treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-macnock Unify package URL in fff-packages 2021-11-10 13:42:03 +01:00
fff-mqtt treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-mqtt-monitoring treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-network treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-node treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-nodewatcher Unify package URL in fff-packages 2021-11-10 13:42:03 +01:00
fff-ra treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-random treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-simple-tc treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-support treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-sysupgrade treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-timeserver treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-uradvd treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-vpn-select treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-vxlan-node-vpn treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-web-hood treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-web-mqtt treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-web-ui treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-wireguard treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00
fff-wireless treewide: set PKG_RELEASE automatically 2022-01-06 19:04:39 +01:00