Attention

This is the documentation for HARP Proxy, actually published as an early preview. Both the software and documentation are a work in progress, and although we already use it on various production servers, they may contain inaccuracies, typographical errors, huge mistakes and empty pages. We work hard to eradicate all mistakes and implement stuff, but it is a long and tedious process. We appreciate your patience and understanding. Of course, any help will be greatly appreciated.

Chores before releasing

Before a new release is sent to the world, it’s usually a good idea to do some housekeeping.

Update and cleanup dependencies

Read dependencies list, ensure nothing is outdated

poetry show --tree --without dev
( cd harp_apps/dashboard/frontend; pnpm list )

Update dashboard’s frontend dependencies

(
   cd harp_apps/dashboard/frontend;
   pnpm update --interactive
)

Update python dependencies

To update all dependencies to their latest compatible version, use the following (requires the poetry-up plugin). Beware that everything will be updated non interactively, you must review pyproject.toml diff after that.

poetry up
git diff pyproject.toml

Check that all tests are passing (they need background services, for now)

poetry run make qa

Eventually commit the updated dependencies

git add -p pyproject.toml poetry.lock harp_apps/dashboard/frontend/package.json harp_apps/dashboard/frontend/pnpm-lock.yaml

All good ? Let’s push that.

git commit -m "chore: cleanup and update dependencies"
git push