Skip to content

Conversation

junnacui
Copy link
Collaborator

No description provided.

akkinenic and others added 30 commits December 12, 2019 09:20
…ntly loaded application files and new changes applied while Import from SC (#1)

* STRY50557163 : [Delta-Loading]Find the delta of changes between currently loaded application files and new changes applied while Import from SC

[Delta-Loading]Find the delta of changes between currently loaded application files and new changes applied while Import from SC

This is a customization in the JGIT to filter out the noise and reduce the source control app install on the service now instance.

The customization ONLY includes changes to DiffCommand and DiffFormatter and we exposed a new method and the purpose is to not break existing JGIT in any way.
…en currently loaded application files and new changes applied while Import from SC (#1)" (#2)

This reverts commit 8acfc5e.
…ntly loaded application files and new changes applied while Import from SC (#4)

[Delta-Loading]Find the delta of changes between currently loaded application files and new changes applied while Import from SC

This is a customization in the JGIT to filter out the noise and reduce the source control app install on the service now instance.

The customization ONLY includes changes to DiffCommand and DiffFormatter and we exposed a new method and the purpose is to not break existing JGIT in any way.
fixed compilation issues for delat loading
Support SSH for Basic authentication (without MID server)

+ On the instance we do not want to grant access to GIT_SSH environment variable. Adding a try/catch to not make it fail.
1. commit c81ea59
Author: Matt Coleman <[email protected]>
Date:   Mon Nov 30 14:03:10 2015 -0800

    java.policy modifications to JGit

        - GIT_CONFIG_NOSYSTEM no longer needed
        - permission to create symlinks no longer needed
        - permission to read user's home directory no longer needed
2. commit 56837c8
Author: anjanakr <[email protected]>
Date:   Thu Feb 13 08:52:49 2020 -0800

    DEF0087691: Set FS to POSIX if OS is not Windows
    Update FS to FS_POSIX only if the detected OS is not Windows
3. fixed compilation and test case issues
…lib.ConfigTest.testReadUserConfigWithInvalidCharactersStripped(ConfigTest.java:280))
…l GitSystemConfig. No need to customize jGit to support null GitSystemConfig. FS.DETECTED's gitSystemConfig.value is set to null by calling setFs() api in initRepo() or cloneGitFromRemoteRepo() in AGitRepository.
…ough createExecChannel api to avoid reading TERM from env
…TE differences

STRY51783300: Modify hidden file removal to avoid formatting ADD/DELETE differences
venkat-kaluva and others added 19 commits April 29, 2022 14:03
…-changes-into-5.13

STRY51637620: Merge ServiceNow's 5.9 changes into 5.13 branch from upstream
When checking out a file into the working tree ensure that all parent
directories of the file below the working tree root are actually
directories and do exist before we try to create the file.

When multiple files are to be checked out (or even a whole tree), this
may check the same directories over and over again. Asking the file
system every time for file attributes is a potentially expensive
operation. As a remedy, introduce an in-memory cache of directory
states for a particular check-out operation.

Apply the same fix also in the ResolveMerger, which may also check out
files, and also in the PatchApplier. In PatchApplier, also validate
paths.

Change-Id: Ie12864c54c9f901a2ccee7caddec73027f353111
Signed-off-by: Thomas Wolf <[email protected]>
Signed-off-by: Matthias Sohn <[email protected]>
@junnacui junnacui changed the base branch from master to stable-7.3 October 10, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants