Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
temperature-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
stustanet
temperature-daemon
Compare revisions
06925de65521057f36c3b1894c8f1e62d087df4a to master
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
stustanet/temperature-daemon
Select target project
No results found
master
Select Git revision
Branches
esptemper
master
maxbill
Swap
Target
007638/temperature-daemon
Select target project
stustanet/temperature-daemon
roman/temperature-daemon
007638/temperature-daemon
3 results
06925de65521057f36c3b1894c8f1e62d087df4a
Select Git revision
Branches
esptemper
master
matrix
maxbill
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (4)
forgot version
· 7579d43c
Michael Loipführer
authored
4 years ago
7579d43c
update to bullseye
· 09e48995
Michael Loipführer
authored
3 years ago
09e48995
adapt to python 3.11
· 77396c01
Wolfgang Walter
authored
1 year ago
as recommended by Milobär
77396c01
bump debian version
· e876740c
Wolfgang Walter
authored
1 year ago
e876740c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+5
-5
5 additions, 5 deletions
.gitlab-ci.yml
debian/changelog
+13
-1
13 additions, 1 deletion
debian/changelog
tempermonitor/plugins/collectd.py
+2
-4
2 additions, 4 deletions
tempermonitor/plugins/collectd.py
with
20 additions
and
10 deletions
.gitlab-ci.yml
View file @
e876740c
default
:
default
:
image
:
debian-python
-
bu
ild:v2
image
:
debian-
build-
python
:
bu
llseye
# Is performed before the scripts in the stages step
# Is performed before the scripts in the stages step
before_script
:
before_script
:
...
@@ -16,12 +16,12 @@ before_script:
...
@@ -16,12 +16,12 @@ before_script:
# Defines stages which are to be executed
# Defines stages which are to be executed
stages
:
stages
:
-
build_bu
ster
-
build_bu
llseye
-
upload_to_repo
-
upload_to_repo
# Stage "build_bu
ster
"
# Stage "build_bu
llseye
"
build_bu
ster
:
build_bu
llseye
:
stage
:
build_bu
ster
stage
:
build_bu
llseye
script
:
script
:
-
apt update
-
apt update
-
apt install -y python3-stdeb python-all
-
apt install -y python3-stdeb python-all
...
...
This diff is collapsed.
Click to expand it.
debian/changelog
View file @
e876740c
tempermonitor (2.0.5) buster; urgency=medium
tempermonitor (2.1.1) bullseye; urgency=medium
* fix for python 3.11
-- Wolfgang Walter <wolfgang.walter@stusta.de> Sun, 06 Aug 2023 00:21:00 +0200
tempermonitor (2.1.0) bullseye; urgency=medium
* upgrade to bullseye
-- Michael Loipführer <ml@stusta.de> Fri, 12 Nov 2021 18:40:18 +0200
tempermonitor (2.0.6) buster; urgency=medium
* fix missing module
* fix missing module
...
...
This diff is collapsed.
Click to expand it.
tempermonitor/plugins/collectd.py
View file @
e876740c
...
@@ -10,11 +10,10 @@ class Collectd(Plugin):
...
@@ -10,11 +10,10 @@ class Collectd(Plugin):
"""
"""
def
__init__
(
self
,
monitor
):
def
__init__
(
self
,
monitor
):
self
.
loop
=
asyncio
.
get_event_loop
()
self
.
config
=
monitor
.
config
self
.
config
=
monitor
.
config
self
.
path
=
self
.
config
[
'
collectd
'
][
'
socketpath
'
]
self
.
path
=
self
.
config
[
'
collectd
'
][
'
socketpath
'
]
self
.
_reader
,
self
.
_writer
=
(
None
,
None
)
self
.
_reader
,
self
.
_writer
=
(
None
,
None
)
self
.
loop
.
run_until_complete
(
self
.
reconnect
())
asyncio
.
run
(
self
.
reconnect
())
self
.
monitor
=
monitor
self
.
monitor
=
monitor
...
@@ -28,8 +27,7 @@ class Collectd(Plugin):
...
@@ -28,8 +27,7 @@ class Collectd(Plugin):
self
.
_writer
.
close
()
self
.
_writer
.
close
()
self
.
_reader
,
self
.
_writer
=
await
asyncio
.
open_unix_connection
(
self
.
_reader
,
self
.
_writer
=
await
asyncio
.
open_unix_connection
(
path
=
self
.
path
,
path
=
self
.
path
)
loop
=
self
.
loop
)
async
def
_send
(
self
,
identifier
,
interval
,
timestamp
,
value
):
async
def
_send
(
self
,
identifier
,
interval
,
timestamp
,
value
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.