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

[MSHARED-1285] use an up-to-date scanner instead the newscanner #77

Merged
merged 2 commits into from
Dec 19, 2023

Commits on Dec 2, 2023

  1. [MSHARED-1285] - exhibit incremental issue

    Current incremental build does not honor isUptodate(), so changed or
    removed target resources are not refreshed until sources are modified or
    a full build is performed.
    
    2 new testcases exhibits this issue (one for missing target resource,
    one for modified target resource). As stub BuildContext provides
    appropriate isUptodate results, build should refresh this resources.
    
    Current implementation prevents BuildContext implementors to trigger
    appropriate resource refresh by tweaking isUptodate implementation.
    
    See javadoc in BuildContext#newScanner javadoc that advices that
    incremental build may be performed with a full resource scanning and a
    isUptodate call to refresh only needed resources.
    lalmeras committed Dec 2, 2023
    Configuration menu
    Copy the full SHA
    a0005e0 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. MSHARED-1285 use an up-to-date scanner instead the newscanner

    Currently it could happen that the scanner misses changed files (because
    they are not part of the delta) or copies files even if they have not
    changed (e.g. because the output has changes).
    
    This uses now a different approach, instead of only handling the delta
    files, we scan all inputs and compare if they are up-to-date with the
    output.
    Christoph Läubrich committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    74a967d View commit details
    Browse the repository at this point in the history