Hello, here are some ideas for the Download-Manager. What do you think?
- Repository gets new attribute "trusted", then no check of MD5
- Artifact gets the same attribute
- if attribute is set to true, then no check of MD5 and the file is
directly copied to the local repository
- get MD5-file
- copy file to a tmp-Directory with tmp-Name
- check tmp file to MD5
- if correct, copy tmp file to local repository with correct name
- also copy MD5 file to the local repository, so that later checks could
be also performed
Question: do we use cmdLine md5hash or do we use java? - I like the java idea, but this could be pretty bad, if the file is large or the md5 implementation of java does not support the bsd/linux md5


- how to unit test this, without a download? - not possible, so the internet connection should be up and running for the testcase

Reply via email to