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

DM-15075: Fix for editions that do not have a tracked_refs field #7

Merged
merged 3 commits into from
Jul 11, 2018

Conversation

jonathansick
Copy link
Member

@jonathansick jonathansick commented Jul 11, 2018

Fixed a bug when an LTD Keeper Edition had a tracked_refs field with a value of None (because the Edition does not use the git_refs tracking mode`).

First, the GitHub link does not appear if tracked_refs is not available.

Second, version heuristics are now computed against the slug.

Fixes #6

If an edition has a tracked_refs key of None, then the GitHub link is
simply not shown.

An edition can have tracked_refs = None because it uses an alternative
tracking mode.

Also switch to using the edition's `slug` field instead of the
`git_refs` because the slug should always be present.
@jonathansick jonathansick changed the title DM-15075: Fix for editions that do not have a tracked_refs field` DM-15075: Fix for editions that do not have a tracked_refs field Jul 11, 2018
@jonathansick jonathansick merged commit e090ed5 into master Jul 11, 2018
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

Successfully merging this pull request may close these issues.

1 participant