aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2021-03-07 23:52:59 +0100
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2021-05-24 15:45:18 +0300
commit9923c3f0176dc9f0e8579ceedd06148ecdacefe2 (patch)
treee319e5105b55c831eccdb7ecd6cc730bced8c025 /CHANGELOG.md
parent96d187be5c56dc5c157de3289b26cafce771b7b4 (diff)
Add project detection for Debian packaging directories
This adds project detection for unpacked Debian source packages. We detect this by checking for the presence of a debian/control file even though technically we should probably check for all of debian/{rules,contro,changelog}. I found documenting this too cumbersome so I went with just the control file. In Debian there's two main (lightweight) ways of building packages: dpkg-buildpackage and debuild. The latter is pretty much just a wrapper for the former that also runs static checks across the resulting package. Developers usually use debuild so that's what we use here. The -uc -us options we hardcode are extremely common. They disable codesigning which you'd usually not want to do for a simple developmnet build since it can always be done using debsign before uploading the package. Since tests usually run as part of the Debian package build and there isn't a unified way to run just the tests we don't add a :test command. Technically there's autopkgtest for running special 'as installed' tests after the package build, but this requires setting up some virtualisation drivers beforehand so it doesn't make much sense here either.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 73f43c7..89a1351 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@
* [#1608](https://github.com/bbatsov/projectile/pull/1608): Use rebar3 build system by default for Erlang projects.
* Rename `projectile-project-root-files-functions` to `projectile-project-root-functions`.
* [#1647](https://github.com/bbatsov/projectile/issues/1647): Use "-B" in the mvn commands to avoid ANSI coloring clutter in the compile buffer
+* [#1657](https://github.com/bbatsov/projectile/pull/1657): Add project detection for Debian packaging directories.
### Bugs fixed