Open Matt-17 opened 2 hours ago
I would say, this feature should be located in the database, as it has nothing to do with the git repository itself.
As far as I know, there is no standard key for the pusher which means there are tons of git notes in your repository which are useless.
Also this would enable (or make it easier) to list commits in push collections, which makes more sense personally.
Features we want to include:
For backwards compatibility I'm trying to figure out, what was done inside EnablePushAuditAnalysis(IUnityContainer container)[global.asax.cs:205]
in the old Bonobo Git Server:
Here is the list of registered services with options:
IGitService registered with:
DurableGitServiceResult
(when recovery process is enabled)ReceivePackParser
(base Git service executor)IHookReceivePack registered with:
ReceivePackRecovery
(for enabling receive-pack hook recovery)AuditPusherToGitNotes
(for auditing who pushed commits)NullReceivePackHook
(fallback or no-op hook)IRecoveryFilePathBuilder registered with:
AutoCreateMissingRecoveryDirectories
(for automatically creating missing recovery directories)OneFolderRecoveryFilePathBuilder
(single folder strategy for recovery paths)NamedArguments registered with:
FailedPackWaitTimeBeforeExecution
set to 5 minutes
(delay before retrying failed pack recovery)ReceivePackRecoveryDirectory
set based on RecoveryDataPath
from config (either rooted path or mapped via server)ReceivePackRecovery (conditional execution):
0 seconds
during startup to attempt immediate recovery of waiting packs.
There was a Push Audit feature, that is currently dropped. This should come back and will be a basic feature (always enabled).