Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-01-17 | Do not store config parser object in Wrap object. Closes: #7920. | Jussi Pakkanen | 1 | -11/+11 | |
2020-12-30 | Handle uppercase dependency names in wraps. | Jussi Pakkanen | 1 | -2/+5 | |
2020-11-20 | use real pathlib module | Dylan Baker | 1 | -1/+1 | |
We added the _pathlib module to work around defeciencies in python 3.5's implementation, since we now rely on 3.6 lets drop this | |||||
2020-11-03 | wrap: fix type annotations | Dylan Baker | 1 | -2/+2 | |
2020-11-03 | wrap: Fix git exception not catched by interpreter | Xavier Claessens | 1 | -1/+11 | |
This is a regression introduced in Meson 0.56.0, it was fatal error when optional dependencies fails to download their fallback subproject. | |||||
2020-10-19 | In text, betterer grammer usings. | Jussi Pakkanen | 1 | -1/+1 | |
2020-10-13 | wrap: Add 'redirect' type and use it when auto promote | Xavier Claessens | 1 | -13/+39 | |
2020-10-13 | Add wrap mode to disable auto promote | Xavier Claessens | 1 | -0/+2 | |
2020-10-13 | wrap: Use sub-subproject packagefiles | Xavier Claessens | 1 | -5/+6 | |
2020-10-13 | Merge wraps from subprojects into wraps from main project | Xavier Claessens | 1 | -10/+37 | |
wraps from subprojects are now merged into the list of wraps from main project, so they can be used to download dependencies of dependencies instead of having to promote wraps manually. If multiple projects provides the same wrap file, the first one to be configured wins. This also fix usage of sub-subproject that don't have wrap files. We can now configure B when its source tree is at `subprojects/A/subprojects/B/`. This has the implication that we cannot assume that subproject "foo" is at `self.subproject_dir / 'foo'` any more. | |||||
2020-10-04 | pathlib: Fix resolve() by overriding it in Python 3.5 | Daniel Mensinger | 1 | -1/+1 | |
2020-09-18 | msubprojects: Stop trying to guess subproject type | Xavier Claessens | 1 | -12/+0 | |
It was done to include them in `meson subprojects foreach` without --types argument, but it's better to special case missing --types and include wraps that have type=None too. It was a bad idea because that was messing them in `meson subprojects update`, now they are ignored by that command. | |||||
2020-09-10 | msubprojects: Allow comma separated list of types | Xavier Claessens | 1 | -0/+4 | |
2020-09-10 | Move verbose_git() and quiet_git() to mesonlib | Xavier Claessens | 1 | -18/+1 | |
2020-09-10 | msubprojects: Support git subprojects with no wrap file | Xavier Claessens | 1 | -0/+12 | |
User could have cloned manually a subproject. | |||||
2020-09-08 | typing: fix code review | Daniel Mensinger | 1 | -1/+1 | |
2020-09-08 | typing: fully annotate wrap | Daniel Mensinger | 3 | -34/+40 | |
2020-07-14 | wrap: Raise MesonException when git command fails | Xavier Claessens | 1 | -1/+4 | |
This avoid printing long backtrace by default, the user already has the output of the git command printed for debugging purpose since we don't redirect stdout/stderr. | |||||
2020-07-04 | wrap: Add back filename member in PackageDefinition | Xavier Claessens | 1 | -0/+1 | |
It is still used by msubprojects.py and cause issues when updating wrapdb. | |||||
2020-07-01 | wrap: Abort if multiple wraps provide the same dep or program | Xavier Claessens | 1 | -11/+23 | |
2020-07-01 | wrap: Refactor to split wraps dictionary into 3 separate dicts | Xavier Claessens | 1 | -50/+57 | |
It makes the code cleaner to have 3 separate dictionaries for packagename, dependency and programs. | |||||
2020-07-01 | Fix typo: coma->comma | Xavier Claessens | 1 | -2/+2 | |
2020-07-01 | find_program: Fallback if a wrap file provide the program name | Xavier Claessens | 1 | -0/+14 | |
We don't need the legacy variable name system as for dependency() fallbacks because meson.override_find_program() is largely used already, so we can just rely on it. | |||||
2020-07-01 | wrap: Add special 'dependency_names' key in [provide] section | Xavier Claessens | 1 | -1/+13 | |
The value for that key must be a coma separated list of dependecy names provided by that subproject, when no variable name is needed because the subproject uses override_dependency(). | |||||
2020-07-01 | wrap: Add 'provide' section | Xavier Claessens | 1 | -4/+44 | |
2020-06-30 | wrap: Apply patch even in VCS cases | Xavier Claessens | 1 | -1/+1 | |
2020-06-26 | wrap: add user agent when downloading files | Eli Schwartz | 1 | -1/+3 | |
This lets servers know when they're being used by meson. It also avoids issues where the Independent JPEG Group decided to ban the "Python-urllib" default user agent. Fixes https://github.com/mesonbuild/libjpeg/issues/9 | |||||
2020-06-21 | wrap: Add patch_directory support | Xavier Claessens | 1 | -12/+20 | |
Copy a tree instead of extracting an archive. Closes: #7216 | |||||
2020-04-25 | wrap: Add support for local files via only `*_filename` | Daniel Mensinger | 1 | -11/+27 | |
2020-04-13 | wrap: Add fallback urls | Xavier Claessens | 1 | -8/+17 | |
It can happen that a server is temporaly down, tarballs often have many mirrors available so we should be able to add at least one fallback mirror in wrap files. | |||||
2020-01-27 | Always disable interpolation for ini parsers. | Jussi Pakkanen | 1 | -1/+1 | |
2020-01-25 | wrap: Fix git clone with commit id in revision | Xavier Claessens | 1 | -1/+1 | |
Fixes: #6505. | |||||
2020-01-22 | Move git helper out into mesonlib for reuse | Nirbheek Chauhan | 1 | -15/+1 | |
Reuse the git helper for `meson wrap` and `meson subprojects` so we don't need to maintain the same git-colors-on-windows workarounds in multiple places. | |||||
2020-01-22 | wrap: Re-set the console mode after calling git | Nirbheek Chauhan | 1 | -0/+6 | |
`git submodule update --recursive` calls git clone recursively, and on Windows it will undo the console mode we set in mlog and cause ANSI colors to stop working. We could set it again only when we call that, but we will definitely miss other instances where this could happen in the future and regress. | |||||
2020-01-22 | wrap: Redirect stdin to DEVNULL when calling git | Nirbheek Chauhan | 1 | -1/+4 | |
Without this git messes up the console and ANSI colors stop working on Windows inside cmd.exe. This broke in https://github.com/mesonbuild/meson/pull/6139. Also add the same to all git calls. Missed this when I opened https://github.com/mesonbuild/meson/pull/6255 | |||||
2020-01-22 | wrap: Always use a wrapper for running git | Nirbheek Chauhan | 1 | -32/+28 | |
We need this for the next commit. | |||||
2020-01-22 | wrap: Look for git only once at startup | Nirbheek Chauhan | 1 | -22/+20 | |
No need to repeatedly call `shutil.which`. | |||||
2020-01-22 | wrap: Use uppercase for global constants | Nirbheek Chauhan | 1 | -12/+12 | |
This makes things much clearer and follows PEP8. | |||||
2020-01-17 | wrap: Fix support of file:// URLs | Xavier Claessens | 1 | -3/+1 | |
Fixes: #6445 | |||||
2020-01-08 | types: import typing as T (fixes #6333) | Daniel Mensinger | 1 | -5/+5 | |
2019-12-10 | dist: Fix --include-subprojects when .wrap file has directory value | Xavier Claessens | 1 | -14/+18 | |
2019-12-06 | Update Python2 syntax to Python3 syntax in Wrap | Michael Brockus | 2 | -10/+10 | |
2019-12-05 | wrap: check whitelist subdomain | Michael Hirsch, Ph.D | 1 | -18/+26 | |
wrap: add imposter URL test this test shows that meson wrap subsystem historically allows imposter URLs like https://wrapdb.mesonwrap.com.evil/v1/foo.zip while the new code does no. | |||||
2019-12-05 | wrap: raise WrapException instead of Python exception when program not available | Michael Hirsch, Ph.D | 1 | -23/+36 | |
2019-12-05 | use WrapDB domain whitelist, don't fallback to non-SSL when SSL available | Michael Hirsch, Ph.D | 1 | -12/+19 | |
In my opinion, we should not fall back to http:// from the SSL HSTS WrapDB URL, **for systems that have Python SSL** as that is controverting the point of HSTS + SSL. For systems that do not have Python SSL, they continue to work with a colored mlog.warning instead of only a stderr console print. attempt to stop masquerade URLS containing wrapdb.mesonbuild.com.evil.stuff.com | |||||
2019-12-05 | doc: py35 deprecation comments | Michael Hirsch, Ph.D | 1 | -1/+2 | |
2019-12-05 | lgtm: Fix insecure SSL/TLS version by removing dead code | Daniel Mensinger | 1 | -10/+4 | |
2019-12-05 | lgtm: fix Incomplete URL substring sanitization | Daniel Mensinger | 1 | -1/+3 | |
2019-11-28 | wrap: Resolver.get_git: Factor out --depth argument generation and make sure ↵ | Martin Hostettler | 1 | -5/+9 | |
not to pass None as parameter 507cf47507cf47 broke the combination of clone-recursive without depth. Because it passed depth (as None) to git. To fix this the depth option is now generated once as a list when depth is set and else set to an empty list and unpacked into the argument this when needed. This reduces duplication and allows code to work the same for both cases. | |||||
2019-11-07 | wrap.py: catch connection error with WrapException | Michael Hirsch, Ph.D | 2 | -7/+13 | |
fixes #6130 wrap: more error verbosity |