Changelog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. # Version 0.15.0 (2024-03-09)
  2. * deb: generate proper package name during `init-deb`
  3. (replacing underscores with hyphens)
  4. * python: add "upload" actions for poetry and hatchling
  5. * python: add "build" (`dist`) actions for poetry and hatchling
  6. * add downloading of external modules via `MAKEFILET_MODULES`
  7. * add default fallback URL for downloading `makefilet`.
  8. The download URLs can be configured via `MAKEFILET_DOWNLOAD_URL_TEMPLATES`.
  9. This requires an update of your embedded `makefilet-download-ondemand.mk`.
  10. # Version 0.14.4 (2023-12-15)
  11. * python/debian: allow early setting of `PYPI_UPLOAD_TARGET` and
  12. `DEBIAN_UPLOAD_TARGET`
  13. (previously these variables needed to be set *after* including makefilet in
  14. your `Makefile`)
  15. * python: remove check for existing pypirc section for `PYPI_UPLOAD_TARGET`
  16. (the default pypi target URL can be named explicitly without a section with
  17. the same name)
  18. # Version 0.14.3 (2023-12-10)
  19. * python: do not complain about a missing `pyproject.toml` file
  20. # Version 0.14.2 (2023-11-19)
  21. * python: allow customization of translation target (`django-translate`)
  22. via `DJANGO_COMPILEMESSAGES_ARGS` and `DJANGO_MAKEMESSAGES_ARGS`
  23. # Version 0.14.1 (2023-10-04)
  24. * python: deprecate 'DISABLE_CUSTOM_VIRTUALENV' in favor of the new
  25. 'PYTHON_VIRTUALENV_ENABLE'. The future behavior regarding virtual
  26. environments will change from "enabled by default" to "disabled by default".
  27. (Build systems like 'poetry' and 'hatch' now tend to hide virtual
  28. environments from developers.)
  29. * nodejs: do not rely on a valid version string in `package.json`.
  30. No we handle an empty version string gracefully.
  31. This should reflect the reality of many projects using `package.json` merely
  32. for dependency tracking.
  33. # Version 0.14.0 (2023-07-01)
  34. * python: enable Python support, if `pyproject.toml` exists.
  35. Previously only `setup.py` was used as an indicator file.
  36. * python: try to use `poetry` or `hatch` operations for test/lint/style
  37. (see `PYTHON_BUILD_SYSTEM`, `PYTHON_TEST_RUNNER`, `PYTHON_LINT_RUNNER` and
  38. `PYTHON_STYLE)_RUNNER`)
  39. # Version 0.13.0 (2023-02-16)
  40. * allow selection of a specific GPG key when signing the release tarball
  41. via `SIGNATURE_EMAIL`
  42. * fix interactivity issue with `init-deb` target
  43. (only relevant for hosts with more than one CPU)
  44. * remove out-of-tree build directory for `deb` packages in the context of a
  45. project with a git submodule
  46. (i.e. `build/debian/PROJECT-VERSION` is removed right after the build)
  47. # Version 0.12.0 (2022-11-02)
  48. * `makefilet-download-ondemand.mk`: change reference to "latest" commit from
  49. `master` to `main` (the branch was renamed)
  50. * Use `unstable` as the default release distribution when updating
  51. `debian/changelog`.
  52. Previously Ubuntu-derived systems used their current release name, thus
  53. preventing the name from being predictable.
  54. The previous behavior can be restored by setting `DEB_RELEASE_DISTRIBUTION`
  55. to an empty value.
  56. (Closes: #38)
  57. * allow `zstd` for `RELEASE_TAR_COMPRESSION_BIN`
  58. * rename `DISABLE_PYTHON_FLAKE8` to `DISABLE_PYTHON_LINT_FLAKE8`
  59. (clarifying that it refers to linting, only)
  60. * replace `DISABLE_PYTHON_BLACK` with `ENABLE_PYTHON_LINT_BLACK`, thus
  61. disabling `black` for style checks (`lint`) by default
  62. # Version 0.11.0 (2022-06-25)
  63. * Output synchronization (separation of output from parallel running targets)
  64. can be configured via the `MAKEFILET_OUTPUT_SYNCHRONIZATION` variable.
  65. Its value is handed over to `make`'s `--output-sync` argument.
  66. Typical values are `line` (default), `target` or `none`.
  67. # Version 0.10.0 (2021-10-31)
  68. * shell:
  69. * allow overriding of all variables
  70. * replace "SHELLCHECK_CALL" with "SHELLCHECK_ARGS"
  71. * introduce new variable SHELL_FILES_DIRECTORIES (default: ".")
  72. # Version 0.9.1 (2021-10-27)
  73. * release: handle VERSION indicator files nested below the project root
  74. (closes: #35)
  75. # Version 0.9.0 (2021-10-27)
  76. * ensure that changes in release-related files for npm
  77. (e.g. `package.json`) are committed via git
  78. * python:
  79. * allow disabling of flake8 lint checks via `DISABLE_PYTHON_FLAKE8=1`
  80. * allow override of files/directories used for flake8
  81. * add linting via black (can be disabled via `DISABLE_PYTHON_BLACK=1`)
  82. * add automatic formatting via black (`make style`)
  83. # Version 0.8.0 (2021-10-26)
  84. * allow selection of alternative download locations via
  85. `MAKEFILET_DOWNLOAD_URL_TEMPLATE` or `MAKEFILET_DOWNLOAD_URL`
  86. # Version 0.7.3 (2021-02-22)
  87. * fix detection of outdated makefilet version
  88. # Version 0.7.2 (2021-02-01)
  89. * fix determination of `shellcheck` path
  90. # Version 0.7.1 (2021-01-13)
  91. * fix detection of outdated makefilet version
  92. # Version 0.7.0 (2021-01-09)
  93. * python:
  94. * force removal of old "foo.egg-info/SOURCES.txt" during "clean-python"
  95. This is a workaround for https://github.com/pypa/setuptools/issues/436.
  96. (closes: #33)
  97. * python support (e.g. for venv) may be forced via MAKEFILET_ENABLE_PYTHON=1
  98. (closes: #23)
  99. * pypi2deb:
  100. * allow version specification for packages
  101. (closes: #26)
  102. * allow to run without a local debian/changelog file
  103. (closes: #25)
  104. * release:
  105. * add support for npm-based release
  106. (closes: #21)
  107. * shell:
  108. * do not disable shell-related checks by default
  109. Shell-related testing and linting can be disabled via DISABLE_SHELL_CHECK=1.
  110. * warn if shellcheck is missing
  111. * rename "test-shell" to "lint-shell"
  112. * automatically run jobs in parallel (if "-j X" is not specified)
  113. (closes: #29)
  114. * warn if the currently active version of makefilet is older than the version
  115. requested via MAKEFILET_DOWNLOAD_VERSION
  116. This may happen if makefilet is installed system-wide.
  117. (closes: #27)
  118. # Version 0.6.8 (2020-11-10)
  119. * python:
  120. * do not try to install virtualenv pre-dependencies which
  121. are part of the standard library
  122. # Version 0.6.7 (2020-11-10)
  123. * release:
  124. * tolerate untracked files during release
  125. * python:
  126. * ensure VIRTUALENV_PREDEPENDENCIES being available inside
  127. the virtualenv
  128. # Version 0.6.6 (2020-08-13)
  129. * python:
  130. * fix handling of "DISABLE_PYTHON_TESTS"
  131. # Version 0.6.5 (2020-08-12)
  132. * deb:
  133. * "test-deb" (and thus "test") does not depend on "lint-deb"
  134. anymore
  135. # Version 0.6.4 (2020-07-18)
  136. * python:
  137. * do not automatically upgrade the packages installed in the
  138. virtualenv
  139. # Version 0.6.3 (2020-07-14)
  140. * python:
  141. * finally fix the recursive virtualenv handling
  142. # Version 0.6.2 (2020-07-14)
  143. * python:
  144. * fix recursive virtualenv handling
  145. # Version 0.6.1 (2020-07-13)
  146. * python:
  147. * detect an active virtual environment and avoid entering
  148. it again
  149. # Version 0.6.0 (2020-07-13)
  150. * python:
  151. * add optional VIRTUALENV_PREDEPENDENCIES variable for
  152. emitting helpful warnings in case of missing build
  153. pre-dependencies
  154. # Version 0.5.5 (2020-06-24)
  155. * release:
  156. * add support for Makefile located in a subdirectory of
  157. a git repository
  158. # Version 0.5.4 (2020-01-09)
  159. * release:
  160. * avoid warning in case of empty BUMP_VERSION_COMMIT_FILES
  161. * handle more than three version number parts gracefully
  162. * download-ondemand:
  163. * do not hide wget error messages
  164. * makefile:
  165. * avoid accessing undefined variables
  166. * python:
  167. * fix coverage report visualization
  168. # Version 0.5.3 (2019-03-16)
  169. * release:
  170. * specify PROJECT_NAME for directory name in release tarball
  171. # Version 0.5.2 (2019-03-12)
  172. * deb:
  173. * allow override of dput call in `deb-upload` target with
  174. DEB_UPLOAD_COMMAND variable
  175. # Version 0.5.1 (2019-02-26)
  176. * fix virtualenv-related dependencies (e.g. for tests)
  177. # Version 0.5.0 (2019-02-25)
  178. * new component "python-django"
  179. * execute django-related check in "virtualenv-check" only for django projects
  180. # Version 0.4.0 (2019-02-25)
  181. * download-ondemand:
  182. * fix portability issue for *BSD
  183. * new component "python-virtualenv"
  184. * python:
  185. * "clean" depends on "clean-python"
  186. * allow disabling of tests explicitly via DISABLE_PYTHON_TESTS=1
  187. # Version 0.3.0 (2019-02-10)
  188. * deb:
  189. * suppress error messages in case of optional missing executables
  190. (e.g. dpkg-architecture)
  191. * allow arguments for lintian (see LINTIAN_ARGS)
  192. * release:
  193. * allow the filename of the bumpversion configuration to be overridden
  194. (BUMP_VERSION_CONFIG)
  195. * explicitly collect the list of files to be committed during
  196. "make release-*" (see BUMP_VERSION_FILES)
  197. * allow "BUMP_VERSION_FILES" to be overridden
  198. * fail if a file listed in "BUMP_VERSION_FILES" is missing
  199. * add "release-tar" and "release-tar-sign" targets
  200. * python:
  201. * fix execution of coverage within a virtualenv
  202. (missing python3-coverage)
  203. * allow override of test execution within a coverage run
  204. (via PYTHON_TEST_ARGS)
  205. * automatically run unittests
  206. (finishing without errors if no tests are found)
  207. * open the coverage report in a browser
  208. (only within a desktop session and if "xdg-open" is available)
  209. * fix dependency of "lint-python"
  210. (now attached to "lint" instead of "test")
  211. * new component "generic":
  212. * generate "tags" file via "ctags"
  213. * shell:
  214. * hide the shellcheck command
  215. (reducing noise in case of long lists of files)
  216. # Version 0.2.10 (2018-12-11)
  217. * release:
  218. * fix broken handling of "make release-undo" (introduced in 0.2.9)
  219. # Version 0.2.9 (2017-12-21)
  220. * release:
  221. * handle missing file ".bumpversion" gracefully
  222. * improved error message if VERSION file is missing
  223. # Version 0.2.8 (2017-11-19)
  224. * pypi2deb:
  225. * allow package-specific environment settings
  226. * improve failure detection
  227. * release: prevent successive (accidental) release commits
  228. * populate "Suggests" of deb package
  229. * documentation fixes
  230. # Version 0.2.7 (2017-08-27)
  231. * fixed recently introduced 'clean' operation
  232. # Version 0.2.6 (2017-08-27)
  233. * remove downloaded makefilet directory during 'clean'
  234. # Version 0.2.5 (2017-05-10)
  235. * fix 'install-python' due to bad 'DESTDIR' handling
  236. # Version 0.2.4 (2017-05-09)
  237. * fix path handling of 'check-dput-config' target for 'upload-deb'
  238. # Version 0.2.3 (2017-05-06)
  239. * tolerate errors in 'clean' targets
  240. * hide misleading error message for missing 'dh_listpackages' (from 'debhelper')
  241. # Version 0.2.2 (2017-05-02)
  242. * allow configurable parameters for 'install-python'
  243. * introduce the new target 'lint' for style checks
  244. * move 'flake8' check from 'test-python' to 'lint-python'
  245. # Version 0.2.1 (2017-04-29)
  246. * add minimal makefile snippet for 'download on-demand' integration into projects
  247. # Version 0.2 (2017-04-29)
  248. * calling 'flake8' on more platforms properly
  249. * deb packaging:
  250. * add 'init-deb' target (calls 'dh_make')
  251. * add deb packaging information for makefile itself (#2)
  252. * add 'test-deb' for lintian tests
  253. * allow quilt-based source format for repositories without submodules
  254. # Version 0.1 (2017-04-24)
  255. * Initial release
  256. * basic support for deb packaging, python, bumpversion, pypi2deb and shell scripts