Thank you so much for this! I've personally faced this issue before. So I
know how helpful this change is. Great job! :)
On Mar 8, 2016 7:39 PM, "Toby Crawley" <t...@tcrawley.org> wrote:

> We just pushed a new release of Clojars that includes a new
> implementation of our internal deploy logic. The big change there is
> deployments are now atomic - if the deployment fails (due to a network
> interruption/corruption or invalid artifacts), then we no longer write
> it to the repository.
>
> We verify the deployment by applying a set of validations (see
> https://github.com/clojars/clojars-web/wiki/Pushing#validations) after
> all of the artifacts have been uploaded, but before we send back a
> response to the final PUT. This allows us to return a (hopefully
> helpful) error message if any of the validations fail.
>
> From a user perspective, deployment should behave the same for the
> most part - the only thing that would be different is we now validate
> after all of the artifacts are uploaded instead of applying some
> validations for each artifact. This means that if you try to redeploy
> a non-SNAPSHOT version, for example, it used to fail on the first
> artifact, but will now fail after the /last/ artifact has been
> uploaded.
>
> As part of this change, we repaired any invalid non-SNAPSHOT
> maven-metadata.xml files that had resulted from partial deploys
> (likely from network interruptions) in the past.
>
> Since this is a big internal change, please let us know if you see any
> issues or oddness with deployment. You can file an issue
> (https://github.com/clojars/clojars-web/issues), or find us in
> #clojars on either the Clojurians slack or Freenode.
>
> - Toby
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to