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

filter-schema takes hours #4

Open
elmarco opened this issue Aug 23, 2019 · 1 comment
Open

filter-schema takes hours #4

elmarco opened this issue Aug 23, 2019 · 1 comment

Comments

@elmarco
Copy link

elmarco commented Aug 23, 2019

git filter-repo --path VERSION --path-glob 'qapi-schema/*.json' --path-glob 'qapi/*.json' --path-glob 'qga/*.json' took <10s, I think giving the same result :)

@arcnmx
Copy link
Owner

arcnmx commented Aug 23, 2019

Hah, nice! Yeah it really could use speeding up, just never really bothered because of how infrequently it needs to be run. I should consider throwing that into the script, though there are some concerns about keeping the history consistent. I need to be careful about naive force pushes invalidating all older submodule pointers coming from this repo... Need to check if keeping the history from both tools will double the size of the schema repo, or if submodules can be set up to (or already do) fetch only a single reference? The point of the filtered repo is to keep it lean!

(maybe could manage to use git-filter-repo's --replace-refs feature to resume and make it continue from the existing filter-branch repo I think?)

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

2 participants