Skip to content

[ADD] Makefile suite

This MR add a full makefile suite with a plethora of helpful make targets.

image

Important

This setup assumes that myauth is in the same folder as django-esi

─── AllianceAuthDev
    ├── django-esi
    └── myauth

If in doubt, symlink it …

Notable Changes

Pre-releases now follow the strict Semver format.

Before

x.y.za1
x.y.zb2

Now

x.y.z-alpha.1
x.y.z-beta.2

Notes to make targets

prepare-release

The prepare-release target does not write the changelog for you; that's still manual labour, but it will add the appropriate version header.

Changes in Development should be noted under the ## [In Development] - Unreleased header, below the <!-- Your changes go here --> line. That line is the marker for the prepare-release to figure out where to add the new version header.

This command also adds/updates the compare links for the version headers accordingly.
Comparing to pre-releases always takes the latest stable release as a base to compare from. (e.g.: 7.0.1 -> 8.0.0-alpha.1, 7.0.1 -> 8.0.0-alpha.2 and so on)

IMPORTANT

Tags/Releases on GitLab are expected to be without the v prefix, so these links will match!

Running make prepare-release will:

  • Update the version in __init__.py
  • Add a new version header in CHANGELOG.md below the <!-- Your changes go here --> line, so make sure your changes are noted there.
  • Regenerate translation files for all configured languages (see django_locales variable in .make/conf.d/django.mk)
  • Recompile translation files
  • Update the model graph PNG
  • Update the comparison links for the releases

Location of myauth

The location of the myauth directory is configured in django-esi/.make/myauth-path, which is a simple text file that holds the absolute path to myauth without a trailing slash.

Example:

/home/allianceserver/myauth

Might need to be added to the developer documentation.

Edited by Peter Pfeufer

Merge request reports

Loading