Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Feb 16, 2023

  1. prepare next release

    Byron committed Feb 16, 2023
  2. Merge pull request #1555 from Codym48/fix/get_values

    Fix get_values() so it correctly loads section names
    Byron committed Feb 16, 2023
  3. Add test asserting that get_values works by itself

    As described in #1534, this test will fail in main with a KeyError
    about a missing section name even though the named sections do exist
    within the config file.
    
    This test will pass in the branch associated with #1535. This test
    should keep the improved behavior healthy as the code evolves by
    preventing future developers from removing the eager loading of
    sections within get_values().
    Codym48 committed Feb 16, 2023

Commits on Feb 12, 2023

  1. Merge pull request #1554 from eric-wieser/patch-4

    Fix RecursionError when iterating streams
    Byron committed Feb 12, 2023
  2. Update cmd.py

    eric-wieser committed Feb 12, 2023

Commits on Feb 2, 2023

  1. Merge pull request #1550 from Sineaggi/remove-optional-from-two-varia…

    …bles
    
    Remove optional from two member variables
    Byron committed Feb 2, 2023
  2. Update docs

    Sineaggi committed Feb 2, 2023
  3. Merge pull request #1551 from mellowed100/main

    Enable user to override default diff -M arg
    Byron committed Feb 2, 2023
  4. Updated diff test to use different similarity thresholds

    Cesar Velazquez committed Feb 2, 2023

Commits on Feb 1, 2023

  1. Add check to test bare repo

    Sineaggi committed Feb 1, 2023
  2. Added diff test to disable rename detection

    Cesar Velazquez committed Feb 1, 2023

Commits on Jan 31, 2023

  1. fixed lint error

    Cesar Velazquez committed Jan 31, 2023

Commits on Jan 30, 2023

  1. Enable user to override default diff -M arg

    Cesar Velazquez committed Jan 30, 2023

Commits on Jan 27, 2023

Commits on Jan 25, 2023

  1. Merge pull request #1547 from jcowgill/non-hour-timezones

    Fix timezone parsing functions for non-hour timezones
    Byron committed Jan 25, 2023

Commits on Jan 24, 2023

  1. Fix timezone parsing functions for non-hour timezones

    The `utctz_to_altz` and `altz_to_utctz_str` functions fail to handle
    timezones with UTC offsets that are not a multiple of one
    hour. Rewrite them and add some unit tests.
    
    Fixes #630
    jcowgill committed Jan 24, 2023

Commits on Jan 22, 2023

  1. Merge pull request #1545 from Lightborne/fix_ignored

    Fix ignored
    Byron committed Jan 22, 2023

Commits on Jan 17, 2023

  1. Merge pull request #1541 from hugovk/add-3.11

    Declare support for Python 3.11
    Byron committed Jan 17, 2023

Commits on Jan 16, 2023

Commits on Jan 14, 2023

  1. Merge pull request #1537 from teknoraver/main

    fix files list on file rename
    Byron committed Jan 14, 2023

Commits on Jan 13, 2023

  1. fix files list on file rename

    GitPython parses the output of `git diff --numstat` to get the
    files changed in a commit.
    This breaks when a commit contains a file rename, because the output
    of `git diff` is different than expected.
    This is the output of a normal commit:
    
        $ git diff --numstat 8f41a39^ 8f41a39
        30      5       test/test_repo.py
    
    And this a commit containing a rename:
    
        $ git diff --numstat 185d847^ 185d847
        3       1       .github/workflows/{test_pytest.yml => Future.yml}
    
    This can be triggered by this code:
    
        for commit in repo.iter_commits():
            print(commit.hexsha)
                for file in commit.stats.files:
                    print(file)
    
    Which will print for the normal commit:
    
        8f41a39
        'test/test_repo.py'
    
    And when there is a rename:
    
        185d847
        '.github/workflows/{test_pytest.yml => Future.yml}'
    
    Additionally, when a path member is removed, the file list become
    a list of strings, breaking even more the caller. This is in the
    Linux kernel tree:
    
        $ git diff --numstat db401875f438^ db401875f438
        1       1       tools/testing/selftests/drivers/net/mlxsw/{spectrum-2 => }/devlink_trap_tunnel_ipip6.sh
    
    and GitPython parses it as:
    
        db401875f438168c5804b295b93a28c7730bb57a
        ('tools/testing/selftests/drivers/net/mlxsw/{spectrum-2 => '
        '}/devlink_trap_tunnel_ipip6.sh')
    
    Fix this by pasing the --no-renames option to `git diff` which ignores
    renames and print the same output as if the file was deleted from the
    old path and created in the new one:
    
        $ git diff --numstat --no-renames 185d847^ 185d847
        57      0       .github/workflows/Future.yml
        0       55      .github/workflows/test_pytest.yml
    teknoraver committed Jan 13, 2023

Commits on Jan 10, 2023

Commits on Jan 9, 2023

  1. Merge pull request #1532 from marlamb/feature/reduce-resource-leaks

    Fix some resource leaks by open file handles
    Byron committed Jan 9, 2023

Commits on Jan 8, 2023

  1. Merge pull request #1531 from obfusk/fix-tempfile

    use tempfile.TemporaryDirectory & fix clone_from_unsafe_protocol tests
    Byron committed Jan 8, 2023
  2. Merge pull request #1530 from obfusk/fix-unsafe-param-docstring

    fix/add allow_unsafe_* params in docstrings + fix typo
    Byron committed Jan 8, 2023
Older