-
Notifications
You must be signed in to change notification settings - Fork 30
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
Unable to correctly import CSV from Source Monitor #1886
Comments
@silasg do you can attach the example csv where the error occurs? |
@ollio it was confidential customer data ;/ |
Let us ask the user for the name of the file name/path column, so that the user is flexible to specify the right column. |
@ce-bo |
|
Thank you for your quick replay @ce-bo. We should not forget to adapt or improve the documentation after the changes so that misunderstandings do not occur again on this topic. |
* Add option to csv importer to specify the path column name #1886 * Add unit test #1886 * Remove comment and adjust file names #1886 * Update csv parser dialog #1886 * Add unit test to csv dialog #1886 * Rewrite CSVBuilderTest and change to junit #1886 * Update CHANGELOG.md #1886 * Reformat code #1886 * Update documentation #1886 Co-authored-by: jannikolai.rueckert <jan.nr@live.de> Co-authored-by: Jan N. Rückert <31436472+jannikr@users.noreply.github.com>
Bug
GIVEN
Source Monitor CSV exported using current source monitor version for a Delphi code base containing data about one checkpoint with n files (n >> 1)
WHEN
ccsh csvimport my.csv -o mymap.cc.json
THEN Current
Created Project with 1 leaves.
THEN Expected
Created Project with n leaves.
Research shows that the CSV header did not contain "Path" like expected by import filter but "File Name". Changing the header manually fixes the issue. Proposal: check if the header is related to Source Monitor version and change the hard-coded expectation or (better) add a command line switch to overwrite which column to use for node name.
The text was updated successfully, but these errors were encountered: