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

[Wolfi Package Request]: pre-commit #35978

Open
2 of 4 tasks
tuananh opened this issue Dec 6, 2024 · 2 comments
Open
2 of 4 tasks

[Wolfi Package Request]: pre-commit #35978

tuananh opened this issue Dec 6, 2024 · 2 comments
Labels
needs-triage applied to all new customer/user issues. Removed after triage occurs. wolfi-package-request used to track requests for new wolfi packages

Comments

@tuananh
Copy link
Contributor

tuananh commented Dec 6, 2024

What software would you like us to add to wolfi-os. Ideally include a URL to the project and its source.

https://github.com/pre-commit/pre-commit

which versions of the software should we include?

latest

Add some justification for why this specific package and versions are important.

very commonly used in CI

Please check all that apply

  • This package has an un-restrictive license
  • The package/versions proposed are actively maintained upstream
  • I am interested in adding this package to Wolfi OS myself
  • I am willing to help maintain this package
@tuananh tuananh added needs-triage applied to all new customer/user issues. Removed after triage occurs. wolfi-package-request used to track requests for new wolfi packages labels Dec 6, 2024
@luffysama05
Copy link

hi @tuananh i was trying to build this package, and I'm new to wolfi-os, while I have followed the instructions for setting up the environment to build packages, I got few error related to apk, I assume make dev-container command handles the installation of apk installations.

The root cause is that the APKINDEX.tar.gz file is missing. I'm unsure of its my docker issue or wolfi-os setup issue, please let me know how could I resolve it, and let me know if we are suppose to pull any image or installations before building a wolfi package. Apologies if this is off topic!

error message:

WARN getting local index /mnt/wsl/docker-desktop-bind-mounts/Ubuntu/340527232d47fc41d0a068b67706a5ac0448150bdf9562a0b57aede3d874121a/packages/x86_64/APKINDEX.tar.gz: stat: stat /mnt/wsl/docker-desktop-bind-mounts/Ubuntu/340527232d47fc41d0a068b67706a5ac0448150bdf9562a0b57aede3d874121a/packages/x86_64/APKINDEX.tar.gz: no such file or directory
ERRO failed to build package: unable to build guest: unable to lock image configuration: resolving apk packages: for arch "amd64": solving "py3-cfgv" constraint: could not find package that provides py3-cfgv in indexes
make[1]: *** [Makefile:99: packages/x86_64/pre-commit-4.0.1-r0.apk] Error 1
make[1]: Leaving directory '/mnt/wsl/docker-desktop-bind-mounts/Ubuntu/340527232d47fc41d0a068b67706a5ac0448150bdf9562a0b57aede3d874121a'
make: *** [Makefile:89: package/pre-commit] Error 2

@tuananh
Copy link
Contributor Author

tuananh commented Dec 18, 2024

py3-cfgv is probably not packaged yet hence you cant install it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage applied to all new customer/user issues. Removed after triage occurs. wolfi-package-request used to track requests for new wolfi packages
Projects
None yet
Development

No branches or pull requests

2 participants