Skip to content

Releases: green-coding-solutions/hog

Moving to io

26 Feb 20:26
Compare
Choose a tag to compare
  • Reduces the DB size locally. Thx to @ syphar
  • Moves the domain to green-coding.io and the GitHub references away from Berlin and to Solutions

If you are already running the Power Hog you will not be able to see your local data anymore as we are moving to a new DB! You will also need to stop all services associated with .berlin and do a reinstall.

sudo launchctl unload /Library/LaunchDaemons/berlin.green-coding.hog.plist
sudo rm /Library/LaunchDaemons/berlin.green-coding.hog.plist

This is a breaking change!!!!

Bug fix release

21 Nov 19:03
Compare
Choose a tag to compare

Fixes #16

New install

Download the Power.Hog.0.4.dmg file below and open the dmg file and then move the Hog into your Applications folder.

As we currently don't sign every release of the hog you will need to open it with a right click on the the Hog app and then select open. You will then be warned that we haven signed the release. Please press Open here. Once the hog as opened you will see the icon in the menu bar which will tell you how to install the monitoring service.

Update

You will need to download the hog.app.zip and move it into your Application folder. Please remember to execute it with right click and "Open" as we still don't sign the app.

You will also need to reinstall the power_logger with:

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/green-coding-berlin/hog/main/install.sh)"

Loads of bugfixes and improvements

18 Oct 23:45
Compare
Choose a tag to compare

This is quite a big release as it fixes quite a few crucial errors and bugs. It also introduces some new functionality.

Update/ Install

  • You will need to download the hog.app.zip and move it into your Application folder. Please remember to execute it with right click and "Open" as we still don't sign the app.

  • You will also need to reinstall the power_logger with:

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/green-coding-berlin/hog/main/install.sh)"

Bugs/ Features fixed:

  • Fixes: #13
  • Fixes: #12
  • Fixes #10
  • Fixes: Process deadlock problem with broken pipe 🥳
  • Fixes: Syncing issue with app
  • Fixes: Huge speed improvements

New features

  • New black hog logo for menu bar
  • You are now notified if there is a new version of the hog
  • A new database checker checks if the power logger is still running and kills the process if not
  • Uploads are now handled in a new thread so they don't block data collection
  • You can now specify coalitions you want to resolve
  • The hog now supports logging with output to a file if needed and log levels
  • Return codes now have a meaning

Little launch

29 Sep 14:19
Compare
Choose a tag to compare

This is the first little launch. The GMT now has the DB to support your data coming in. You should be able to download the hog.app and also install the logger. Feel free to submit a bug report if things don't work out.

As we are currently not signing every release you will need to need to right click on the hog app and select "Open" if you don't want to get an error as such:
Screenshot 2023-09-29 at 16 23 32

Let's find the bugs

20 Sep 13:15
Compare
Choose a tag to compare

This is the first release for testing.
Please follow the steps for setup:

  • If you already have a hog version running please:
    • mv "/Library/Application Support/berlin.green-coding.hog/db.db" "/Library/Application Support/berlin.green-coding.hog/db.back"
    • sudo launchctl unload /Library/LaunchDaemons/berlin.green-coding.hog.plist
    • sudo rm /Library/LaunchDaemons/berlin.green-coding.hog.plist
    • Remove any previous hog apps
  • Download the hog.app.zip
  • unzip and move the hog.app to your application directory. Don't start the app!
  • If you want to upload the data and see detailed analytics you will need to install the https://github.com/green-coding-berlin/green-metrics-tool/tree/power_hog power_hog branch from the GMT. Please note that you will need a fresh DB as migrations are not ready.
  • create a setting file .hog_settings.ini https://github.com/green-coding-berlin/hog#settings with
[DEFAULT]
api_url = http://api.green-coding.internal:9142/v1/hog/add
web_url = http://metrics.green-coding.internal:9142/hog-details.html?machine_id=
upload_delta = 5
powermetrics = 1000
upload_data = true

assuming you are using the standard configurations. Modify accordingly if not

  • Start the hog app. You might have to do a right click and select open and click on some OK messages. Signing is in process to get rid of this.
  • Follow the instructions on how to install the hog
  • Profit

If you encounter any errors feel free to publish the issue under the discussions or as an issue here in the repo

v0.1

19 Sep 19:36
Compare
Choose a tag to compare

The initial release mainly for testing purposes.