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

fix(pre-receive): Skip validation of git-annex branches #3267

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

effigies
Copy link
Contributor

@effigies effigies commented Jan 6, 2025

This patch updates the pre-receive hook to skip content validation of git-annex and synced/git-annex branches after verifying that there are no large files that will interfere with syncing to GitHub.

Closes #3197.

Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.68%. Comparing base (f59fe01) to head (ad5a734).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3267   +/-   ##
=======================================
  Coverage   46.68%   46.68%           
=======================================
  Files         609      609           
  Lines       38701    38701           
  Branches     1225     1225           
=======================================
  Hits        18068    18068           
  Misses      20438    20438           
  Partials      195      195           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@nellh nellh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally with git-annex updates and pushes.

@nellh nellh merged commit 4f20b62 into OpenNeuroOrg:master Jan 6, 2025
15 checks passed
@effigies effigies deleted the fix/git-annex-pre-receive branch January 6, 2025 18:15
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

Successfully merging this pull request may close these issues.

pushing git-annex branch seems to fall into the same treatment by the hook as main branch
2 participants