-
Notifications
You must be signed in to change notification settings - Fork 27
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: add bed file datafetcher #877
Conversation
…ang/gosling.js into etowahadams/make-bed-primitive
package.json
Outdated
@@ -155,7 +157,7 @@ | |||
}, | |||
"husky": { | |||
"hooks": { | |||
"pre-commit": "run-p changelog schema schema-higlass schema-theme schema-template format && git add .", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sometimes I only want to commit things that are staged. When the pre-commit hook would run, it would add all my unstaged files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Would the generated schema files and the changelogs still be included by the pre-commit hooks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah you're right. I'll add it back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manzt Do you aware of any better way to deal with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is something we could probably check in CI? For example, we could have a GitHub action that runs a package.json
script and assert that there are no git changes. If there are, fail and require the developer to run locally in order to pass CI. This way we allow much more flexibility when creating PRs, but ensure the changelog and schemas must be in sync in order to be merged into master
.
I personally really dislike pre-commit hooks because I commit often.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea! I also dislike waiting for the pre-commit hooks to run scripts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! I left several minor comments.
Also, do you want to add a simple example to our example gallery? That would be really great to include.
package.json
Outdated
@@ -155,7 +157,7 @@ | |||
}, | |||
"husky": { | |||
"hooks": { | |||
"pre-commit": "run-p changelog schema schema-higlass schema-theme schema-template format && git add .", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Would the generated schema files and the changelogs still be included by the pre-commit hooks?
Co-authored-by: Sehi L'Yi <[email protected]>
Co-authored-by: Sehi L'Yi <[email protected]>
…ang/gosling.js into etowahadams/make-bed-primitive merge remote commits
Finished making edits, just need to add the example. |
Added example, ready to merge |
Fix #583
Toward #870
Change List
Test out using this gist: http://localhost:3000/?gist=etowahadams/cd49a7f308e4859e095d209056a564d3
Documentation PR
Checklist