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

Automatically check for GitHub updates on the CACs #411

Open
alex-l-kong opened this issue Aug 9, 2023 · 0 comments
Open

Automatically check for GitHub updates on the CACs #411

alex-l-kong opened this issue Aug 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@alex-l-kong
Copy link
Contributor

alex-l-kong commented Aug 9, 2023

Is your feature request related to a problem? Please describe.

It isn't efficient to manually have to update this repo across several CACs. We should create a Task Scheduler job that allows for automatic fetching and updating.

Describe the solution you'd like

We will need to create a task, along with a trigger during significant downtime (ex. 5am). This task needs a supporting script that does the following:

  1. Check for updates on remote, if none then exit. If there are, however...
  2. ...run git stash (non-admin users should NOT be making manual changes to the repo directly on the CAC)
  3. Run git checkout main
  4. Run git pull

This script will need to be saved to a .bat file and provided as an argument to this task.

Additional context

We should start off on Angelo Lab CACs. We could add this to the main repo with instructions in the README.md how to setup, not sure how many users outside our lab would use this though.

@alex-l-kong alex-l-kong added the enhancement New feature or request label Aug 9, 2023
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
None yet
Development

No branches or pull requests

1 participant