Tiny Core Extensions > TCE Bugs

submitqc: issue with dependency check

(1/1)

Rich:
When  submitqc  compares a  .dep  file to an existing  .dep  file in the repo, it flags them as different if they have the same
contents but in a different order.

Cosmetic:
Line 905:

--- Code: ---echo -ne "\n\t${YELLOW}${F}.tcz.list does not match extension content. \
--- End code ---
The  ${F}  already contains  .tcz,  so  ${F}.tcz.list  expands to  NAME.tcz.tcz.list.

coreplayer2:
Hello Rich

Interesting thanks
I’m not sure I remember how the contents were tested but an alternative approach perhaps would be to sort contents of both before testing ?

Will take a look at the issue



Sent from my iPhone using Tapatalk

Rich:
Hi coreplayer2
Sorting would be the most straightforward way of doing it.. I was rather surprised to be informed my  .dep  file with 2 entries
didn't match the repo.

coreplayer2:
Hello Rich.

I wonder how this was discovered,  the —fix switch resolved most issues I just don’t remember if that specific issue is normally fixed or is just a notification, considering the author might require deps to be loaded in a specific order.



Sent from my iPhone using Tapatalk

Rich:
Hi coreplayer2
It's a notification. Dependencies change so you can't fix them based on previous versions of an extension.

Navigation

[0] Message Index

Go to full version