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

many changes preparing for 2.4.0 #106

Merged
merged 128 commits into from
Apr 6, 2024
Merged

many changes preparing for 2.4.0 #106

merged 128 commits into from
Apr 6, 2024

Commits on May 24, 2020

  1. Fixes Bug #56727

    Problem was that when running stow_contents/unstow_contents recursively from
    stow_node/unstow_node the information for the source path (without the dot- to
    . transformation) was lost.
    
    In the case of stow_contents the solution is just to remove the leading
    dots (..) from the $source path (since the $source path is passed as an argument
    to the function)
    
    In the case of unstow_contents the solution is the same as for stow_contents but
    the arguments was now passed so I added it to the function.
    AitorATuin committed May 24, 2020
    Configuration menu
    Copy the full SHA
    d4e4135 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. Add $level variable in stow_contents and stow_node

    This variables is used to keep track of the current level in the source.
    AitorATuin committed May 25, 2020
    Configuration menu
    Copy the full SHA
    a2db7a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    056d648 View commit details
    Browse the repository at this point in the history
  3. Fix missing variable

    AitorATuin committed May 25, 2020
    Configuration menu
    Copy the full SHA
    a41118d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2021

  1. Configuration menu
    Copy the full SHA
    6961405 View commit details
    Browse the repository at this point in the history
  2. aclocal.m4: update to 1.16.2

    This only updates copyright notices to 2020, and URLs to https.
    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    d18b5e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8cd6cad View commit details
    Browse the repository at this point in the history
  4. Remove unnecessary AM_MAKEINFOFLAGS tweak

    We no longer need to ensure that texi2any (a.k.a. makeinfo) is called
    with -I $(srcdir) in order to make the
    
        @verbatiminclude default-ignore-list
    
    in the manual work, because texi2any includes the current working
    directory by default anyway.  Presumably this behaviour was introduced
    after this AM_MAKEINFOFLAGS was previously added, because it was
    needed at some point in the past.
    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    1a20a3f View commit details
    Browse the repository at this point in the history
  5. Correct comment about overriding the check rule

    We actually override check-TESTS.
    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    0b72724 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3aae830 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9f4f818 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8d7b7a7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    90278f8 View commit details
    Browse the repository at this point in the history
  10. Add support for emacs dumb-jump

    Allow easy navigation to function definitions in emacs.
    
    The rg (ripgrep) search is needed because as the dumb-jump README says:
    
       [...] the default searcher (git-grep) won't be able to search
       outside of the project root. This edge case will be fixed in a
       future release.
    
    See: https://github.com/jacktasia/dumb-jump
    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    c872bab View commit details
    Browse the repository at this point in the history
  11. Improve debug indent levels

    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    86f4694 View commit details
    Browse the repository at this point in the history
  12. Make cleanup_invalid_links() more explicit

    And add some debug.
    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    832135e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    396357d View commit details
    Browse the repository at this point in the history
  14. Further improve debug output

    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    208f383 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c0c01a6 View commit details
    Browse the repository at this point in the history
  16. Skip unnecessary planning

    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    e76dda4 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    134e448 View commit details
    Browse the repository at this point in the history
  18. NEWS: update for 2.3.2

    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    a3f526e View commit details
    Browse the repository at this point in the history
  19. AUTHORS: mention THANKS file

    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    5b0efb3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    205158a View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    64e0dc8 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    6870e96 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ee240c5 View commit details
    Browse the repository at this point in the history
  24. Upgrade aclocal to 1.16.3

    aspiers committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    a829eeb View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2024

  1. Configuration menu
    Copy the full SHA
    28a4e82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    478c7b9 View commit details
    Browse the repository at this point in the history
  3. manual: improve explanation of target directory definition

    Bring this more up to date by mentioning the dotfiles use case.
    aspiers committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    7214007 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a426a59 View commit details
    Browse the repository at this point in the history
  5. Remove trailing whitespace

    aspiers committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    cb4b0c6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c307922 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2c7d3d4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5d4e682 View commit details
    Browse the repository at this point in the history
  9. aclocal.m4: update to 1.16.5

    aspiers committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    6519ee8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    457fa98 View commit details
    Browse the repository at this point in the history
  11. plan_*: rename $path to $pkg_path for clarity

    $path is a vague variable name.
    aspiers committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    f51fc12 View commit details
    Browse the repository at this point in the history
  12. Add a comment explaining $stow_path parameter of stow_contents()

    At first sight this parameter looks redundant since we have
    $self->{stow_path}, but in one case the value can differ from that,
    so mention that explicitly.
    aspiers committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    20bee74 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a3700e7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    72084f6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b7bf77d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4e27762 View commit details
    Browse the repository at this point in the history
  17. Remove $stow_path parameter from unstow_{contents,node}{,_orig}()

    Unlike with the stow_{contents,node}{,_orig}() counterpart functions,
    when unstowing, it's not necessary to pass the $stow_path parameter
    because it can never differ from $self->{stow_path}.
    
    The stow_*() functions need this for the corner case of unfolding a
    tree which is stowed from a different stow directory to the one being
    used for the current stowing operation (see the "Multiple Stow
    Directories" section of the manual).
    aspiers committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    9ce37d9 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    aa03922 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Add some helpful comments

    Explain a few things in preparation for a bugfix.
    aspiers committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9db0de3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1657c5b View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. Configuration menu
    Copy the full SHA
    66ca282 View commit details
    Browse the repository at this point in the history
  2. Move setting of cperl-indent-level to .dir-locals.el

    This removes duplication.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    d148019 View commit details
    Browse the repository at this point in the history
  3. Disable emacs auto-fill-mode

    This completely messes up the current function documentation.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    ff4d87e View commit details
    Browse the repository at this point in the history
  4. Make join_paths correctly handle absolute paths

    Previously join_paths() was incorrectly handling absolute paths, for
    example join_paths('a/b', '/c/d') would return 'a/b/c/d' rather than
    '/c/d'.  This was a problem when following a symlink in
    find_stowed_path(), because if the symlink was not owned by Stow and
    pointed to an absolute path, find_stowed_path() might accidentally
    deem the link owned by Stow, if c/d was a valid path relative to the
    current directory.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    4d711fc View commit details
    Browse the repository at this point in the history
  5. join_paths: improve docs to clarify purpose / differences

    join_paths() is used in specific ways and has specific behaviour
    required which is nuanced and not obvious at first sight.  So make
    this explicit for future reference.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    287d801 View commit details
    Browse the repository at this point in the history
  6. Separate treatment of .stow and .nonstow marked dirs

    Placing a .stow file in a directory tells Stow that this directory
    should be considered a Stow directory.  This is already
    well-documented.
    
    There was an undocumented and slightly broken feature where placing a
    .nonstow file in a directory was treated in exactly the same way.  The
    intention was for .nonstow to cause Stow to skip stowing into and
    unstowing from that directory and any of its descendants.  However, it
    also caused Stow to consider symlinks into any of those directories as
    owned by Stow, even though that was clearly not the intention.  So
    separate treatment of .stow and .nonstow markers, so that while both
    provide protection against Stow stowing and unstowing, only .stow
    affects the symlink ownership logic in find_stowed_path() and
    marked_stow_dir().
    
    Probably no one uses the undocumented .nonstow feature, so it may make
    sense to remove this in future.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    a2beb7b View commit details
    Browse the repository at this point in the history
  7. t/cleanup_invalid_links: divide into subtests

    This makes the code and test output both more legible.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    08b06cc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    541faf6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    877fc0c View commit details
    Browse the repository at this point in the history
  10. Eliminate erroneous warning when unstowing (#65)

    When unstowing a package, cleanup_invalid_links() is invoked to remove
    any invalid links owned by Stow.  It was invoking link_owned_by_package()
    to check whether each existing link is owned by Stow.  This in turn
    called find_stowed_path() which since 40a0807 was not allowing for
    the possibility that it could be passed a symlink *not* owned by Stow
    with an absolute target and consequently emitting an erroneous warning.
    
    So remove this erroneous warning, and refactor find_stowed_path()
    to use two new helper functions for detecting stow directories:
    link_dest_within_stow_dir() and find_containing_marked_stow_dir().
    Also refactor the logic within each to be simpler and more accurate,
    and add more test cases to the corresponding parts of the test suite.
    
    Fixes #65.
    Closes #103.
    
    #65
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    8436768 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d12f107 View commit details
    Browse the repository at this point in the history
  12. manual: Expand the definition of symlinks and disambiguate "target"

    Target can have two opposing meanings:
    
    1. the target directory where symlinks are managed by Stow, and
    2. the destinations of those symlinks
    
    So try to move away from this by using the word "destination" for
    symlinks.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    2791d00 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    11d4ff0 View commit details
    Browse the repository at this point in the history
  14. Stow.pm: reformat comments

    Some methods had comments with a prefix which made the paragraph
    inconveniently narrow, and made refilling it really awkward.  So
    switch to a more natural comment style.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    1be40c0 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f4f3836 View commit details
    Browse the repository at this point in the history
  16. Stow.pm: reformat old comment style as pod

    As previously noted, the old comment style was difficult to edit.
    It's also not idiomatic Perl style, so reformat as pod.  This exposes
    more of the inner workings of Stow as documentation, but that
    shouldn't be a problem.
    
    As part of this change, remove outdated and sometimes misleading
    information about if/when each function throws an exception.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    245dc83 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    373ef62 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e8c46cf View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2f762e3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8c09d41 View commit details
    Browse the repository at this point in the history
  21. Remove hard tabs

    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    bffc347 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    48c6b59 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c2da8b4 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f60c203 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    e0212d4 View commit details
    Browse the repository at this point in the history
  26. rename $existing_source => $existing_link_dest

    Source can be ambiguous, as mentioned in the manual.
    aspiers committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    0871a48 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Configuration menu
    Copy the full SHA
    a328c2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86f03d1 View commit details
    Browse the repository at this point in the history
  3. stow_node: rename $target => $target_subpath

    The $target variable was ambiguous, as it could have referred to the
    path to the target directory, or the path to a sub-directory in the
    target, as well as its intended meaning of a subpath relative to the
    target directory.  So rename it to try to find the balance between
    clarity and verbosity.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    1f752a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc592bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    42cc1d2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5173844 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    456424c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4054d40 View commit details
    Browse the repository at this point in the history
  9. Remove unstow_*_orig() functions

    Refactor the compat mode code to reuse the existing unstow_contents()
    and unstow_node().  This allows us to remove the parallel versions in
    unstow_contents_orig() and unstow_node(), which contained a lot of
    duplicated code and were a significant maintenance burden.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    0782be7 View commit details
    Browse the repository at this point in the history
  10. manual: use American punctuation of "vs."

    GNU and Stow are both originally from the USA, so it makes sense
    to stay consistent with American English.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    8a17d8b View commit details
    Browse the repository at this point in the history
  11. stow_contents / unstow_node: rename $target => $target_sub{dir,path}

    This is very similar to a previous commit which did the same rename in
    stow_node().
    
    The $target variable was ambiguous, as it could have referred to the
    path to the target directory, or the path to a sub-directory in the
    target, as well as its intended meaning of a subpath relative to the
    target directory.  So rename it to try to find the balance between
    clarity and verbosity.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    10c8684 View commit details
    Browse the repository at this point in the history
  12. find_stowed_path: reintroduce missing comment lines

    These lines were accidentally removed by 8436768.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    caefb64 View commit details
    Browse the repository at this point in the history
  13. marked_stow_dir: rename $path to $dir

    It's always a directory, so make this explicit.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    c006044 View commit details
    Browse the repository at this point in the history
  14. unstow_* helpers: rename $path to $pkg_path_from_cwd

    $path is horribly vague, so rename to be more informative.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    75c892a View commit details
    Browse the repository at this point in the history
  15. find_containing_marked_stow_dir: rename $path to $pkg_path_from_cwd

    $path is horribly vague, so rename to be more informative.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    170d161 View commit details
    Browse the repository at this point in the history
  16. link_dest_within_stow_dir: rename $path to $pkg_subpath

    $path is horribly vague, so rename to be more informative.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    6b9bbc9 View commit details
    Browse the repository at this point in the history
  17. unstow_node: rename $path to $pkg_path_from_cwd

    $path is horribly vague, so rename to be more informative.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    0daf352 View commit details
    Browse the repository at this point in the history
  18. find_stowed_path: rename $path / $dest to $pkg_path_from_cwd

    $path is horribly vague, so rename to be more informative.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    2851b36 View commit details
    Browse the repository at this point in the history
  19. foldable: rename $target => $target_subdir

    The $target variable was ambiguous, as it could have referred to the
    path to the target directory, or the path to a sub-directory in the
    target, as well as its intended meaning of a subpath relative to the
    target directory.  So rename it to try to find the balance between
    clarity and verbosity.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    6cf4185 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    2c255af View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    79f90d3 View commit details
    Browse the repository at this point in the history
  22. read_a_link: improve variable names

    $path is horribly vague, so rename to $link to be more informative.
    
    Also the use of "$target" to describe a link's destination is very
    confusing in the context of Stow for reasons explained in the manual.
    So rename to $link_dest.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    1b59799 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    09a34e7 View commit details
    Browse the repository at this point in the history
  24. foldable: rename $path to $target_node_path

    $path is horribly vague, so rename it to be more informative.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    cc521ec View commit details
    Browse the repository at this point in the history
  25. foldable: make more understandable

    Improve variable names, POD, and add helpful comments.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    b5a467f View commit details
    Browse the repository at this point in the history
  26. stow_node: rename $second_source => $link_dest

    The use of the word "source" to describe a link's destination is
    confusing in the context of Stow for reasons explained in the manual.
    
    So rename the $second_source variable to avoid this.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    b137191 View commit details
    Browse the repository at this point in the history
  27. stow_node: remove comments about implementation details from POD

    These don't add much value, and the reference to $source was out of
    date anyway.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    a8c9348 View commit details
    Browse the repository at this point in the history
  28. unstow_contents: remove reference to "source"

    The use of the word "source" is confusing in the context of Stow for
    reasons explained in the manual.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    4525b94 View commit details
    Browse the repository at this point in the history
  29. unstow_link_node: rename $existing_source => $link_dest

    The use of the word "source" to describe a link's destination is
    confusing in the context of Stow for reasons explained in the manual.
    
    So rename the $existing_source variable to $link_dest avoid this.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    4272e7c View commit details
    Browse the repository at this point in the history
  30. unstow_link_node: rename $existing_path

    Unqualified references to "path" are horribly vague, so rename to
    $existing_pkg_path_from_cwd for clarity.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    08e1c90 View commit details
    Browse the repository at this point in the history
  31. Change debug indentation in some helpers

    These helpers can be called at more deeply nested levels, so they
    should be indented more than they were.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    a337a2f View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    221449d View commit details
    Browse the repository at this point in the history
  33. remove or rename XXX

    Remove old XXX FIXMEs which tell us nothing useful and may not be
    relevant any more.
    
    Also rename another XXX to an industry-standard FIXME.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    381fd71 View commit details
    Browse the repository at this point in the history
  34. link_owned_by_package: rename $source => $link_dest

    The use of the word "source" to describe a link's destination is
    confusing in the context of Stow for reasons explained in the manual.
    
    So rename the $source variable to avoid this.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    3c904da View commit details
    Browse the repository at this point in the history
  35. stow_node: rename $existing_path

    Unqualified references to "path" are horribly vague, so rename to
    $existing_pkg_path_from_cwd for clarity.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    c45a063 View commit details
    Browse the repository at this point in the history
  36. unstow_valid_link: rename $existing_path

    Unqualified references to "path" are horribly vague, so rename to
    $existing_pkg_path_from_cwd for clarity.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    b3ed86d View commit details
    Browse the repository at this point in the history
  37. unstow_node / unstow_existing_node: rename foldable return value

    $parent is a bit vague so rename to $parent_in_pkg.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    bae7890 View commit details
    Browse the repository at this point in the history
  38. fold_tree: rename $source parameter to $pkg_subpath

    $source is vague and confusing as per the manual.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    8f6a320 View commit details
    Browse the repository at this point in the history
  39. fold_tree: rename $target parameter to $target_subdir

    $target is vague and could refer to the top-level target directory,
    so rename to clarify.
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    2c90659 View commit details
    Browse the repository at this point in the history
  40. rename $path => $target_path in node helpers

    is_a_node(), is_a_dir(), is_a_link() all operate on paths within
    the target directory, so make this explicit by avoiding the vague
    variable name "$path".
    aspiers committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    4cac249 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    1282acf View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    67081ce View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    4cde7eb View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    238346f View commit details
    Browse the repository at this point in the history
  2. testutil: rename parameter names to be less confusing

    $target was the source of the link, and $source was the
    target (destination) of the link.  Obviously this was hopelessly
    confusing, so rename to avoid this.
    aspiers committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    ebfbb6c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. tests: use stderr_like() instead of home-grown STDERR capturing

    The STDERR capturing in testutil just reinvents Test::Output which
    we already use in chkstow.t, so it's pointless to reinvent that wheel.
    aspiers committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    bca711f View commit details
    Browse the repository at this point in the history
  2. t/unstow_orig.t: use is() for equality tests

    This is better because it outputs the mismatching values when
    the equality check fails.
    aspiers committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    599944b View commit details
    Browse the repository at this point in the history
  3. t/unstow_orig.t: use like() for regexp matching tests

    This is better because it outputs the mismatching value when
    the matching check fails.
    aspiers committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    6d6781d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9ad205 View commit details
    Browse the repository at this point in the history
  5. iterate over directories in sorted order

    This makes behaviour more deterministic, and makes debugging easier.
    aspiers committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    2a647d1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c691b8f View commit details
    Browse the repository at this point in the history
  7. Revert "Remove unnecessary AM_MAKEINFOFLAGS tweak"

    This reverts commit 1a20a3f.
    
    It turns out that `texi2dvi` _does_ require `-I $(srcdir)` for
    `@verbatiminclude default-ignore-list` to work after all.  It's needed
    not for a normal docs build, but when `make distcheck` is run,
    presumably because `distcheck` runs from a different directory.
    aspiers committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    7815bc8 View commit details
    Browse the repository at this point in the history
  8. Revert "testutil: Add sanity check for cwd"

    This reverts commit 5d4e682.
    
    It turns out that this broke `make distcheck`.
    aspiers committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    748a34b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5bb65f6 View commit details
    Browse the repository at this point in the history