Mike Sinkovsky
84902cb93a
style: [E301] expected 1 blank line, found 0
8 years ago
Igor Gnatenko
ef3cc6b3fa
style: fix E127 violations
...
E127: continuation line over-indented for visual indent
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
116da33cdd
style: fix E128 violations
...
E128: continuation line under-indented for visual indent
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
2017d8578a
style: fix E226 violations
...
E226: missing whitespace around arithmetic operator
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
d5ccd20aac
fix some of pylint's undefined-variable
...
************* Module mesonbuild.modules.rpm
E:106,29: Unsupported format character '{' (0x7b) at index 16 (bad-format-character)
************* Module mesonbuild.modules
E: 12,14: Undefined variable 'MesonException' (undefined-variable)
************* Module mesonbuild.modules.gnome
E:699,69: Undefined variable 'sargs' (undefined-variable)
************* Module mesonbuild.wrap.wrap
E:103,25: Undefined variable 'checkoutdir' (undefined-variable)
************* Module mesonbuild.backend.backends
E: 83,16: Undefined variable 'mlog' (undefined-variable)
************* Module mesonbuild.backend.ninjabackend
E:254,105: Undefined variable 't' (undefined-variable)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Jussi Pakkanen
b389f43060
Revert "Merge pull request #1145 from AlexandreFoley/wrap-fix"
...
This reverts commit 541dd92ef7
, reversing
changes made to 155617e539
.
8 years ago
Alexandre Foley
27cd8c1e28
The “directory present and not empty” return condition was necessary for subproject to work without a wrap file. Put it back with that added condition that there mustn’t be a wrap file present for returning the package immediately.
8 years ago
Alexandre Foley
61d5934e63
Added a few missing whitespace as noted by Ignatenkobrain. Replaced a comment by the piece of code it said was needed.
8 years ago
Alexandre Foley
228adaa287
Wrap.py: Made it so using an already downloaded subproject is only for the wrap-file case. Git and Mercurial can update the repository if it the wrap is one.
...
Also did a bit of cleanup.
interpreter.py: There’s a catch all except clause at the line 1928, it didn’t give the user any information whatsoever about the exception it caught. Now it at least print it to the log as a warning.
8 years ago
Thibault Saunier
f1366ba425
wrap: Fix getting push-url
8 years ago
Thibault Saunier
0ebf033f31
wrap: Allow specifying push URL in wrap files using git
8 years ago
Thibault Saunier
28cd23ab6e
wrap: Make sure that the cloned git repo is properly cloned
8 years ago
AlexandreFoley
263cb6a5f0
add support of mercurial repo for wrap,… ( #937 )
...
* add support for wrap of mercurial repo, and a test with a clone of the sample subproject used for the git test into a mercuriel repo.
* Added myself to author list, and switched the URL of the sample subproject in the wrap file to one under the control of the project's maintainers.
8 years ago
Jussi Pakkanen
3d8876bf59
Download without status updates if server does not report file size. Closes #771 .
8 years ago
Elliott Sales de Andrade
181d9a891d
Ensure URLs are closed with a context manager.
8 years ago
Elliott Sales de Andrade
4c71695e41
Use context manager for file I/O.
...
There are a few cases where a context manager cannot be used, such as
the logger.
8 years ago
Jussi Pakkanen
808451b5c7
Do not error out if git pull fails on subprojects. Closes #720 .
8 years ago
Jussi Pakkanen
eb6548a816
Created an emergency wraptool that downloads directly from Github.
9 years ago
Jussi Pakkanen
c87835080d
Restore warning state variable that got lost in refactoring.
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
ec44795f8a
Moved all wrap related things to their own submodule.
9 years ago
Jussi Pakkanen
a5508d3fd3
Can run most of test suite (with hacks).
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
33558cd979
Write source file immediately after checksum verification.
9 years ago
Jussi Pakkanen
4522a3a9a5
Use plain http connections to wrapdb when ssl is not working (i.e. on OSX).
9 years ago
Jussi Pakkanen
2aaca1561b
Use strict SSL when downloading from wrapdb.
9 years ago
Jussi Pakkanen
365155a4f0
Added simple progress bar to downloads. Closes #152 .
9 years ago
Jussi Pakkanen
63d101674d
Can create a subdirectory for projects whose zip files do not have one.
10 years ago
Jussi Pakkanen
b03ee73ace
Made multiwrap use wrabdb where possible.
10 years ago
Igor Gnatenko
14de94ccd8
add support for tar.xz file. Closes #126
...
shutil.ReadError: Unknown archive format '/home/brain/meson_wrap/subprojects/packagecache/enet-meson.tar.xz'
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
81754680f0
Refactor git updating to a method.
10 years ago
Jussi Pakkanen
dd519525ec
Add in this line that got lost by accident.
10 years ago
Jussi Pakkanen
faa623eb93
A few minor tweaks.
10 years ago
Jussi Pakkanen
29fa1dd522
Add support for checking out git repos to subprojects automatically.
10 years ago
Jussi Pakkanen
201664b2b8
Make directories in build tree, too.
10 years ago
Jussi Pakkanen
5a21b37149
Logging fix.
10 years ago
Jussi Pakkanen
f23e6c72f4
First cut at the Wrap dependency downloader.
10 years ago