On 12/4/19 8:35 am, Joel Sherrill wrote:
> Any advice on knowing in a script if git needs to update a repo or a pull
> updated? I thought this would work but it didn't show the rtems updates today:

This is what I do in the documentation automatic update ...

https://git.rtems.org/chrisj/rtems-admin.git/tree/docs/builder/rtems-docs-build-branches

I keep a local cache of the hash.

I also have a cron lock piece of shell script to avoid starting testing while it
is running. Doing this avoids having the check time being a multiple of the
total time something runs for. We can sort this out offline.

Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to