Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.8 #626

Merged
merged 10 commits into from
Jul 22, 2024
Merged

0.4.8 #626

merged 10 commits into from
Jul 22, 2024

Commits on Jul 9, 2024

  1. Make reclone with implicit branch update branch in .gitrepo correctly

    If the subrepo is tracking a branch and you reclone using
    
        git subrepo clone --force $URL
    
    without specifying -b/--branch then the branch setting in .gitrepo is
    not updated.
    jrosdahl authored and admorgan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    84095bc View commit details
    Browse the repository at this point in the history
  2. Show clearer error message when subrepo_parent is not an ancestor of …

    …HEAD
    
    Before, there would be a cryptic error about invalid parameters,
    because prev_commit would never get set.
    
    This situation can occur when the commit that last touched the subrepo
    has been rebased.
    OskiKervinen-MF authored and admorgan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    1e4ca5c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Add context for missing parent error message

    I did not find it immediately obvious how to gather the
    information needed to fix a missing parent error. Search the
    repository for the values needed and present them as part of the
    message.
    
    Fixes ingydotnet#617, ingydotnet#415, ingydotnet#600
    admorgan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    29a940f View commit details
    Browse the repository at this point in the history
  2. Use configured default branch for subrepo init

    Did not query git to determine the default branch name, assumed
    it was master.
    
    Fixes ingydotnet#587
    admorgan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4743745 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24207d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    0f3c82b View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Removed hashbangs from sourced-only files

    Sourced-only scripts should not start with hashbangs.
    spog authored and admorgan committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    31d71a9 View commit details
    Browse the repository at this point in the history
  2. Removed executable permission on sourced-only files

    Bash scripts that are not to be executed standalone should not have
    executable permissions.
    spog authored and admorgan committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    ef16608 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Fixed bash-completion integration with git

    Using the 'make install' method, the default 'git-core' location
    of git-subrepo executable does not automatically integrate git-subrepo
    into git's own bash-completion. This change moves git-subrepo executable
    with support scripts into /usr/share/git-subrepo. Then a symlink to the
    'git-subrepo' executable script has been added into /usr/bin to achieve
    recognition of the 'git subrepo' sub-command under the git bash-completion
    (through git's: --list-cmds=...,other,...).
    
    Additional adjustment of Makefile and git-subrepo script were made to
    make Makefile more generic and to make DESTDIR usage together with
    potentially overriden install vars more manageable.
    By overriding INSTALL_LIB and INSTALL_EXT to the same path, we achieve
    removal of the unnecessary 'git-subrepo.d' subdirectory inside the
    /usr/share/git-subrepo path.
    
    Note that non 'make install' ways of installation should work as
    before but without the need for the GIT_SUBREPO_ROOT variable.
    Potentially, if 'realpath' addition in git-sibrepo change isn't available
    on all target systems, readlink could still be used instead.
    spog authored and admorgan committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    412b50f View commit details
    Browse the repository at this point in the history
  2. Release 0.4.8

    - Remove all subrepo refs with clean --force
    - Allow the error() function to accept multiple arguments
    - Bug fixed where clone --force could change the tracked branch
    - Give a detailed error message if the parent SHA could not be found
    - Use the git configuration to determine the default branch name for the init command
    - Add --force to fetch command
    - Fix executable settings on installed files
    - Remove shebangs from library only files
    - Fix bash-completion for instances that used make install
    admorgan committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    039d907 View commit details
    Browse the repository at this point in the history