question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RFC] Simplified wrapdb

See original GitHub issue

I have been thinking and experimenting a bit with ways to improve our wrapdb workflow.

Current issues:

  • The worflow to contribute new wraps requires manual steps that only @jpakkane can do (create new git repo, create releases).
  • The namespace under github.com/mesonbuild/ is a mess with over a hundred projects.
  • It requires running a (complex) python script server. It has to be hosted somewhere which has been an issue in the past. Even if it seems pretty stable now.
  • For projects that has meson build system upstream we still have to create a git repo containing a single upstream.wrap file. Currently wrapdb force generating a patch tarball that contains erronous license file.

My proposal: https://github.com/xclaesse/wrapdb

  • Move everything into a single git repository.
  • All commits are preserved, I wrote a script that import git history from all individual repos we had.
  • Contributing can be done with a simple PR, the CI takes care of creating release tarballs once merged. No more scripts manually run.
  • All previous release tarballs have been imported, sha256 are still the same.
  • No need of hosting a server, everything is just static files on github. However, we’ll need to setup redirects to keep using https://wrapdb.mesonbuild.com domain.
  • All wraps and their files are in subprojects/ directory, so we can actually build them for testing.

Example workflow:

TODO:

  • Change meson wrap command to use new system. We’ll have keep old wrapdb server running for a while for people running older meson version.
  • Add CI that actually build wrap subprojects, at least for those we can easily reproduce. It can be used for Meson RC validation maybe.

Needed redirects:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
tristan957commented, May 17, 2021

or versions: [{version: x, provides: y}]

0reactions
xclaessecommented, May 26, 2021

Are these the same what mesonwrap review does? If not, they should be added, all of those checks are there because they were necessary.

Didn’t know about that command, I’ll give it a look.

Done: https://github.com/mesonbuild/wrapdb_v2test/commit/56d54d6e4432bfaeef2c88becf37a553393e8cee

Read more comments on GitHub >

github_iconTop Results From Across the Web

Meson WrapDB packages
Project Versions Provided dependencies arduinocore‑avr 1.8.2‑1 · 1.6.20‑1 argparse 2.9‑1 · 2.6‑1, 2.5‑1, 2.4‑1, 2.2‑1 argparse bdwgc 8.2.2‑1 · 8.2.0‑1, 7.6.8‑1 gc
Read more >
refs/tags/v3.10.2 - third_party/json - fuchsia Git repositories
The library supports JSON Merge Patch (RFC 7386) as a patch format. Instead of using JSON Pointer (see above) to specify values to...
Read more >
[libcamera-devel,RFC,v3,4/5] Add Python bindings - Patchwork
I've struggled with this multiple times, and I haven't figured out a simple solution. We can build new C++ classes that wrap the...
Read more >
README.md · apertis/v2022dev2 · pkg / libinih · GitLab
inih (INI Not Invented Here) is a simple .INI file parser written in C. ... INI files, including RFC 822-style multi-line syntax and...
Read more >
FreeBSD Developers' Handbook
Popular in Universities as it is simple enough to teach to undergraduates as a ... automatic tunneling (described in 4.3 of this RFC)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found