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 support for custom extensions #909

Open
captn3m0 opened this issue Mar 24, 2022 · 1 comment
Open

Add support for custom extensions #909

captn3m0 opened this issue Mar 24, 2022 · 1 comment

Comments

@captn3m0
Copy link

@captn3m0
Copy link
Author

captn3m0 commented Jun 8, 2023

I haven't traced this down yet, but this is becoming a showstopper with libgit upgrade to 1.6.

Setup

Create a bare repository with the partialClone extension:

mkdir r
git init --bare .
git config  extensions.partialClone true
git fetch --quiet --tags --filter=blob:none --depth=1 https://github.com/captn3m0/jekyll-sqlite.git

Test script:

require 'rugged'
repo = Rugged::Repository.bare 'r'

It fails on rugged 1.6.2+:

test.rb:3:in `bare': unsupported extension name extensions.partialclone (Rugged::RepositoryError)
	from test.rb:3:in `<main>'

but works fine on rugged 1.5.1.

captn3m0 added a commit to endoflife-date/release-data that referenced this issue Jun 8, 2023
See libgit2/rugged#909

rugged does not support setting custom extensions, and with
libgit 1.6, you need to set custom extensions to open a repository
with the partialclone extension.
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

1 participant