Changelog 11 KB

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