Skip to content

Display version number in logs #597

Open

Description

@tsmbland

It would be really useful to print the version number at the top of the logs, mostly so I can see which version people are using when they send me their log files. Also the python version

Not sure what to do for developer installations (see this comment). I guess in this case I'd want some indication in the logs that a developer installation is being used, and ideally the git hash.

Activity

  1. moved this to 📋 Backlog in MUSEon Dec 6, 2024
  2. tsmbland commented on Dec 6, 2024

    @tsmbland
    CollaboratorAuthor

    I think what I'd want to appear in the logs is pretty much what you see when you run pip freeze, e.g.
    -e git+https://github.com/EnergySystemsModellingLab/MUSE_OS.git@58ffc1c3050dfbd4c974596fe7e9af6c4699b4ff#egg=MUSE_OS if using a developer installation
    or simply muse-os==1.3.0 if installed from pypi

    In the case of the developer installation that's the current git commit. Of course someone may have uncommitted changes, or a commit that they haven't pushed, but this is the best we can do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions