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

feat(cli): Add tool for filename validation for use in pre-receive hooks #1986

Merged
merged 6 commits into from
Nov 13, 2024

Conversation

effigies
Copy link
Collaborator

This is a basic validator that accepts a .bidsignore list and a list of files. The use case is to quickly determine if a git push should be accepted by a server.

effigies and others added 6 commits November 13, 2024 16:58
The 0001 is a particular git-protocol-ism, and 0000 does not behave as I
expected. Instead of adding multiple 0001s and attempting to identify
the meaning, the new protocol preceeds the old protocol with a header
line and a single JSON line.
@effigies effigies added schema-code Updates or changes to the code used to parse, filter, and render the schema. exclude-from-changelog This item will not feature in the automatically generated changelog labels Nov 13, 2024
@effigies
Copy link
Collaborator Author

@nellh GitHub didn't let me edit the target branch to maint/1.10.0, so I had to reopen. Can you give this a once-over?

@effigies effigies merged commit bb139e9 into bids-standard:maint/1.10.0 Nov 13, 2024
7 of 8 checks passed
@effigies effigies deleted the enh/git-receive-hook branch November 13, 2024 23:38
@effigies
Copy link
Collaborator Author

yarikoptic added a commit that referenced this pull request Nov 20, 2024
* origin/master: (288 commits)
  chore(deps): bump codecov/codecov-action from 4 to 5 (#1989)
  chore: Bump schema post-dev version
  schema-0.11.3.post3
  chore(ci): Fix pytest call for make_archive
  chore: Remove excess test data from bidsschematools installation directories (#1985)
  feat(cli): Add tool for filename validation for use in pre-receive hooks (#1986)
  rm COC (#1979)
  chore: Bump schema post-dev version
  schema-0.11.3.post2
  Update CONTRIBUTING.md (#1978)
  fix(schema): Check SliceTiming length against SliceEncodingDirection
  fix(schema): Do not warn about missing events for task-noise
  fix(schema): Check for existence of stim_files in beh.tsv
  chore: Use GITHUB_REF(_NAME) correctly
  chore: Debug environment
  chore: Bump schema post-dev version
  schema-0.11.3.post1
  chore: Output version, set correct env var
  chore: Update publish_schema to publish post-releases
  fix(schema): Include changes to schema that do not modify spec
  ...

 Conflicts:
	mkdocs.yml
	src/schema/objects/columns.yaml
	src/schema/objects/metadata.yaml
	src/schema/objects/modalities.yaml
	src/schema/objects/suffixes.yaml
	src/schema/rules/modalities.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude-from-changelog This item will not feature in the automatically generated changelog schema-code Updates or changes to the code used to parse, filter, and render the schema.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants