Comments (2)
I'm not sure why #23789 is related.
My though is: has opam-repo-ci been reviewed and developed in a style to fail on errors? I remember there have been CI issues where it resulted in "ok" but didn't do anything. With the perspective of an attacker, if I manage to figure out something that leads to such CI confusion, and auto-merge is enabled -- I could easily take over the opam-repository. It may help to have a separate CI system, e.g. using GitHub action or likewise, that does a very small amount of checks (such as maintainer metadata, the diff is straightfotward (doesn't touch too many packages, checksums aren't changed, ...). You can see that I have some reservations with "ocurrent" and "opam-repo-ci" -- which is great to have, but at the same time a pretty big chunk of code - and I'm not aware of any design documents, neither a full system specification.
With the idea of "author/maintainer" of a package, this is still very much undefined. I worked years ago to find out "who's actually maintaining package X" by using the metadata from git. I guess this is a much more resilient approach than trying to decode the "maintainer" and "author" fields of opam -- which are very inconsistent. Turns out, in the long run, for conex we need that information about packages in any case.
from opam-repository.
Thank you for the considerations :)
I'm not sure why #23789 is related.
I guess you have a narrower topic in mind with the question in the title, "how does opam-repository scale", but the amount of manual work required is a bottleneck to scaling for a more active repo.
opam-repo-ci been reviewed and developed in a style to fail on errors?
That is certainly the hope! I'm sure there is room for improvement.
It may help to have a separate CI system, e.g. using GitHub action or likewise, that does a very small amount of checks
I agree that it would make sense for this kind of check to be in a simple, dedicated CI job, that was very easy to reason about.
With the idea of "author/maintainer" of a package, this is still very much undefined.
I don't think I get this point. We have a maintainer field, no? But using something like a .codeowners file may be better for the reasons you mention. One way of thinking about this effort is as a way of giving established package authors more autonomy over package publication, when everything is on the happy path. So I think it is worth considering adding support for that in way that may be orthogonal to opam's package meta data.
from opam-repository.
Related Issues (20)
- Z3 does not build by default on ubuntu 24.04 HOT 3
- Switches are configured with `OCAML_TOPLEVEL_PATH` but the variable name is `OCAMLTOP_INCLUDE_PATH` HOT 1
- Jane st. base packaging bug (requirements) HOT 7
- Finally moving away from weak hash algorithms (and extra-files while we are at it) HOT 5
- libtsan not found HOT 6
- `arm32-ocaml-4.14` is broken: image's platform mismatch HOT 1
- Error while installing switch 4.07.0: "The compilation of ocaml-base-compiler.4.07.0 failed at 'make -j1 world'." HOT 1
- [Question]: Source code of packages hosted on ipv6 only website HOT 5
- Normalise license of system package
- Possible breakage in opam update HOT 10
- policy question: existing packages without checksums HOT 2
- `bin_prot.0.17.0` fails to build on OpenSUSE and FreeBSD with OCaml 5.0 HOT 2
- Unison missing fsmonitor
- Enforcing switch variant with --packages fails on macOS ARM64 HOT 2
- `opam switch create 5.0.0` fails HOT 6
- `opam switch create . 5.2.0` isn't working on m2 mac HOT 2
- Failed to install `ocamlbuild` and `ocaml-lsp-server` on Windows HOT 2
- Please come up with an alternative to 'available: os != "win32"' for Windows packages failing CI HOT 1
- conf-gmp v4 doesn't install anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opam-repository.