Skip to content

Releases: powerapi-ng/powerapi

v2.0.3

25 Apr 14:41
Compare
Choose a tag to compare

v2.0.3 (2023-04-25)

Build System

  • Bump PowerAPI package version to 2.0.3
  • deps: Bump codecov/codecov-action from 3.1.2 to 3.1.3
  • deps: Bump docker/metadata-action from 4.3.0 to 4.4.0
  • deps: Bump codecov/codecov-action from 3.1.1 to 3.1.2
  • deps: Bump pypa/gh-action-pypi-publish from 1.8.4 to 1.8.5
  • deps: Bump pypa/gh-action-pypi-publish from 1.8.3 to 1.8.4

Code Refactoring

  • Move DummyFormulaActor to utils, remove useless actors from tests.utils, clean code
  • Enable configuration of log in simple_puller_actor and simple_pusher_actor, enable sharing of alive attribute from simple_pusher_actor state with parent process, adapt test from simple_puller_actor, clean code
  • actor: Remove the forced timeout of the receive_control method
  • puller: Use the actor timeout value for the receive_control method
  • report: Rework Formula report code

Continuous Integration

  • Switch to Trusted Publishing (OIDC auth) for pypa/gh-action-pypi-publish
  • Enable informational mode for codecov/patch status
  • Use print-hash parameter for pypa/gh-action-pypi-publish

Documentation

  • Improve and update of contributions documentation.

Features

  • cli: Add Formula report support for database actor generator

Tests

  • Rework puller actor tests
  • unit: Add Formula report unit tests

v2.0.2

31 Mar 08:50
Compare
Choose a tag to compare

v2.0.2 (2023-03-31)

Bug Fixes

  • Correct csv usage as input (puller)
  • Improve tests for Report according to changes of json representation.
  • Correct usage of dispatcher_report_id. This attribute has also to be ignored in the json representation
  • Correct json representation for Reports. The sensor_sender attribute is never considered as it is always null. The dispatcher_report_id attribute is verified and ignored if it is null. refactor: Improve tests

Build System

  • Bump PowerAPI package version to 2.0.2
  • deps: Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.8.3

Code Refactoring

  • Remove useless import from configtest.py file
  • Move fixtures to configtest.py for Unit Tests and some Acceptation and Integration Tests. Remove useless fixtures imports in tests. docs: Add licence information in init file
  • Remove unused device_id paramete

Continuous Integration

  • Update secrets of docker/login-action for release workflow
  • Add dependabot configuration file
  • Bump version of actions/setup-python to v4
  • Fix wrong version hash for docker/metadata-action

v2.0.1

23 Mar 15:53
Compare
Choose a tag to compare

v2.0.1 (2023-03-23)

Bug Fixes

  • Events values of groups for HWPCReport
  • Files parameter is now mandatory for CSV database

Build System

  • Bump PowerAPI package version to 2.0.1
  • Use everything alias instead of specific packages in Dockerfile
  • Groups extra dependencies under convenience aliases in pyproject.toml
  • Update PowerAPI website url in pyproject.toml
  • Add optional dependencies group for lint tools in pyproject.toml
  • Bump minimal required PyZMQ version to 18.1.0
  • Remove unused NumPy dependency
  • Update Pylint configuration to fix warning about overgeneral-exceptions
  • Update Dockerfile to use pyproject.toml
  • Migrate from setup.(py|cfg) to pyproject.toml
  • Add workflow for CodeQL analysis
  • Remove debian post-install script

Code Refactoring

  • Remove rapl formula, move tests_utils to tests modul, clean code
  • Remove metadata usage in HWPCReport string method
  • Remove SafeContext from SocketInterface
  • Fix Pylint no-self-use error in cli/generator
  • Remove NumPy usage in StatBuffer
  • Disable Pylint broad-exception-caught check for Actor errors
  • Fix Pylint unsubscriptable-object error in libvirt acceptation tests
  • Fix Pylint broad-exception-caught errors in acceptation tests
  • Fix Pylint inconsistent-return-statements error in powerapi/utils

Continuous Integration

  • Add tar flag to not keep owner of git-chglog binary
  • Add follow redirect flag to curl for git-chglog release download
  • Add PYTHONPATH environment variable for package version check
  • Use devel alias instead of specific packages in build workflow
  • Update release workflow to publish container images to ghcr.io
  • Move git-chglog configuration files into .github directory
  • Set more restrictive token permissions for release workflow
  • Add upload of coverage reports to Codecov in build workflow
  • Add git-chglog configuration files
  • Rework release workflow
  • Rework build/test workflow

