tecronin
Junior Member
Posts: 91
Raspberry Pi: Yes
|
Post by tecronin on Mar 21, 2021 19:54:42 GMT -8
is it possible to make code contributions?
in rooting around in the code there's somethings I'd like to add that may be beneficial to others.
nothing ground breaking,
some additional configs such as other db props,username, host, other polling intervals.
collecting internal pi metrics to the db, temp, disk usage, mem usage, cpu load.
|
|
|
Post by SDL on Mar 24, 2021 9:18:02 GMT -8
Oh definitely. Fork the code, do your modifications and then I'll do a merge. Do this on GitHub.
I like your ideas. Database updates have to be handled very carefully so as not to wipe existing data / schema.
BP
|
|
tecronin
Junior Member
Posts: 91
Raspberry Pi: Yes
|
Post by tecronin on Mar 24, 2021 11:58:21 GMT -8
I've used a tool called flyway to handle the db updates/versioning flywaydb.org/documentation/i can prototype something on my repo if you'd like Also found that you're already recording CPU temp.
|
|
|
Post by SDL on Mar 24, 2021 17:16:36 GMT -8
Love to see that. Start with something simple. Like fixing the Timestamp update.
BP
|
|
tecronin
Junior Member
Posts: 91
Raspberry Pi: Yes
|
Post by tecronin on Mar 24, 2021 17:20:22 GMT -8
Will do.
|
|
tecronin
Junior Member
Posts: 91
Raspberry Pi: Yes
|
Post by tecronin on Mar 24, 2021 20:14:41 GMT -8
|
|
|
Post by SDL on Mar 26, 2021 16:35:08 GMT -8
I see what you mean about the revisioning power of flyaway! I get it. I think for this rev of the database, we will have the customer execute a simple SQL script that fixes the big problem of the TimeStamp Update.
BP
|
|