aboutcode-org / aboutcode-org/deltacode

Failing case if extra directory is added

Aperta
#17 6 commenti 0 reazioni 2 assegnatari Rivendicata da @steven-esser Vedi su GitHub
bug
Lingua principale
Python
Stelle
22
Fork
27
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.