Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new package option to indicate whether it has module support #43

Open
jiacai2050 opened this issue Feb 27, 2023 · 3 comments
Open

Comments

@jiacai2050
Copy link
Contributor

jiacai2050 commented Feb 27, 2023

Zig package manager has been merged for a while, as for this project, I suggest we add a new option module: bool to indicate whether it has module support, something like this:

{
  "author": "vrischmann",
  "tags": [
    "database"
  ],
  "git": "https://github.com/vrischmann/zig-sqlite",
  "root_file": "/sqlite.zig",
  "description": "zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig. ",
  "license": "mit",
  "updated_at": "2023-01-28T06:15:38Z",
  "homepage": ""
  "module": false   // newly add field
}
@qbradley
Copy link
Contributor

qbradley commented Mar 2, 2023

Perhaps it will be a point in time issue, and before long all maintained zig packages will have official package manager support. In that case the flag might be redundant.

After 0.11 is released, it might be reasonable to require all packages on this list to support being a "module", and remove the ones that do not as un-maintained. This would also make adding the flag unnecessary after that point.

Personally, I'm hoping all packages will adopt the official packaging system.

@jiacai2050
Copy link
Contributor Author

jiacai2050 commented Mar 3, 2023

Perhaps it will be a point in time issue, and before long all maintained zig packages will have official package manager support.

That's a good point.

IMO this period won't be short, perhaps 2 or 3 years is required for the community to keep up.

@ikskuh
Copy link
Member

ikskuh commented Mar 3, 2023

Not sure if a module field is enough. That has to be actively maintained and i honestly don't have the time to periodically check each project listed here if they support modules. If we now introduce this, someone has to maintain that field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants