Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update packaging to the pip install method #99

Merged
merged 45 commits into from
Feb 1, 2025

Conversation

Svenum
Copy link
Contributor

@Svenum Svenum commented Feb 1, 2025

No description provided.

leopoldhub and others added 30 commits June 1, 2024 19:37
…o#44)

(non contributors cannot be assigned to issues)
* removing binary blobs from the project.
we now fetch the ectool from the gitlab artifacts and confirm the checksum.

* remove bin references from README.md

* extracting $TEMP_FOLDER from installEctool
…e description (TamtamHero#52)

* Review README spelling/grammar

* Fix "FrameWork" capitalization in service
…ontroller and SocketController diversity. 2 (Repost of TamtamHero#50) (TamtamHero#58)

* separating `FanController` into different subclasses to allow `HardwareController` and `SocketController` diversity

* adding the new arguments into the README.md

* fixing an indentation error causing `--strategy <strategy>` not to work (the simple `<strategy>` still worked)
…ket method instead of manual closing, as well as updating error detection pattern (TamtamHero#64)
* forcing utf-8 encoding for socket messages and usage of stopServerSocket method instead of manual closing, as well as updating error detection pattern

* README.md documentation update

* change log format on fatal crash

* fix badges links

* adding windows platform badge and issue template

* fix `:` instead of `=`

* disabling part of the README.md while waiting for merge
* forcing utf-8 encoding for socket messages and usage of stopServerSocket method instead of manual closing, as well as updating error detection pattern

* README.md documentation update

* change log format on fatal crash

* fix badges links

* adding windows platform badge and issue template

* fix `:` instead of `=`

* first part of the command argument refactoring.

the old argument format is deprecated but still usable.

improved feedback when executing commands.

TamtamHero#31

* trim blank lines in README.md
* add configuration for no battery mode in hardware controller

* fix wrong line getting noBatteryMode

* dynamically fetching battery sensor on init/reload

* add --no-battery flag for install

* update readme with --no-battery flag

* rework no battery config to come from service args

* change sensors to be ectool specific

- reword the argument to be more clear about battery sensors
- move `noBatteryMode` and `nonBatterySensors` to EctoolHardwareController
- update `getNonBatterySensors` to be able to handle more than one sensor
- update installer and readme accordingly

* update grep command for checking existing `--no-battery-sensors`

* combine getTemperature functions to one

* add documentation for run option `--no-battery-sensors`

* rename variable `NO_BATTERY` to `NO_BATTERY_SENSOR`

* update the installer to use existing placeholder format

* rename noBatterySensorMode variables and functions for clarity

* rename placeholder to `NO_BATTERY_SENSOR_OPTION` for clarity

* update comments in installer to reflect new argument name
typo "tempurature" => "temperature"
typo "tempurature" => "temperature"
* add doc folder

* update nix link

* add toc

* add link

* add missin #

* add doc

* fix link

* add new line under titles
* Add option to print current speed percentage

* Update README.md

* Update commands.md

* Add print choice descriptions to help text
* Additional context to command returns (current strategy and new behaviour)

* adding "strategy in use" context to reset command
> multi file script
> pip installation
> fixing the module name ("src" => "fw_fanctrl")
* JSON output format (`--output-format` NATURAL, JSON)

* Add normalized output format to service runtime

* Add an "all" print option and set it to default.

* Add active status print
# Conflicts:
#	fanctrl.py
@leopoldhub
Copy link
Collaborator

@Svenum does it still work with the #100 feedback modifications?

Copy link
Collaborator

@leopoldhub leopoldhub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are 2/3 changes to update the packaging branch correctly

.editorconfig Show resolved Hide resolved
.gitignore Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
@Svenum
Copy link
Contributor Author

Svenum commented Feb 1, 2025

Everything done

@Svenum
Copy link
Contributor Author

Svenum commented Feb 1, 2025

I merged #100 into this pr

@leopoldhub
Copy link
Collaborator

Thanks a lot ^^

Have a nice day!

@leopoldhub leopoldhub merged commit d6e54f2 into TamtamHero:packaging/nix Feb 1, 2025
1 check passed
@Svenum Svenum deleted the nix-pip branch February 1, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants