equinor / komodoenv

Komodoenv is the virtualenv of the Komodo world
GNU General Public License v3.0
1 stars 3 forks source link

Add --no-update option #26

Closed pinkwah closed 3 years ago

pinkwah commented 3 years ago

A singular release is a komodo release which isn't tracked by any of: stable, testing, unstable or bleeding. The bug was that resolve_release failed if it couldn't find a tracking symlink regardless of the user's intention.

For komodo integration tests, we create komodoenvs towards these singular releases, since the unstable symlink isn't created before the integration tests begin, v0.3 of komodoenv would fail. This commit adds the --no-update option which disables tracking.

This is done by having tracked-release == current-release. When komodoenv-update is called, it'll work transparently and be a no-op.