Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to find meza version in any webpage? CommandLine? #1312

Open
rjt opened this issue Sep 11, 2023 · 8 comments
Open

Where to find meza version in any webpage? CommandLine? #1312

rjt opened this issue Sep 11, 2023 · 8 comments

Comments

@rjt
Copy link

rjt commented Sep 11, 2023

Have spent three+ hours trying to find the exact version of our current meza wiki on wiki webpages themselves, but it is not there.

Could not find on webpage, so ssh'ed into the host expecting meza cli would document the way to find the existing version.

Happened across Jamesmontalvo3's issue " meza --version fails in Python 3.x #1311 ", but that does not show in the webpage.

Environment

  • xcp-ng.org xen vm
  • CentOS Linux release 7.9.2009 (Core)
  • meza version hash: (run cd /opt/meza && git rev-parse --short HEAD and report output)
    3838ace
    Note, one has to open a new case in order to find out how to get their current version of the git hash :(

Issue details

No error message because there is no place to look or command to run that i could find. So experimented.

meza version

        [mezawiki meza]$ meza version
        Traceback (most recent call last):
          File "/usr/bin/meza", line 1193, in <module>
            main(sys.argv[1:])
          File "/usr/bin/meza", line 63, in main
            display_docs(argv[0])
          File "/usr/bin/meza", line 1084, in display_docs
            f = open('/opt/meza/manual/meza-cmd/{}.txt'.format(name),'r')
        IOError: [Errno 2] No such file or directory: '/opt/meza/manual/meza-cmd/version.txt'

meza help

        [user@intrawiki ~]$ meza help
        Traceback (most recent call last):
          File "/usr/bin/meza", line 1193, in <module>
            main(sys.argv[1:])
          File "/usr/bin/meza", line 63, in main
            display_docs(argv[0])
          File "/usr/bin/meza", line 1084, in display_docs
            f = open('/opt/meza/manual/meza-cmd/{}.txt'.format(name),'r')
        IOError: [Errno 2] No such file or directory: '/opt/meza/manual/meza-cmd/help.txt'  

...
many more commands and file snooping
@revansx
Copy link
Contributor

revansx commented Sep 11, 2023

Best way to determine the version of meza imo is to cd into /opt/meza and do a git status

@revansx
Copy link
Contributor

revansx commented Sep 11, 2023

Also, are you aware that meza has been officially adopted by NASA and is now developed and maintained at GitHub.com/NASA/meza

@rjt
Copy link
Author

rjt commented Sep 12, 2023

Consider cases in which:

a user has no control over the install and trying to figure out why something is not working;
the sysadmin was hit by a bus;
users know the wiki website, but do not have access to the cli.
in fact, this could vary from wiki to wiki depending on what meza deploy parameters were chosen.

Would like all of the following in webpage:
meza --version
git status
pushd /opt/meza && git rev-parse --short HEAD; popd;

@rjt
Copy link
Author

rjt commented Sep 12, 2023

@revansx was not totally sure of whether to use the wiki or gh? I could see that most of the activity was at github.com/nasa but directions at mediawiki.org/wiki/Meza has a link entitled "this GitHub issue!" that points to issue 1051 on the nasa/meza/issues/ but does NOT exist. Issue 1051 does exist at https://github.com/enterprisemediawiki/meza/issues/1051 Wondering if gh /nasa/meza and /enterprisemediawiki/meza should form a gh Organization group and put it all under the gh org account?

@revansx
Copy link
Contributor

revansx commented Sep 12, 2023

In order to be officially developed by NASA it must remain a NASA project.

Your comments about some elements still pointing to EMW are noted and I will likely update them in the next day or so

@rjt
Copy link
Author

rjt commented Sep 13, 2023

Created issue 36 on nasa/meza gh.
nasa/meza#36

@rjt
Copy link
Author

rjt commented Sep 13, 2023

@revansx, thank you for your time.

@freephile
Copy link
Contributor

@rjt I just found and fixed some issues with meza --version and will be contributing my patches. freephile/meza#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants