- 14 Feb, 2023 11 commits
-
-
Support the notion of a home directory separately from global configuration directory
Edward Thomson committed -
Define correct off64_t for AIX
Edward Thomson committed -
#6422: handle dangling symbolic refs gracefully
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Fixes issue #6156. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Fix build failure with -DEMBED_SSH_PATH
Edward Thomson committed -
diff_file: Fix crash when freeing a patch representing an empty untracked file
Edward Thomson committed -
Support OpenSSL 3 in dynamic loading mode
Edward Thomson committed -
Add new PHP bindings project to language bindings section of README.md
Edward Thomson committed -
Updates the README.md language binding section to reference a new project providing PHP bindings at https://github.com/RogerGee/php-git2.
Roger Gee committed
-
- 13 Feb, 2023 1 commit
-
-
This prevents GIT_MMAP_VALIDATE from failing. This also prevents git_diff_file_content__unload from attempting to free git_str__initstr.
Iliyas Jorio committed
-
- 10 Feb, 2023 2 commits
-
-
Try to load OpenSSL 3 libraries when compiled with OpenSSL-Dynamic support. Handle the deprecated symbol renaming of SSL_get_peer_certificate to SSL_get1_peer_certificate -- try to load the old name and if it fails, use the new one.
Edward Thomson committed -
When we fail to initialize the OpenSSL subsystem, don't assume that we're "initialized". Subsequent initialization requests -- if there are any -- should replay initialization and fail again.
Edward Thomson committed
-
- 09 Feb, 2023 17 commits
-
-
Eric Huss committed
-
We provide `BUILD_PATH` to our build script; provide it and mutate `PATH` when running our tests as well. We were previously using `cygpath` to try to convert a _list_ of Windows paths into cygwin / Unix style `PATH` format. This does not work -- it treats the path list as a single path (with semicolons -- understandably as those are allowed characters in a Windows path). For example, `C:\One;C:\Two;C:\Three` is converted to `/c/one;c:/two;c:/three`. Add a new function to convert path lists, so that paths are split by semicolon and fed to `cygpath` independently, then re-joined with a colon. This means that our example `C:\One;C:\Two;C:\Three` is correctly converted to `/c/one:/c/two:/c/three`.
Edward Thomson committed -
We provide `BUILD_PATH` to our build script; provide it and mutate `PATH` when running our tests as well.
Edward Thomson committed -
Edward Thomson committed
-
Teach the clone tests how to clone from github.com, when given a keypair with a passphrase and known_hosts data. This allows us to better exercise our known_hosts checking and ensure that the lifecycle of the certificate callback matches our expectations.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
libgit2 can now isolate its home directory, and our test runner (by default) isolates the home directory. In our CI environment, we want to set up some pieces (like ssh configuration) in a fake homedir. Continue to do so and propagate that to clar.
Edward Thomson committed -
Use a dummy home directory for tests to avoid user data leaking into test execution.
Edward Thomson committed -
Now that we've split the notion of the home directory from the global configuration store, our tests should use the appropriate one based on what they're doing.
Edward Thomson committed -
Some callers -- like our test suite and the test suites of our language bindings -- want to isolate the home directory to avoid accidentally including the executing user's actual home directory data. Previously, we combined the notion of a home directory and global configuration -- now that this is separated, we provide users the ability to configure both.
Edward Thomson committed -
Users can specify a config file to be included in the home directory using `~/filename` syntax. Instead of looking in the global configuration location (which may be overridden), use the user's _actual_ home directory. This allows callers to change the global configuration location separately from the home directory.
Edward Thomson committed -
Users can specify an attribute file to be included in the home directory using `~/filename` syntax. Instead of looking in the global configuration location (which may be overridden), use the user's _actual_ home directory. This allows callers to change the global configuration location separately from the home directory.
Edward Thomson committed -
I spent an hour banging my head against this, when it was because the remote didn't trust my key.
Edward Thomson committed -
Use `git_sysdir_find_homedir_file` to identify the path to the home directory's `.ssh/known_hosts`; this takes Windows paths into account by preferring `HOME`, then falling back to `HOMEPATH` and `USERPROFILE` directories.
Edward Thomson committed -
Provide a mechanism to look up the user's home directory, using the same mechanism that we use for locating the global configuration path (a fancy name for saying "the home directory"). SSH known hosts lookups now use this, instead of simply looking at the HOME environment variable, to support Windows-style home directory lookups in `HOME`, `HOMEPATH`, or `USERPROFILE`.
Edward Thomson committed -
The windows sysdir functions are libgit2-specific and for git compatibility only; remove them from the shared util directory and bring them into the libgit2 source tree.
Edward Thomson committed
-
- 03 Feb, 2023 1 commit
-
-
Support OpenSSL3: add OpenSSL deprection warning compatibility flag
Edward Thomson committed
-
- 02 Feb, 2023 1 commit
-
-
Add `OPENSSL_API_COMPAT=0x10100000L` since we use the now-deprecated low-level hash functions.
Edward Thomson committed
-
- 26 Jan, 2023 1 commit
-
-
Edward Thomson committed
-
- 25 Jan, 2023 6 commits
-
-
ci: always create test summaries, even on failure
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
When the dependent jobs fail -- possibly due to test failures -- we should still produce the job summary that shows those test failures.
Edward Thomson committed -
tests: update clar test runner
Edward Thomson committed -
Abstract time counter for tests; use gettimeofday on Unix and GetTickCount on Windows.
Edward Thomson committed
-