Project

General

Profile

Feature #7082

Port git versioning into wip-2.0 branch

Added by John Spray over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Backend (packaging/deployment)
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

https://github.com/inktankstorage/calamari/tree/wip-git-version

Also use this to populate version in /info/ API resource, probably by injecting version string into a version.py file in the calamari server python modules or somesuch?

Associated revisions

Revision 0524f1c0 (diff)
Added by John Spray over 7 years ago

fixes #6917, get some real data into /info/

REGISTERED and LICENSE change from being placeholder
data to being honest "N/A" strings. The rest are
derived from salt grain data.

Salt grain data for the calamari server is also available
in its unadulterated form from a new /grains/ API resource
which (unlike /info/) requires authenticatio

The 'version' attribute into INFO is still unset pending
refs #7082

Revision 6100721e (diff)
Added by Dan Mick over 7 years ago

Makefile: add versioning

- check for DESTDIR in install target
- add get-versions.sh to get version from git describe
- create/manage version.py for api/v1 to use
- add version to info/ view
- make dpkg build run "set_deb_version" first

Fixes: #7082
Signed-off-by: Dan Mick <>

History

#1 Updated by John Spray over 7 years ago

  • translation missing: en.field_story_points set to 1.0

#2 Updated by Dan Mick over 7 years ago

  • Target version changed from v1.2 Backlog to v1.2-dev2

#3 Updated by Dan Mick over 7 years ago

  • Target version changed from v1.2-dev2 to v1.2-dev3

#4 Updated by Dan Mick over 7 years ago

  • Assignee set to Dan Mick

#5 Updated by Ian Colle over 7 years ago

  • Target version changed from v1.2-dev3 to v1.2-dev4

#6 Updated by Dan Mick over 7 years ago

  • Status changed from New to In Progress

#7 Updated by John Spray over 7 years ago

More specifically, the place to populate this in the api is calamari_rest.views.v1.Info

#8 Updated by Dan Mick over 7 years ago

  • Status changed from In Progress to Fix Under Review

#9 Updated by Ian Colle over 7 years ago

  • Status changed from Fix Under Review to Resolved

#10 Updated by Ian Colle over 7 years ago

  • Status changed from Resolved to Fix Under Review

#11 Updated by Dan Mick over 7 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF