Skip to content

Version information missing #19

Closed
thomas opened this issue Feb 12, 2024 · 2 comments · Fixed by #21
Closed

Version information missing #19

thomas opened this issue Feb 12, 2024 · 2 comments · Fixed by #21

Comments

@thomas
Copy link

thomas commented Feb 12, 2024

Hard to tell if this is a feature request or a bug.

But since the github releases are well crafted, it would be helpful if the executable would also tell the version, and maybe even the protocol revision ?

@donald
Copy link
Contributor

donald commented Feb 13, 2024

Hmm, we have fakeroot bee list cmirror.

How can cmirror know its version? Mirror the (expected next) version in the sources (Makefile) ? Easy to forget, additional work for every change and easy to get out of sync. As bee doesn't build from git, we can't use git describe --tags, which also has its problems anyway.

Any ideas how to implement this best?

@thomas
Copy link
Author

thomas commented Feb 13, 2024

I agree that the version info is not that important when using mariux with bee and pdist working hand in hand.

In case you install it on a different *nix, it is helpful to know at what stage /usr/bin/cmirror on some host is. I also agree that there is no simple/straight way to keep the version info of the software and the git-mechanics consistant. OTOH every other software project with public users has to deal with this problem.

Well, i think it is inevitable to do an extra check for the correct version before creating a git-release - in case you want this feature.

@donald donald mentioned this issue Mar 7, 2025
Merged
@donald donald closed this as completed in #21 Mar 7, 2025
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants