Merge branch 'master' into store-and-forward

This commit is contained in:
Thomas Göttgens 2025-01-05 23:26:32 +01:00 committed by GitHub
commit 45ff66e713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 11 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
.pio
.pio_core
pio
# ignore vscode IDE settings files

View File

@ -1,6 +1,7 @@
import configparser
import subprocess
import os
run_number = os.getenv('GITHUB_RUN_NUMBER', '0')
def readProps(prefsLoc):
"""Read the version of our project as a string"""
@ -29,12 +30,12 @@ def readProps(prefsLoc):
# # short for 'dirty', we want to keep our verstrings source for protobuf reasons
# suffix = sha + "-d"
verObj["long"] = "{}.{}".format(verObj["short"], suffix)
verObj["deb"] = "{}-ppa{}".format(verObj["short"], sha)
verObj["deb"] = "{}-{}~ppa{}".format(verObj["short"], run_number, sha)
except:
# print("Unexpected error:", sys.exc_info()[0])
# traceback.print_exc()
verObj["long"] = verObj["short"]
verObj["deb"] = "{}-ppa".format(verObj["short"])
verObj["deb"] = "{}-{}~ppa".format(verObj["short"], run_number)
# print("firmware version " + verStr)
return verObj

View File

@ -1,7 +1,8 @@
#!/usr/bin/bash
export DEBEMAIL="github-actions[bot]@users.noreply.github.com"
export DEBEMAIL="jbennett@incomsystems.biz"
export PLATFORMIO_LIBDEPS_DIR=pio/libdeps
export PLATFORMIO_PACKAGES_DIR=pio/packages
export PLATFORMIO_CORE_DIR=pio/core
# Download libraries to `libdeps`
platformio pkg install -e native

1
debian/rules vendored
View File

@ -7,6 +7,7 @@
# https://docs.platformio.org/en/latest/envvars.html
PIO_ENV:=\
PLATFORMIO_CORE_DIR=pio/core \
PLATFORMIO_LIBDEPS_DIR=pio/libdeps \
PLATFORMIO_PACKAGES_DIR=pio/packages

View File

@ -1,2 +1,3 @@
pio/libdeps
pio/packages
pio/packages
pio/core

View File

@ -1 +1 @@
extend-diff-ignore = "\.pio"
extend-diff-ignore = "\.pio\w*?$"