Closed sadnanalmanir closed 9 years ago
@sadnanalmanir thanks for reporting, we're aware of the problem. In the mean time, use messages for giving command to rultor. You're posting instructions right in the body of an issue, that's why rultor doesn't understand you. Post a message, it will work.
@yegor256, I am following your instructions at http://www.yegor256.com/2014/08/19/how-to-release-to-maven-central.html . Regarding "Post a message", could you please elaborate a little more? How can I do that?
by posting a message I mean posting "comments", just like we're doing it here :) I'm sure you got it
As I am not an expert on github, to make sure I don't post somewhere I am not supposed to: should I create an issue https://github.com/yegor256/rultor/issues/new and write the release command in the title or just reply here with the release command?
On Wed, Jan 7, 2015 at 12:44 PM, Yegor Bugayenko notifications@github.com wrote:
by posting a message I mean posting "comments", just like we're doing it here :) I'm sure you got it
— Reply to this email directly or view it on GitHub https://github.com/yegor256/rultor/issues/716#issuecomment-69050421.
@sadnanalmanir you should give commands to rultor inside the tickets you created. I'll help you there now
@yegor256, thank you very much. I am wondering if you could take a look at the configulation below to see if there is anything I am missing.
The release failed with error here at http://www.rultor.com/t/1454-69057833. I have encountered this error before and would like to get your opinion on my configuration. In my gpg directory is home/username/_.gnupg and settings._xml is in home/username/.m2
This is how my profile looks Inside settings.xml:
<profile>
<id>PSOARuleML-API</id> <!-- give it the name of your project -->
<properties>
<gpg.homedir>/home/r</gpg.homedir><!-- should this be *home/username/.gnupg*
-->
<gpg.keyname>7B02AFDF</gpg.keyname><!-- my public key for the project -->
<gpg.passphrase>myPassphrase</gpg.passphrase>
</properties>
</profile>
<servers>
<server>
<id>sonatype</id>
<username><!-- Sonatype JIRA user name --></username>
<password><!-- Sonatype JIRA pwd --></password>
</server>
</servers>
I create the keys:
#rultor encrypt -p sadnanalmanir/PSOARuleML-API .gnupg/secring.gpg
*#rultor encrypt -p sadnanalmanir/PSOARuleML-API .gnupg/pubring.gpg#rultor
encrypt -p sadnanalmanir/PSOARuleML-API .m2/settings.xml*
Then I copy and the *.asc files
*#sudo cp .gnupg/pubring.gpg.asc NetBeansProjects/PSOARuleML-API/#sudo cp
.gnupg/secring.gpg.asc NetBeansProjects/PSOARuleML-API/#sudo cp
.m2/settings.xml.asc NetBeansProjects/PSOARuleML-API/*
I push to github and create .rultor.yml which contains:
decrypt:
settings.xml: "repo/settings.xml.asc"
pubring.gpg: "repo/pubring.gpg.asc"
secring.gpg: "repo/secring.gpg.asc"release:
script: |
mvn versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean deploy --settings /home/r/settings.xml
What am doing wrong?
Looks like you're doing everything right.. Something is wrong with the encryption of your files. Rultor can't decrypt them. Are you sure you're using the latest rultor
gem? Try:
gem install rultor
@yegor256 I have installed rultor again, got a new key, distributed and tried. same error with the message http://www.rultor.com/t/1454-69123729 I am not sure what to do now. In settings.xml, gpg.homedir, should I put home/me/.gnupg or home/r as you have shown in your tutorial. I have tried both, nothing works.
On Wed, Jan 7, 2015 at 2:14 PM, Yegor Bugayenko notifications@github.com wrote:
Looks like you're doing everything right.. Something is wrong with the encryption of your files. Rultor can't decrypt them. Are you sure you're using the latest rultor gem? Try:
gem install rultor
— Reply to this email directly or view it on GitHub https://github.com/yegor256/rultor/issues/716#issuecomment-69064919.
It's not an issue of settings.xml
. The problem is that rultor can't decode your files. I have no idea what's going on... let me try to investigate
Is there any update regarding the decryption error?
On Thu, Jan 8, 2015 at 6:46 AM, Yegor Bugayenko notifications@github.com wrote:
It's not an issue of settings.xml. The problem is that rultor can't decode your files. I have no idea what's going on... let me try to investigate
— Reply to this email directly or view it on GitHub https://github.com/yegor256/rultor/issues/716#issuecomment-69163530.
@sadnanalmanir can you please run this:
rultor encrypt -p sadnanalmanir/PSOARuleML-API .gnupg/pubring.gpg
And post here the full output log.
@yegor256
--trust-model always' option gpg: reading from
pubring.gpg.enc'
gpg: writing to `pubring.gpg.asc'
gpg: RSA/AES256 encrypted for: "9A839C3A Rultor.com gpg@rultor.com"On Fri, Jan 9, 2015 at 6:49 AM, Yegor Bugayenko notifications@github.com wrote:
@sadnanalmanir https://github.com/sadnanalmanir can you please run this:
rultor encrypt -p sadnanalmanir/PSOARuleML-API .gnupg/pubring.gpg
And post here the full output log.
— Reply to this email directly or view it on GitHub https://github.com/yegor256/rultor/issues/716#issuecomment-69319597.
@sadnanalmanir what is your operating system and the version of gpg?
Ubuntu 12.04LTS gpg (GnuPG) 1.4.11
On Fri, Jan 9, 2015 at 12:27 PM, Yegor Bugayenko notifications@github.com wrote:
@sadnanalmanir https://github.com/sadnanalmanir what is your operating system and the version of gpg?
— Reply to this email directly or view it on GitHub https://github.com/yegor256/rultor/issues/716#issuecomment-69358183.
I am getting no response from rultor for the maven central release through sonatype JIRA for my github project PSOARuleML-API