aboutcode-org / aboutcode-org/deltacode

Failing case if extra directory is added

未關閉
#17 6 則留言 0 個 reaction 已指派 2 人 已被 @steven-esser 認領 在 GitHub 檢視
bug
主要語言
Python
星號
22
分支
27
PR 合併指標
30 天內沒有已合併 PR

描述

I did some simple tests and here is my finding:

I use "balloontip-1.1.1.jar" as a sample file.

1. Created 2 directories `d1/` and `d2/` and put the test file in it and then compare these 2 directories. The output is unchanged which is correct.

2. Same setup as (1) but create a new subdirectory named `test/` under `d1/` and put balloontip-1.1.1.jar in it.
Both the
`d1/balloontip-1.1.1.jar`
`d1/test/balloontip-1.1.1.jar`
are returned as added.

and the `d2/balloontip-1.1.1.jar` is returned as `removed`

which is not correct as the `d1/balloontip-1.1.1.jar` and `d2/balloontip-1.1.1.jar` should return unchanged while the `d1/test/balloontip-1.1.1.jar` is consider as added.

3. Same setup as (1) but create a new `root/` directory and put the `d1/` in it and run the deltacode from `root/` to `d2/`. The output is unchanged which is correct.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。