Commit Graph

62 Commits

Author SHA1 Message Date
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.
2016-12-05 17:25:36 -05:00
Thibault Saunier f1366ba425 wrap: Fix getting push-url 2016-12-01 20:40:24 +01:00
Thibault Saunier 0ebf033f31 wrap: Allow specifying push URL in wrap files using git 2016-11-22 14:24:36 -03:00
Thibault Saunier 28cd23ab6e wrap: Make sure that the cloned git repo is properly cloned 2016-11-22 14:24:36 -03:00
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.
2016-10-20 00:10:00 +03:00
Jussi Pakkanen 3d8876bf59 Download without status updates if server does not report file size. Closes #771. 2016-09-14 19:09:57 +03:00
Elliott Sales de Andrade 181d9a891d Ensure URLs are closed with a context manager. 2016-08-27 18:29:56 -04:00
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.
2016-08-27 18:29:55 -04:00
Jussi Pakkanen 808451b5c7 Do not error out if git pull fails on subprojects. Closes #720. 2016-08-25 22:29:40 +03:00
Jussi Pakkanen eb6548a816 Created an emergency wraptool that downloads directly from Github. 2016-05-05 23:18:05 +03:00
Jussi Pakkanen c87835080d Restore warning state variable that got lost in refactoring. 2016-01-27 21:53:14 +02:00
Jussi Pakkanen 23b98cd6e6 Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir. 2016-01-16 17:35:29 +02:00