Closed radek-macha closed 11 years ago
Started work in b7eb72fb19bcac10d0e710be3c818eaf5729ec64
@donarus, @sixtam
I keep coming across this all the time. I think it'd be better for the Bpk
entity to become an interface with an InputStream Bpk#getInputStream()
method, as opposed to File Bpk#getFile()
. Would that be a problem?
@radek-macha Not for me.
Some related refactoring in e1fae1b8e8c29098b4d77f705b0a84fd75e41b61.
What is the expected behavior of concurrent uploads of the same BPK? The code suggests that concurrent uploaders will overwrite each others files.
See this issue's description for expected behavior. As of now, the overwrite will happen. I am planning to revisit concurrency once the full features regarding Maven artifacts are implemented.
Artifact get/put (forgot to hash this): b6001b69ec00a71605d3dd0b5bd53f30c72671da
Collective decision lead to closing this issue without the duplicit entry denial for the moment, to allow easier debugging of other features. Covered by #74.
The SWRepository implements above features in a blocking way (i.e. one listener thread which blocks whenever it is processing a request). This is unsuitable for handling production payload. Covered by #75.