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

bintree: support file scheme for binhost src-uri #1215

Merged

Conversation

zmedico
Copy link
Member

@zmedico zmedico commented Dec 24, 2023

Add local file scheme support for binhost src-uri in bintree and BinpkgFetcher. Make BinpkgFetcher use a coroutine to avoid using callbacks. Add AsyncTaskFuture isAlive method that BinpkgFetcher can use to check FileCopier state. Add test command to test emerge -f --getbinpkgonly with local file scheme in binrepos.conf.

Also, fix the getbinpkgonly_fetchonly test command so that it does not rename binhost_dir to pkgdir. It seems like it should not do this, and it caused the getbinpkgonly_file_uri command to fail.

Bug: https://bugs.gentoo.org/920537

@zmedico zmedico force-pushed the bug_920537_BinpkgFetcher_file_scheme branch 3 times, most recently from 5eccd20 to c4828cd Compare December 25, 2023 00:10
Add local file scheme support for binhost src-uri in bintree
and BinpkgFetcher. Make BinpkgFetcher use a coroutine to avoid
using callbacks. Add AsyncTaskFuture isAlive method that
BinpkgFetcher can use to check FileCopier state. Add test
command to test emerge -f --getbinpkgonly with local file
scheme in binrepos.conf.

Also, fix the getbinpkgonly_fetchonly test command so that
it does not rename binhost_dir to pkgdir. It seems like it
should not do this, and it caused the getbinpkgonly_file_uri
command to fail.

Bug: https://bugs.gentoo.org/920537
Signed-off-by: Zac Medico <zmedico@gentoo.org>
@zmedico zmedico force-pushed the bug_920537_BinpkgFetcher_file_scheme branch from c4828cd to 1db44d1 Compare December 26, 2023 06:44
@gentoo-bot gentoo-bot merged commit 1db44d1 into gentoo:master Dec 26, 2023
10 checks passed
@zmedico zmedico deleted the bug_920537_BinpkgFetcher_file_scheme branch December 26, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants