#204 Invalid "sources" file is accepted
Closed: Fixed 5 years ago Opened 7 years ago by tmlcoch.

RPKG accepts sources file which contains two files with the exactly same name but different checksum. It would be nic if RPKG could report an error message when something like this happen, or at least print very explicit warning.

$ cat sources 
600bc6a0cf7309817bc3254162d65d77  source-1.2.3.tar.gz
a20d6dd888a8db6a764bcf1cf14ed8db  data-1.tar.gz
c806e3f31f9180d3b5d13bcd1ee1c5df  data-1.tar.gz

My guess is that rhpkg upload data-1.tar.gz has been used but instead of replacing existing entry (a20d6dd888a8db6a764bcf1cf14ed8db data-1.tar.gz) only new one has been added (c806e3f31f9180d3b5d13bcd1ee1c5df data-1.tar.gz).

Metadata Update from @cqi:
- Issue set to the milestone: NEXT

5 years ago

Metadata Update from @cqi:
- Issue set to the milestone: 1.55 (was: NEXT)

5 years ago

Metadata Update from @cqi:
- Issue assigned to cqi

5 years ago

Commit 4bd1e75 fixes this issue

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #343 Merged 5 years ago