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 function to set up / update the commit hooks #15

Open
rmbielby opened this issue Feb 5, 2024 · 0 comments · May be fixed by #92
Open

Add function to set up / update the commit hooks #15

rmbielby opened this issue Feb 5, 2024 · 0 comments · May be fixed by #92
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@rmbielby
Copy link
Contributor

rmbielby commented Feb 5, 2024

I'm thinking this could consist of:

  • an initialiser that creates:
    • a .git/hooks/pre-commit script that loads dfeshiny and then runs a single dfeshiny function
    • datafiles_log.csv
  • a single function, e.g. commit_hooks() that itself runs individual hook functions:
    • data_checker() - checks for unpublished data
    • style_code() - runs styler::style_dir()
    • check_analytics_key() - check for the presence of the analytics key
@rmbielby rmbielby added the enhancement New feature or request label Feb 5, 2024
@cjrace cjrace added this to the v1.0 milestone Jan 2, 2025
@oadetayo oadetayo self-assigned this Jan 27, 2025
@oadetayo oadetayo moved this from Todo to In Progress in R Shiny supporting materials v1.0 Jan 27, 2025
@oadetayo oadetayo linked a pull request Feb 3, 2025 that will close this issue
@oadetayo oadetayo moved this from In Progress to In Review in R Shiny supporting materials v1.0 Feb 3, 2025
@rmbielby rmbielby linked a pull request Feb 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

3 participants