Ability to host your own WrapDB #12296
Replies: 2 comments 10 replies
-
#6497 (comment) Apparently the service backing WrapDB is already open source and could (possibly?) be used for hosting, so it's just a matter of allowing to specify a source for |
Beta Was this translation helpful? Give feedback.
-
3rd party WrapDB has always been something we wanted to allow. It's not currently possible, but it's shouldn't be too hard to get there. There is only a handful places in Meson where the wrapdb URL is hardcoded: Basically what would be needed is a command line argument to "meson wrap" to specify a custom URL where to find a releases.json file. |
Beta Was this translation helpful? Give feedback.
-
I maintain a large list of meson wraps for Game Boy Advance homebrew projects.
Currently, making these available to users requires they download the meson-gba skeleton project, which includes all files for all libraries and tools unconditionally. This is both messy for the end user, and messy for me to maintain and test (currently I have a
dev
branch I need to keep somewhat painstakingly rebasing against master, since my development setup and the end user setup are different). It also means to get an updated version of a wrap, the end user needs to either manually download the files, or do agit stash; git pull; git stash apply
dance)Meson provides
meson wrap
for downloading and adding wraps from a hosted database. However, there's no mechanism to use a database other than the meson-provided WrapDB. Besides being a potential single point of failure (no ability to use mirror servers), this means I am left with two options, either reimplementing a form of WrapDB for my project, or continue doing it this way. The highly domain-specific nature of these projects means they're unlikely candidates for the official WrapDB, and even without that, the overhead of making semi-frequent pull requests to WrapDB for on the order of two dozen projects is simply not feasible for me.It would be great if meson could allow specifying a WrapDB server, or a similar functionality, such as being able to download a wrap from a WrapDB-like git repository, for example.
Beta Was this translation helpful? Give feedback.
All reactions