winfsp / hubfs

File system for GitHub & GitLab
https://winfsp.dev
GNU Affero General Public License v3.0
1.62k stars 63 forks source link

Manually triggering commits? #10

Open f-steff opened 1 year ago

f-steff commented 1 year ago

I just found hubfs, and it seems promising to help people not normally using git... but I'm not sure it would work in my use-case, and I can't find any docs about it.

We are utilizing an old program that makes hundreds of data-files while operation are ongoing. All of these data-files are somehow linked together, and if just one of the data-files are not of the current version the program crashes. :-( If the program is shut down correctly, then we know all files are valid.

For this reason, I'm unsure if hubfs would be compatible with it, as I'm unsure about when exactly files are committed to the repository.

So my questions are:

  1. Are each change to a file triggering a commit of that file?
  2. If not, then are a number of file-changes within a time-period triggering a commit of those files?
  3. Would it be possible to somehow only trigger a commit of all changed files when we know it's safe to do so?

Thank you!

MizunaRei commented 3 months ago

Unfortunately, the Git commit and push commands are currently unavailable. https://github.com/winfsp/hubfs/issues/5#issuecomment-1072313061