I'm in favor of simply rejecting the PUT requests of any non maven-metadata.xml file that already exists. This would mean it would be possible to upload signatures significantly later, but I can't think of a non-time based way to make a cutoff.
We could handle failed deploys similar to delete requests.
Also, ssh deployment would require a similar mechanism of checking for the file in the repo.
--
You received this message because you are subscribed to the Google Groups "clojars-maintainers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojars-maintai...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
So in my eyes the need for
signing already-deployed artifacts is much reduced since once the
releases repository becomes the default it will only be very old
(or opted-out) artifacts that are unsigned.
Does that make sense?
> Another possibility would be to send back a successful response (but notThis would be doable, but the problem is that jars generated by
> actually overwrite anything) if there's already a file on disk with the
> same etag. Essentially making uploads idempotent. Although with this
> approach, if an upload got truncated because of a network error, then there
> would be no way to fix it. You'd have to resort to bumping the version
> number.
Leiningen include timestamps on them, so redoing a `lein deploy clojars`
will not re-send the same bytes unfortunately.