aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mdist.py
AgeCommit message (Collapse)AuthorFilesLines
2020-10-04pathlib: Fix resolve() by overriding it in Python 3.5Daniel Mensinger1-1/+1
2020-09-22mdist: actually constrain the choices of the --formats optionDylan Baker1-1/+1
Since we already have that list available.
2020-09-04environment: use ExternalProgram to find ninjaPaolo Bonzini1-6/+6
This allows the NINJA environment variable to support all the Windows special cases, especially allowing an absolute path without extension. Based on a patch by Yonggang Luo. Fixes: #7659 Suggested-by: Nirbheek Chauhan <nirbheek@centricular.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-07-01wrap: Refactor to split wraps dictionary into 3 separate dictsXavier Claessens1-1/+1
It makes the code cleaner to have 3 separate dictionaries for packagename, dependency and programs.
2020-06-13mdist: Filter out buildtype to avoid warningNirbheek Chauhan1-1/+1
Since we parse buildoptions.json to pass options, we end up passing -Dbuildtype and also -Doptimization and -Ddebug which triggers the warning: WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug [...] Filter out buildtype. It is redundant.
2020-03-29dist: Print location of generated tarballsXavier Claessens1-0/+1
Otherwise the location is not discoverable without reading online documentation.
2020-03-29dist: Add --no-tests optionXavier Claessens1-2/+6
It is not always needed to test generated tarballs, for example when they are generated by CI that already does its own testing.
2020-03-03Cherry-picking - (rm python2 % add python3 .format) (#6725)Michael Brockus1-3/+3
2020-02-17mdist: Use windows_proof_rmtree when deletingNirbheek Chauhan1-4/+4
2020-02-17mdist: Don't delete builddir on dist failureNirbheek Chauhan1-26/+31
Closes https://github.com/mesonbuild/meson/issues/1976
2020-02-10Exclude .hg* from dist tarballsRichard Laager1-1/+10
Debian's lintian checker complaints when upstream tarballs contain an .hgtags file. This excludes ".hg[a-z]*". This is mostly consistent with the git handling in del_gitfiles() which deletes .git*. hg archive --help shows an example of -X ".hg*". However, instead of ".hg*", I have used ".hg[a-z]*" to keep the automatically added hg_archival.txt. This file may be useful to link the tarball to the Mercurial revision for either manual inspection or in case any code interprets it for a --version or similar. This also excludes .hgignore and other things like .hgflow, which seems desirable. Fixes #6575
2020-01-23Set source and build dir envvars when running dist.Jussi Pakkanen1-4/+6
2019-12-10dist: Fix --include-subprojects when .wrap file has directory valueXavier Claessens1-1/+5
2019-12-08dist: Add --include-subprojects optionXavier Claessens1-8/+36
2019-10-19mdist.py: import lzma only when neededThomas Petazzoni1-1/+1
Source of patch: http://lists.busybox.net/pipermail/buildroot/2019-October/262990.html http://code.bulix.org/gdxcu4-914360 Fixes https://github.com/mesonbuild/meson/issues/6012
2019-08-07dist: Add '-C' option and print better error messageXavier Claessens1-2/+9
It was not obvious that 'meson dist' must be run from build directory.
2019-07-30dist: Pass right build options when configuring dist directoryThibault Saunier1-2/+6
Fixes https://github.com/mesonbuild/meson/issues/5732
2019-07-23Create multiple different archive types with dist.Jussi Pakkanen1-47/+59
2019-07-23Made dist a top level command.Jussi Pakkanen1-0/+209