Re: The simplest way to publish to Clojars?
Thanks for the clarification Toby! Boot doesn’t sign JARs by default but the push task has the following GPG-related options for folks who want to: -g, --gpg-sign Sign jar using GPG private key. -k, --gpg-user-id KEY KEY sets the name or key-id used to select the signing key. -K, --gpg-keyring PATH DEPRECATED: PATH sets the path to secring.gpg file to use for signing. -p, --gpg-passphrase PASS PASS sets the passphrase to unlock GPG signing key. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood On 6/1/17, 5:03 AM, "Toby Crawley"wrote: On Thu, Jun 1, 2017 at 12:01 AM, Sean Corfield wrote: > All the SSH keys and PGP/GPG stuff is unnecessary now, unless you want to > store your username/password credentials locally in encrypted form. There’s > no longer any signing or promotion of JARs. Jar promotion no longer exists on Clojars, but jar signing is still supported. By default, lein attempts to sign jars, but this can be disabled (run `lein sample` and search for `:sign-releases`). I don't know what boot does by default with respect to signing. -- 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.
Re: The simplest way to publish to Clojars?
On Thu, Jun 1, 2017 at 12:01 AM, Sean Corfieldwrote: > All the SSH keys and PGP/GPG stuff is unnecessary now, unless you want to > store your username/password credentials locally in encrypted form. There’s > no longer any signing or promotion of JARs. Jar promotion no longer exists on Clojars, but jar signing is still supported. By default, lein attempts to sign jars, but this can be disabled (run `lein sample` and search for `:sign-releases`). I don't know what boot does by default with respect to signing. -- 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.
Re: The simplest way to publish to Clojars?
Clojars has a page of instructions: https://github.com/clojars/clojars-web/wiki/pushing That page assumes you’re using Bootlaces with Boot, but Boot’s own wiki has simpler instructions for raw Boot: https://github.com/boot-clj/boot/wiki/Repository-Credentials-and-Deploying All the SSH keys and PGP/GPG stuff is unnecessary now, unless you want to store your username/password credentials locally in encrypted form. There’s no longer any signing or promotion of JARs. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood On 5/31/17, 2:08 AM, "Jiyin Yiyong"wrote: I tried Lein and Boot. It requires several steps and confused me very long time at first. After I made it work in Boot then I never want to write the configs by myself again. Now a year has part. What's the simplest way to do it? Can I do that in a way as simple as npm? -- 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.
Re: The simplest way to publish to Clojars?
PGP is a general-purpose encryption/sign tool. Lein uses it for two things: * Encrypting your clojars credentials on your disk * Signing your pom/jars to ensure those things are created by you, which is widely used in OpenSource world There were a lot of guides on the web on how to setup your keys. You can google "pgp getting started". You may also configure your git, email and many other tools to use gpg too. On May 31, 2017 10:58:11 PM GMT+08:00, Jiyin Yiyongwrote: >I bookmarked this >post >http://thornydev.blogspot.hk/2013/03/signing-and-promoting-your-clojure.html > >and read it for several times. I never managed to remember the steps. >What >I can do is only copy/paste the commands. > >On Wednesday, May 31, 2017 at 6:35:16 PM UTC+8, James Reeves wrote: >> >> The hardest part is setting up GnuPG, and that only needs to be done >once >> per machine. Leiningen has a guide on it: >> >> https://github.com/technomancy/leiningen/blob/master/doc/GPG.md >> >> Once that's done, deploying is just a single command: "lein deploy >> clojars". >> >> I believe the process for Boot is similar, except the command is >"boot >> push --repo clojars". >> >> On 31 May 2017 at 10:07, Jiyin Yiyong > >> wrote: >> >>> I tried Lein and Boot. It requires several steps and confused me >very >>> long time at first. After I made it work in Boot then I never want >to write >>> the configs by myself again. >>> >>> Now a year has part. What's the simplest way to do it? Can I do that >in a >>> way as simple as npm? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> James Reeves >> booleanknot.com >> > >-- >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. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 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.
Re: The simplest way to publish to Clojars?
I bookmarked this post http://thornydev.blogspot.hk/2013/03/signing-and-promoting-your-clojure.html and read it for several times. I never managed to remember the steps. What I can do is only copy/paste the commands. On Wednesday, May 31, 2017 at 6:35:16 PM UTC+8, James Reeves wrote: > > The hardest part is setting up GnuPG, and that only needs to be done once > per machine. Leiningen has a guide on it: > > https://github.com/technomancy/leiningen/blob/master/doc/GPG.md > > Once that's done, deploying is just a single command: "lein deploy > clojars". > > I believe the process for Boot is similar, except the command is "boot > push --repo clojars". > > On 31 May 2017 at 10:07, Jiyin Yiyong> wrote: > >> I tried Lein and Boot. It requires several steps and confused me very >> long time at first. After I made it work in Boot then I never want to write >> the configs by myself again. >> >> Now a year has part. What's the simplest way to do it? Can I do that in a >> way as simple as npm? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > James Reeves > booleanknot.com > -- 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.
Re: The simplest way to publish to Clojars?
Hi Jiyin, in the past I wrote this couple of tutorials on this topic: boot: https://github.com/magomimmo/modern-cljs/blob/master/doc/second-edition/tutorial-20.md Leiningen (very old): https://github.com/magomimmo/modern-cljs/blob/master/doc/first-edition/tutorial-19.md#a-survival-guide If I remember well at those time the GnuGP signature was not a must have HIH mimmo On Wed, May 31, 2017 at 12:34 PM, James Reeveswrote: > The hardest part is setting up GnuPG, and that only needs to be done once > per machine. Leiningen has a guide on it: > > https://github.com/technomancy/leiningen/blob/master/doc/GPG.md > > Once that's done, deploying is just a single command: "lein deploy clojars". > > I believe the process for Boot is similar, except the command is "boot push > --repo clojars". > > On 31 May 2017 at 10:07, Jiyin Yiyong wrote: >> >> I tried Lein and Boot. It requires several steps and confused me very long >> time at first. After I made it work in Boot then I never want to write the >> configs by myself again. >> >> Now a year has part. What's the simplest way to do it? Can I do that in a >> way as simple as npm? >> >> -- >> 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. > > > > > -- > James Reeves > booleanknot.com > > -- > 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.
Re: The simplest way to publish to Clojars?
The hardest part is setting up GnuPG, and that only needs to be done once per machine. Leiningen has a guide on it: https://github.com/technomancy/leiningen/blob/master/doc/GPG.md Once that's done, deploying is just a single command: "lein deploy clojars". I believe the process for Boot is similar, except the command is "boot push --repo clojars". On 31 May 2017 at 10:07, Jiyin Yiyongwrote: > I tried Lein and Boot. It requires several steps and confused me very long > time at first. After I made it work in Boot then I never want to write the > configs by myself again. > > Now a year has part. What's the simplest way to do it? Can I do that in a > way as simple as npm? > > -- > 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. > -- James Reeves booleanknot.com -- 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.
The simplest way to publish to Clojars?
I tried Lein and Boot. It requires several steps and confused me very long time at first. After I made it work in Boot then I never want to write the configs by myself again. Now a year has part. What's the simplest way to do it? Can I do that in a way as simple as npm? -- 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.