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

Add more version information #5014

Merged
merged 23 commits into from
Jun 11, 2023

Conversation

matmair
Copy link
Contributor

@matmair matmair commented Jun 10, 2023

This PR adds more version information to packages:

  • installer
  • branch
  • platform

and makes commit hash and date information available for packaged apps.

Closes #4175

@matmair matmair added enhancement This is an suggested enhancement or new feature setup Relates to the InvenTree setup / installation process labels Jun 10, 2023
@matmair matmair added this to the 0.12.0 milestone Jun 10, 2023
@matmair matmair self-assigned this Jun 10, 2023
@matmair matmair marked this pull request as ready for review June 11, 2023 12:04
@matmair
Copy link
Contributor Author

matmair commented Jun 11, 2023

@SchrodingersGat please wait for one more commit with merging - I have to extend the docs so I do not forget what which packager code is

@matmair
Copy link
Contributor Author

matmair commented Jun 11, 2023

New sample output:

# Version Information:
InvenTree-Version: 0.12.0 dev
Django Version: 3.2.19
Commit Hash: 0a788b6a
Commit Date: 2023-06-11
Database: sqlite3
Debug-Mode: False
Deployed using Docker: False
Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.35
Installer: PKG
Target: ubuntu:20.04
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}]

@matmair
Copy link
Contributor Author

matmair commented Jun 11, 2023

@inventree/triage ready for review and merge

@SchrodingersGat SchrodingersGat merged commit 15ab911 into inventree:master Jun 11, 2023
12 checks passed
@SchrodingersGat SchrodingersGat deleted the matmair/issue4175 branch June 11, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an suggested enhancement or new feature setup Relates to the InvenTree setup / installation process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] Add Installer type, branch and publisher to version info
3 participants