Miscellaneous Chores

  • Update references and links in README

Style

  • Correct flake8 error
  • Correct pylint errors
  • Adapt indentation to respect flake8 rules
  • Fix license header formatting
  • Remove blank lines in unit/acceptation tests to fix flake8 errors

Tests

  • Solve issue related to event value that always must be integers
  • Adapt HWPCReport tests for CSV imput

v2.0.0

22 Feb 15:50
Compare
Choose a tag to compare

2.0.0 (2023-02-22)

Bug Fixes

  • adapt and correct pusher integration tests and pusher source code (5af61b5)

  • adapt dispatcher integration tests (5e357cd)

  • adapting crash tests (75d5b6f)

  • add join for actors in unit tests (809e7c5)

  • add missing fixture dependencies (043e352)

  • add missing setproctitle dependency (412e323)

  • change python verion from 3.7 to 3.8 (696b5d5)

  • change python verion from 3.7 to 3.8 (62831bc)

  • cleaning clode (cf16aaf)

  • cleaning clode (7622a1f)

  • cleaning clode (57c2e87)

  • cleaning clode (e29ed49)

  • cleaning clode (c87959d)

  • cleaning clode (2cd343a)

  • correct acceptation tests (3ee1688)

  • correct generator bug (5c7d06c)

  • correct issue related to pusher actor name (13c34c0)

  • correct log configuration of puller and pusher actors (187ec48)

  • correct tests issues (7b370b5)

  • correct unit tests (8f17970)

  • correcting help typos (6a41fab)

  • correction of CLI tests and generator code (8d4550b)

  • correction of crash medium error acceptation tests (b1b0869)

  • correction of dispatcher tests (2068667)

  • correction of pusher integration tests (e1b29c2)

  • correction of simple architecture libvirt mapper acceptation tests (7ecc843)

  • correction of simple architecture tests (1b956ab)

  • correction of stop architecture acceptation tests (6aca3c0)

  • solve issues related to flake8 (b054652)

  • solve pylint issues (6e94329)

  • solve pylint issues (76c8396)

  • update pytest version (0fc1930)

  • refactor!: combining versions 1.1.0 and 0.10.0 (27b93e8)

Features

  • add main for using rapl formula (12d2e43)
  • add RAPL formula to core (5b636d1)
  • adding debug messages (75ae8a4)
  • adding debug messages (7dbc950)
  • adding SimpleDispatcherActor (2b034e0)

BREAKING CHANGES

  • TheSpian library is no longer used

v1.1.0

08 Aug 10:58
Compare
Choose a tag to compare

1.1.0 (2022-08-08)

Features

Adding support for changing ActorSystem implementation ( [73a5adf]) . The following tag has to be indicated in the formula's configuration file:

"actor_system": "<implementation>"

Via le command line via --as <implementation> or --actor_system <implementation>.

Possible values of <implementation> are: multiprocQueueBase, multiprocTCPBase or simpleSystemBase (default). The value for Convention Address.IPv4 is 127.0.0.1:1900 when multiprocTCPBase is selected.

v1.0.9

25 Jul 11:46
Compare
Choose a tag to compare

1.0.9 (2022-07-25)

Features

  • add influxdb 2 support as an output ( [dc0e2a6])

Here is an exemple in order to use it via the configuration file:

"output": {
  "pusher_power": {
    "type": "influxdb2",
    "model": "PowerReport",
    "uri": "http://127.0.0.1",
    "port": 8086,
    "db": "influxdb2-test",
    "org": "org_test",
    "token": "mytoken"
  }
}

And in the command line:

--output influxdb2 --model PowerReport -u http://127.0.0.1:8086 -g org_test -k 'mytoken' -d test_db 
  • allow other kind of actor ([2495c82])

v1.0.7

27 Jan 14:17
0fe4935
Compare
Choose a tag to compare

1.0.7 (2022-01-27)

#Features

Fixes

#129

v1.0.6

26 Jan 15:07
Compare
Choose a tag to compare

1.0.6 (2022-01-26)

#Features
Add filedb as a valid output in the parser

v1.0.5

21 Jan 13:48
Compare
Choose a tag to compare

1.0.5 (2022-01-21)

#Fixes
#128

v1.0.4

06 Dec 10:28
Compare
Choose a tag to compare

1.0.4 (2021-12-03)

Features