Skip to content

Instantly share code, notes, and snippets.

View EliahKagan's full-sized avatar

Eliah Kagan EliahKagan

View GitHub Profile
@EliahKagan
EliahKagan / experiment-1.txt
Created June 24, 2024 18:32
Git for Windows file/directory symlink experiments
C:\Users\ek\source\repos> mkdir are-symlinks-linearized
Directory: C:\Users\ek\source\repos
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 6/23/2024 8:15 PM are-symlinks-linearized
C:\Users\ek\source\repos> cd are-symlinks-linearized
C:\Users\ek\source\repos\are-symlinks-linearized> cmd
@EliahKagan
EliahKagan / crossbeam-channel.txt
Created June 23, 2024 00:25
Errors when aborting tests with Ctrl+C on Windows
ek@Glub MINGW64 ~/src/crossbeam (master)
$ cargo nextest run --all --no-fail-fast
warning: C:\Users\ek\src\crossbeam\Cargo.toml: unused manifest key: workspace.lints.rust.unexpected_cfgs.check-cfg
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
Starting 631 tests across 49 binaries (run ID: 63ca707b-a5e1-49ee-8a94-cf8d21fef6fd, nextest profile: default)
PASS [ 0.074s] crossbeam::subcrates deque
PASS [ 0.067s] crossbeam::subcrates epoch
PASS [ 0.078s] crossbeam::subcrates channel
PASS [ 0.061s] crossbeam::subcrates queue
PASS [ 0.056s] crossbeam::subcrates utils
@EliahKagan
EliahKagan / output-short.txt
Created June 19, 2024 19:07
Odd errors when aborting gitoxide tests with Ctrl+C on Windows
Finished `test` profile [unoptimized + debuginfo] target(s) in 4m 17s
Starting 2351 tests across 127 binaries (9 skipped; run ID: f8326ed4-26fc-4711-a963-eb7ddcdac199, nextest profile: default)
PASS [ 0.090s] gitoxide plumbing::main::tests::clap
PASS [ 0.085s] gitoxide shared::value_parser_tests::rename_fraction
PASS [ 0.081s] gix id::tests::size_of_oid
PASS [ 0.076s] gix open::tests::size_of_options
Canceling due to interrupt: 16 tests still running
ABORT [ 23.634s] gix::gix clone::blocking_io::fetch_and_checkout
Message [ ] code 0xc0000409: The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application. (os error 1282)
ABORT [ 23.784s] gix remote::connection::fetch::refs::tests::update::checked_out_branches_in_worktrees_are_rejected_with_additional_information
@EliahKagan
EliahKagan / server-2022-failure-short.txt
Last active June 14, 2024 20:44
gix-discover::discover upwards::from_dir_with_dot_dot failure on Windows
Administrator@WIN-J648LOCBS5P MINGW64 ~/repos/gitoxide/gix-discover (main)
$ RUST_BACKTRACE=1 cargo nextest run upwards::from_dir_with_dot_dot
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s
Starting 1 test across 3 binaries (46 skipped; run ID: a559daef-502a-42b3-b920-79748c8af45e, nextest profile: default)
FAIL [ 0.126s] gix-discover::discover upwards::from_dir_with_dot_dot
--- STDOUT: gix-discover::discover upwards::from_dir_with_dot_dot ---
running 1 test
test upwards::from_dir_with_dot_dot ... FAILED
@EliahKagan
EliahKagan / README.md
Last active June 12, 2024 17:12
testing git behavior related to gitoxide Ubuntu 22.04 runs with GIX_TEST_IGNORE_ARCHIVES=1 (experiment D)

gitoxide-jammy-ignore-archives-d

This is experiment D, examining the environments of the chain of processes created to clone submodules with different versions of git, to investigate the treatment of GIT_CONFIG_COUNT-related configuration in nested submodule clones.

Experiment B and experiment C are also of interest. In contrast, this experiment examines the environment in detail, and also does not make use of gitoxide tests or fixture scripts, though the motivating goal is still to improve the compatibility of gitoxide's test suite with different git versions (which are used in fixtures to produce repositories for testing gitoxide, and occasionally to compare git and gitoxide behavior).

License for this gist: CC0-1.0

Files

@EliahKagan
EliahKagan / README.md
Last active June 12, 2024 20:45
gitoxide Ubuntu 22.04 runs with GIX_TEST_IGNORE_ARCHIVES=1 (experiment C)

gitoxide-jammy-ignore-archives-c

These are the results of some Ubuntu 22.04 LTS test runs and manual fixture script runs, investigating failures with GIX_TEST_IGNORE_ARCHIVES=1 with the Ubuntu-provided git.

These augment, but do not supersede, https://gist.github.com/EliahKagan/53ebccab054a9b43e7f119bf1f71189d (experiment B).

The differences between experiment B and the this experiment (experiment C) are:

  • These runs are from after Byron/gitoxide#1361 was merged.
  • Excerpts are not taken from the full runs here, since those in experiment B are sufficient.
@EliahKagan
EliahKagan / centos-7-cargo-quickinstall.txt
Created June 4, 2024 03:23
Testing cargo-quickinstall glibc handling changes
ek in 🌐 Eald in ~
❯ rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: checking for self-update
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.78.0 (9b00956e5 2024-04-29)
info: cleaning up downloads & tmp directories
ek in 🌐 Eald in ~
@EliahKagan
EliahKagan / README.md
Last active June 5, 2024 05:49
Log of regenerating gitoxide archives from scripts with changed shebangs, and post-tests

gitoxide-1361-regeneration-notes

This relates to regenerating archives for Byron/gitoxide#1361.

See also the full repo version. Both have effectively the same content, but the full repo version is a bit easier to navigate than this gist.

Note that, in spite of being unfortunately named noble-x64, the system this was done on was actually an Ubuntu 22.04 LTS (Jammy Jellyfish) system, not an Ubuntu 24.04 LTS (Noble Numbat) system. The naming was originally a mistake related to an initial plan to set up 24.04 LTS. This is not a problem, just a confusing hostname shown in the log. In particular, the version of Git used is from the git-core PPA and is a build of the latest stable version of Git (as of when this is being done). The exact package version is 1:2.45.2-0ppa1~ubuntu22.04.1.

The branch name freebsd relates to an original motivating reason for wanting the compatibility improvement conferred by changing the #

@EliahKagan
EliahKagan / README.md
Last active June 3, 2024 04:17
gitoxide Ubuntu 22.04 runs with GIX_TEST_IGNORE_ARCHIVES=1 (experiment B)

gitoxide-jammy-ignore-archives-b

These are the results of gitoxide Ubuntu 22.04 LTS test runs, and manual fixture script runs, with the Ubuntu-provided git and GIX_TEST_IGNORE_ARCHIVES=1 (experiment B).

For some files, it is necessary to click through to "Raw" output to see the full contents.

This gist supersedes https://gist.github.com/EliahKagan/1f86ffc2438fcbf8cfc14052b83e17a9 (experiment A).

License for this gist: CC0-1.0

@EliahKagan
EliahKagan / README.md
Last active June 1, 2024 18:27
gitoxide test failures in issue #2538 and PR #1361