Support for paths in summary files and per-directory summary files#32
Open
fr-jon wants to merge 2 commits into
Open
Support for paths in summary files and per-directory summary files#32fr-jon wants to merge 2 commits into
fr-jon wants to merge 2 commits into
Conversation
… than filename) in summary files. Support truncation of pathnames in summary files from a base path.
|
Julien Nicoulaud » checksum-maven-plugin #25 SUCCESS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Single summary files currently write filenames rather than pathnames. When a directory tree contains multiple files by the same name this results in conflicting entries in the summary file. This is easily avoided by recording the full pathname of each file in the summary.
Execution of this plugin illuminates an issue with storing pathnames in that the path can contain more detail, i.e. higher parts of the tree, than desired. This changeset includes support for 'summaryRoot', a path segment, which is removed from each pathname when writing to the summary file.
The traditional storage of checksums is in the form of a single summary file per directory. Oddly this plugin supported only 1:1 checksum files and a 1:all summary file. This changeset adds support for a per-directory summary file, presently only in CSV form.