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

fix(developer): projects 2.0 internal path enumeration 🦕 #10016

Merged
merged 2 commits into from
Nov 29, 2023

Commits on Nov 16, 2023

  1. fix(developer): projects 2.0 internal path enumeration

    Restricts enumeration of files for the project to the project folder and
    the SourcePath folder. This prevents problems where a project may be in
    a folder with many subfolders which would take a long time to enumerate,
    and avoids confusion where there are source-type files in other folders.
    
    At the same time, sorts out forward slash vs backslash in paths. While
    forward slash works in many scenarios, there are several filename
    manipulation functions, such as ExpandFileName, which would build valid
    but non-optimal paths when forward slashes were encountered, which
    cascaded into files appearing to be different and presentation issues.
    mcdurdin committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    55c0c6f View commit details
    Browse the repository at this point in the history
  2. fix(developer): show relative path in Distribution tab

    For the Project view, the Distribution tab now shows file relative
    paths, which helps with organization. Have opted _not_ to show the
    relative paths in the other tabs, because that information is visible
    when the file details are expanded, and because those files should
    always be in SourcePath anyway.
    mcdurdin committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    38f9b29 View commit details
    Browse the repository at this point in the history