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
Linux: How are the background task started/managed? #501
Comments
Scalar on Linux and macOS runs You can inspect the way Git schedules its process runs by running |
That is quite interesting... My 'crontab -l' contains nothing related to git, I will investigate further. |
I think there is a problem with "scalar register", the git config of my repo was modified, but no task appeared under crontab -l. I then executed "git maintenance start" and those tasks then showed up. Likely, 'scalar register' is missing that call, or documentation is unclear that we need to execute 'git maintenance start' in addition to 'scalar register' to get things going. |
@ykoehler: that is interesting.
Thanks! |
Running on CentOS7 $ scalar version |
Hi, @ykoehler. It appears your trace upload got mangled somehow. Could you try that again? Also, it looks like you are building Scalar from source, is that right? (If not, then we made a mistake when building the installer.) |
Hi, yes, I was building scalar from source, since there is no RPM for Scalar for CentOS7. |
Thanks so much for this report, @ykoehler. I forgot to add to our logic in Scalar that detects if the feature is available for the non- The fix is in #503. You'll need to upgrade to Git 2.31.0 before it will work, since that is the first release where all platforms had working background maintenance. |
…1.0+ Resolves #501. The feature flag was originally introduced in cd0e476 (#398) but at that time we didn't know if the core Git client was ready, so we didn't enable it for versions of Git that did not include the `.vfs.` platform. Fix this since background maintenance is now available on all platforms on v2.31.0 and later.
(Just a note that this issue is closed because the fix is in the |
Great, but... somehow I can do "git maintenance start" using 2.30.1 and it adds the cron job and seems to be working nicely... But, I will seek out to upgrade my git client. |
The issue is that the macOS and Windows versions of |
I have installed dotnet/scalar on my CentOS7 machine, I can execute scalar run all in the repo, I have registered my repo. Yet, from the documentation, I do not get how scalar will be able to run in the background to fetch/pack/etc. my repos. Is there a service I need to setup, or when git is called, somehow scalar spawn its task in the background?
The text was updated successfully, but these errors were encountered: