Skip to content

Commit eb7aa3f

Browse files
author
Marko Oldenburg
committed
Merge pull request 'patch-addControlfile' (Man-fred#5) from patch-addControlfile into dev
Reviewed-on: https://git.cooltux.net/FHEM/mod-matrix/pulls/5
2 parents bffdf59 + 1961d02 commit eb7aa3f

15 files changed

Lines changed: 11 additions & 285 deletions

.gitattributes

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/fhem_test.yml

Lines changed: 0 additions & 97 deletions
This file was deleted.

.github/workflows/perlCritic.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 37 deletions
This file was deleted.

.perlcritic

Lines changed: 0 additions & 2 deletions
This file was deleted.

FHEM/70_Matrix.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ __END__
370370
"abstract": "Stellt einen Matrix-Chatbot bereit"
371371
}
372372
},
373-
"version": "v0.15.3",
373+
"version": "v0.15.4",
374374
"author": [
375375
"Manfred Bielemeier"
376376
],

README.md

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# FHEM/98_Matrix.pm
1+
# FHEM/70_Matrix.pm
22
## Vorwort
33
Ich habe seit gefühlten Ewigkeiten FHEM im Einsatz und jetzt neu auch Matrix, was bei mir Telegram als Meldungszentrale ablösen soll. Ich bin dabei einen Bot als FHEM-Modul aufzubauen der sowohl Meldungen absetzen kann als auch Befehle empfangen kann.
44

@@ -32,51 +32,4 @@ https://wiki.fhem.de/wiki/DevelopmentModuleIntro
3232

3333
### lib/
3434

35-
Put any libs(pure perl modules) you provide in a own package (not main) create in here
36-
37-
## automated Testing
38-
39-
### t/FHEM/98_Matrix/*
40-
41-
Unittests for the fhem mdoule run via github actions if needed you have to write them into folder t/FHEM/<modulename>/
42-
43-
44-
### t/FHEM/<packagename>/*
45-
46-
Unittests for the perl mdoule run via github actions if needed you have to write them into folder t/FHEM/<PACKAGENAME>/
47-
Unittests (run prove on perl modules (testscripts)) needs to be enabled in the fhem_test.yml workflow
48-
49-
```
50-
- name: run prove on perl modules (testscripts)
51-
run: prove --exec 'perl -MDevel::Cover=-silent,1 -I FHEM ' -I FHEM -r -vv t/FHEM/<packagename>
52-
```
53-
54-
### cpanfile
55-
56-
Cpan modules needed for running your module and your tests, they will be installed after perl is set up and running
57-
58-
### .github/workflows/update.yml
59-
60-
This is a github action workflow which creates a controls file which is needed for fhem update command.
61-
You are then able to install your new module
62-
`update all https://raw.githubusercontent.com/fhem/<reponame>/<branch>/controls_<reponame>.txt`
63-
64-
### .github/workflows/fhem_test.yml
65-
66-
This is a github action workflow which runs all your tests in t/xx_<Module> folder with different perl versions.
67-
68-
### .github/dependabot.yml
69-
70-
Dependabot will check if there are new versions form used actions you are using in your worflows and inform you.
71-
72-
### Code coverage
73-
You can use codecov (https://about.codecov.io/) to monitor your test code coveage.
74-
Simply enable the coverage action an provide a token vom codecov.io via github secrets
75-
76-
- uses: codecov/codecov-action@v1
77-
with:
78-
token: ${{ secrets.CODECOV_TOKEN }}
79-
file: ./cover_db/clover.xml
80-
flags: unittests,fhem,modules
81-
name: fhem (testscripts) ${{ matrix.perl }}
82-
35+
Put any libs(pure perl modules) you provide in a own package (not main) create in here

controls_Matrix.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
UPD 2023-01-04_18:24:55 16959 FHEM/70_Matrix.pm
2+
UPD 2023-01-04_17:59:18 51844 lib/FHEM/Devices/Matrix/Client.pm

controls_matrix.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)