spetrovi / songbook

GNU General Public License v3.0
2 stars 0 forks source link

Figure out which files got updated with git #36

Closed spetrovi closed 1 week ago

spetrovi commented 3 weeks ago

So when running git pull on data repository, it would be great if we could somehow get a list of files that got changed/added so we can run database update/create and files build.

spetrovi commented 2 weeks ago

Ok, we gonna need to mount a volume to the pod ~/.config/containers/systemd/songbook-app.volume

And then specify i tin songbook-app.service

spetrovi commented 1 week ago

Figured it out. pip install watchdog, to watch which files in which directories are getting changed and then run importer/update on that directory. Git pull happends from the host, throught cronjob.