diff --git a/recipes-connectivity/aws-connector/aws-connector_git.bb b/recipes-connectivity/aws-connector/aws-connector.bb similarity index 93% rename from recipes-connectivity/aws-connector/aws-connector_git.bb rename to recipes-connectivity/aws-connector/aws-connector.bb index 2e91775..602aa4e 100644 --- a/recipes-connectivity/aws-connector/aws-connector_git.bb +++ b/recipes-connectivity/aws-connector/aws-connector.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/aws-connector;protocol=https;branch=ma file://service.template \ " -SRCREV = "05fcdc45e5829930ca7b32bb4f03c821eeaa1eef" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/aws-connector" GO_INSTALL = "${GO_IMPORT}/cmd/aws-connector" @@ -39,9 +39,6 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/aws-connector" RPROVIDES:${PN} += "kanto/aws-connector" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" - do_install() { install -d "${D}/${SC_BIN_DD}" diff --git a/recipes-connectivity/azure-connector/azure-connector_git.bb b/recipes-connectivity/azure-connector/azure-connector_git.bb index c1c9367..b82ae59 100644 --- a/recipes-connectivity/azure-connector/azure-connector_git.bb +++ b/recipes-connectivity/azure-connector/azure-connector_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/azure-connector;protocol=https;branch= file://service.template \ " -SRCREV = "c610acb7a3ea92afdde45b25bd4c197965266f95" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/azure-connector" GO_INSTALL = "${GO_IMPORT}/cmd/azure-connector" @@ -39,9 +39,6 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/azure-connector" RPROVIDES:${PN} += "kanto/azure-connector" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" - do_install() { install -d "${D}/${SC_BIN_DD}" diff --git a/recipes-connectivity/local-digital-twins/local-digital-twins_git.bb b/recipes-connectivity/local-digital-twins/local-digital-twins_git.bb index 3a717be..dc3f840 100644 --- a/recipes-connectivity/local-digital-twins/local-digital-twins_git.bb +++ b/recipes-connectivity/local-digital-twins/local-digital-twins_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/local-digital-twins;protocol=https;bra file://service.template \ " -SRCREV = "b12fba36af75174753223e63fafaf1a95f17c3f0" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/local-digital-twins" GO_INSTALL = "${GO_IMPORT}/cmd/twins" @@ -39,8 +39,8 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/local-digital-twins" RPROVIDES:${PN} += "kanto/local-digital-twins" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" +# BUILD_VERSION = "0.1.0-M2" +# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${LDT_BIN_DD}" diff --git a/recipes-connectivity/suite-connector/suite-connector_git.bb b/recipes-connectivity/suite-connector/suite-connector_git.bb index 0bd7980..9ee7165 100644 --- a/recipes-connectivity/suite-connector/suite-connector_git.bb +++ b/recipes-connectivity/suite-connector/suite-connector_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/suite-connector;protocol=https;branch= file://service.template \ " -SRCREV = "938ae1560e09058463972061de2a63275fa32d46" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/suite-connector" GO_INSTALL = "${GO_IMPORT}/cmd/connector" @@ -40,8 +40,8 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/suite-connector" RPROVIDES:${PN} += "kanto/suite-connector" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" +# BUILD_VERSION = "0.1.0-M2" +# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${SC_BIN_DD}" diff --git a/recipes-containers/container-management/container-management_git.bb b/recipes-containers/container-management/container-management_git.bb index e4111a7..bfbf061 100644 --- a/recipes-containers/container-management/container-management_git.bb +++ b/recipes-containers/container-management/container-management_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/container-management;protocol=https;br file://service.template \ " -SRCREV = "4b2cd25bd9f6f78c480677994b20ab7b6e46c39c" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/container-management" GO_INSTALL = "${GO_IMPORT}/containerm/daemon \ @@ -51,11 +51,11 @@ FILES:${PN} += "${CM_BIN_DD}/container-management ${CM_BIN_DD}/kanto-cm" # ensure all additional resources are properly packed in the resulting package if provided FILES:${PN} += "${CM_CFG_DD}/container-management/config.json" -VERSION_PKG = "github.com/eclipse-kanto/container-management/containerm" -BUILD_TIME = "${@time.strftime('%Y-%m-%dT%H:%M:%SZ',time.gmtime())}" -BUILD_VERSION = "1.0.0" -BUILD_REVISION = "${@'${SRCREV}'[:7]}" -export GO_EXTRA_LDFLAGS="-X ${VERSION_PKG}/version.GitCommit=${BUILD_REVISION} -X ${VERSION_PKG}/version.ProjectVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.APIVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.BuildTime=${BUILD_TIME}" +# VERSION_PKG = "github.com/eclipse-kanto/container-management/containerm" +# BUILD_TIME = "${@time.strftime('%Y-%m-%dT%H:%M:%SZ',time.gmtime())}" +# BUILD_VERSION = "0.1.0-M2" +# BUILD_REVISION = "${@'${SRCREV}'[:7]}" +# export GO_EXTRA_LDFLAGS="-X ${VERSION_PKG}/version.GitCommit=${BUILD_REVISION} -X ${VERSION_PKG}/version.ProjectVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.APIVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.BuildTime=${BUILD_TIME}" do_install() { install -d ${D}/${CM_BIN_DD} diff --git a/recipes-management/file-backup/file-backup_git.bb b/recipes-management/file-backup/file-backup_git.bb index 2c5370f..c38c318 100644 --- a/recipes-management/file-backup/file-backup_git.bb +++ b/recipes-management/file-backup/file-backup_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/file-backup;protocol=https;branch=main file://service.template \ " -SRCREV = "4ea460c50aeba1d1706528927b1564fe37c425dc" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/file-backup" GO_INSTALL = "${GO_IMPORT}" @@ -37,8 +37,8 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/file-backup" RPROVIDES:${PN} += "kanto/file-backup" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" +# BUILD_VERSION = "0.1.0-M2" +# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${FB_BIN_DD}" diff --git a/recipes-management/file-upload/file-upload_git.bb b/recipes-management/file-upload/file-upload_git.bb index 448f52c..e336534 100644 --- a/recipes-management/file-upload/file-upload_git.bb +++ b/recipes-management/file-upload/file-upload_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/file-upload;protocol=https;branch=main file://service.template \ " -SRCREV = "be9c7f236de2f2b64ca4fa58ceb1a95c4382b8b6" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/file-upload" GO_INSTALL = "${GO_IMPORT}" @@ -37,8 +37,8 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/file-upload" RPROVIDES:${PN} += "kanto/file-upload" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" +# BUILD_VERSION = "0.1.0-M2" +# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${FU_BIN_DD}" diff --git a/recipes-management/software-update/software-update_git.bb b/recipes-management/software-update/software-update_git.bb index 3d2314b..18d1bf8 100644 --- a/recipes-management/software-update/software-update_git.bb +++ b/recipes-management/software-update/software-update_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/software-update;protocol=https;branch= file://service.template \ " -SRCREV = "74b2b454b2e66c212f450c822f9f7394a6fc30e1" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/software-update" GO_INSTALL = "${GO_IMPORT}/cmd/software-update" @@ -37,8 +37,8 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/software-update" RPROVIDES:${PN} += "kanto/software-update" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" +# BUILD_VERSION = "0.1.0-M2" +# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${SU_BIN_DD}" diff --git a/recipes-management/update-manager/update-manager_git.bb b/recipes-management/update-manager/update-manager_git.bb index 7624e75..4645e56 100644 --- a/recipes-management/update-manager/update-manager_git.bb +++ b/recipes-management/update-manager/update-manager_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/update-manager;protocol=https;branch=m file://service.template \ " -SRCREV = "0b23c81367480892efd99c9fb086bad135d2e9e2" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/update-manager" GO_INSTALL = "${GO_IMPORT}/cmd/update-manager" @@ -37,8 +37,8 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/update-manager" RPROVIDES:${PN} += "kanto/update-manager" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" +# BUILD_VERSION = "0.1.0-M2" +# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${UM_BIN_DD}" diff --git a/recipes-monitoring/system-metrics/system-metrics_git.bb b/recipes-monitoring/system-metrics/system-metrics_git.bb index 93031c8..29062c2 100644 --- a/recipes-monitoring/system-metrics/system-metrics_git.bb +++ b/recipes-monitoring/system-metrics/system-metrics_git.bb @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/system-metrics;protocol=https;branch=m file://service.template \ " -SRCREV = "6be7a9b7dcd26df1687785ada267211ff7851435" +SRCREV = "${AUTOREV}" -PV = "1.0.0-git${SRCPV}" +PV = "0.1.0-git${SRCPV}" GO_IMPORT = "github.com/eclipse-kanto/system-metrics" GO_INSTALL = "${GO_IMPORT}/cmd/metrics" @@ -38,8 +38,8 @@ RDEPENDS:${PN} += "mosquitto" PROVIDES:${PN} += "kanto/system-metrics" RPROVIDES:${PN} += "kanto/system-metrics" -BUILD_VERSION = "1.0.0" -export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" +# BUILD_VERSION = "0.1.0-M2" +# export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}" do_install() { install -d "${D}/${SM_BIN_DD}"