Bug 2096184 - `micro -version` prints `0.0.0-unknown`
Summary: `micro -version` prints `0.0.0-unknown`
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: micro
Version: 36
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-13 08:16 UTC by cyq
Modified: 2023-05-06 13:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-06 13:41:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description cyq 2022-06-13 08:16:39 UTC
Description of problem:

Micro was not built with version info variables set.

Version-Release number of selected component (if applicable):

`2.0.8-4`

Steps to Reproduce:
1. `sudo dnf install -y micro`
2. `micro -version`
3. Observe the output

Actual results:

```
Version: 0.0.0-unknown
Commit hash: Unknown
Compiled on Unknown
```

Expected results:

Something like this (this is the latest version on Arch):
```
Version: 2.0.10
Commit hash: b9763856
Compiled on May 01, 2022
```

Comment 2 Ben Cotton 2023-04-25 17:25:08 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 cyq 2023-05-06 13:41:10 UTC
I rechecked today. Version info is now included in Fedora 38.


Note You need to log in before you can comment on or make changes to this bug.