Changelog 10 KB

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