mesonbuild / mesonwrap

Meson wraps service and tools, please use https://github.com/mesonbuild/wrapdb for wraps issues
https://wrapdb.mesonbuild.com
Apache License 2.0
26 stars 7 forks source link

New hosting location #117

Open jpakkane opened 4 years ago

jpakkane commented 4 years ago

I was chatting with @whot at LCA yesterday and it turns out that it is possible to get wrapdb hosted on freedesktop.org. This would be great for us because their servers are well staffed and working (they host stuff like x.org). I'll post more updates here as I get more information.

whot commented 4 years ago

cc @fooishbar

fooishbar commented 4 years ago

How much space do you need, how much bandwidth usage roughly, how do you upload new files?

jpakkane commented 4 years ago

I don't know the download amounts, but the files are small. They are Meson definitions for existing source projects, so a few k to maybe tens of k (original source is not embedded). The update mechanism currently is done via a Github web hook. The actual service is a small Python + SQLite service with and nginx frontend.

Or at least that was the way it worked when I originally created it. Other people have updated the code since, but AFAIK those have been minor changes and bugfixes.

legeana commented 4 years ago

Do we have a copy of sqlite database file from the time it went down? The main issue with the current implementation is that if we don't import the exact files checksums won't match. I have created a release for every wrap that was imported as far as I know so it can be recreated. I will look into starting the proxy this weekend to serve from github statelessly.

tp-m commented 4 years ago

I have a new server set up already fwiw, but I have to figure out how to set up the wrapweb bits.

I don't think anyone has a copy of the sqlite database.

legeana commented 4 years ago

I need a way to populate it. This is not supported yet. Let me see which one is faster to implement, proxy or populating.

tp-m commented 4 years ago

I'm __tim in #mesonbuild on freenode IRC btw, in case you want to have a chat.

legeana commented 4 years ago

Status update: we have a caching instance running based on github. It's a proxy to all releases. I am going to abandon a standalone database (finally!). Then we can have several independent instances running.