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

Package request: yek #54159

Open
Eloitor opened this issue Jan 31, 2025 · 2 comments · May be fixed by #54262
Open

Package request: yek #54159

Eloitor opened this issue Jan 31, 2025 · 2 comments · May be fixed by #54262
Labels
request Package request

Comments

@Eloitor
Copy link
Contributor

Eloitor commented Jan 31, 2025

Package name

yek

Package homepage

https://github.com/bodo-run/yek

Description

Tool to serialize text-based files in a repository for LLM consumption.

I started this one:

# Template file for 'yek'
pkgname=yek
version=0.16.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel libgit2-devel"
depends="git"
short_desc="Tool to serialize text-based files in a repository for LLM consumption"
maintainer=""
license="MIT"
homepage="https://github.com/bodo-run/yek"
changelog="https://raw.githubusercontent.com/bodo-run/yek/refs/heads/main/CHANGELOG.md"
distfiles="https://github.com/bodo-run/yek/archive/refs/tags/v${version}.tar.gz"
checksum=b653038d0f6ad40380723e7a0843d0060abdb5930c641d2f55c92f0466f7038a

post_install() {
	vlicense LICENSE
}
failures:

---- e2e_tests::test_git_boost_config stdout ----
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- e2e_tests::test_git_integration stdout ----
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }


failures:
    e2e_tests::test_git_boost_config
    e2e_tests::test_git_integration

test result: FAILED. 19 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s

error: test failed, to rerun pass `--test e2e_test`

Does the requested package meet the package requirements?

System, Compiled

Is the requested package released?

Yes

@Eloitor Eloitor added the request Package request label Jan 31, 2025
@patlux
Copy link

patlux commented Feb 9, 2025

The tests are dependent on git as you can see: https://github.com/bodo-run/yek/blob/main/tests/e2e_test.rs#L295

So make sure git is available while building yek.

@Eloitor Eloitor linked a pull request Feb 9, 2025 that will close this issue
@Eloitor
Copy link
Contributor Author

Eloitor commented Feb 9, 2025

Thanks! I thought that the package and its dependencies are installed during tests.

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

Successfully merging a pull request may close this issue.

2 participants