blob: fc3cc020cceb6dac83d78bf2efed731aa42921ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
---
title: fallback wraptool
...
# In case of emergency
In case wraptool is down we have created a backup script that you can use to download wraps directly from the Github repos. It is not as slick and may have bugs but at least it will allow you to use wraps.
## Using it
Currently the emergency tool is only in Meson trunk so you need a git checkout to use it. It also does not on releases older than 0.32.0 because they had a bug. (A workaround for older versions is to delete existing `foobar.wrap` files if you have them.)
To list all available wraps:
ghwt.py list
To install a wrap, go to your source root, make sure that the `subprojects` directory exists and run this command:
ghwt.py install <projectname>
This will stage the subproject ready to use. If you have multiple subprojects you need to download them all manually.
## How to upgrade an existing dir/fix broken state/any other problem
Nuke the contents of `subprojects` and start again.
## Known issues
Some repositories show up in the list but are not installable. They would not show up in the real wrapdb because they are works in progress.
Github web API limits the amount of queries you can do to 60/hour. If you exceed that you need to wait for the timer to reset.
|