Re: [Release][Help] refused by the server: Unauthorized

2019-06-18 Thread Zhang Yifei
Hello Wei,

Just tried with full Apache Email, same error.
I didn`t get your error, it seems like some kind of dependency error.
Apache repo requires GPG signature, i had to create a new GPG key and
publish it in public key pool. When i use "publishSigned" command in sbt
shell,
sbt will sign all generated artifacts with my GPG key(asking for Key
password if we created it), generate POM file from informations that we put
in sonatype.sbt and try to connect with Repo host for deployment.
I also changed the version from 0.0.5 to 0.0.5-SNAPSHOT for snapshot repo
deploy before deploying directly to staging repo.

The only change that we had is the repository host, from oss.sonatype.org
to repository.apache.org(and your credentials)

I'm suspecting that some Sonatype dependencies we are using is affecting
this procedure.
I got day off on thursday, then ill check all these dependencies and
plugings.

Thanks for helping!!

Regards

Yifei

Em ter, 18 de jun de 2019 às 02:46, Wei Chen  escreveu:

> Hello Yifei,
>
> I tried adding these line directly:
>
> credentials += Credentials("Apache Nexus Repository Manager", "
> repository.apache.org", "wei.c...@apache.org", "**")
> publishTo := {
>   val nexus = "https://repository.apache.org/;
>   if (isSnapshot.value)
> Some("snapshots" at nexus + "content/repositories/snapshots")
>   else
> Some("releases"  at nexus + "service/local/staging/deploy/maven2")
> }
>
> The error that I am getting is
>
> TypeError: a bytes-like object is required, not 'str'
>
>   --scala_out:
> protoc-gen-scala: Plugin failed with status code 1.
>
>  java.lang.RuntimeException:
> protoc returned exit code: 1
>
>   at
> scala.sys.package$.error(package.scala:27)
>
>
> Are you getting the same error?
> Or if you can try to change your account to the full Apache Email first?
> Cus I think it only recognizes the full email.
>
> Best Regards
> Wei
>
> On Mon, Jun 17, 2019 at 9:05 AM Zhang Yifei  wrote:
>
> > Hello guys, i need a hand here about publishing Engine-Executor to Apache
> > MARVIN-45 /MARVIN-56
> > .
> >
> > Error log:
> > -
> > [error] Unable to find credentials for [Sonatype Nexus Repository
> Manager @
> > repository.apache.org].
> > [error]   Is one of these realms misspelled for host [
> > repository.apache.org
> > ]:
> > [error]   * Apache Nexus Repository Manager
> > [trace] Stack trace suppressed: run last *:publishSigned for the full
> > output.
> > [error] (*:publishSigned) java.io.IOException: Access to URL
> >
> >
> https://repository.apache.org/content/repositories/snapshots/org/apache/marvin/marvin-engine-executor_2.12/0.0.5-SNAPSHOT/marvin-engine-executor_2.12-0.0.5-SNAPSHOT.jar.asc
> > was refused by the server: Unauthorized
> > [error] Total time: 5 s, completed 17/06/2019 10:49:14
> > 
> >
> > The release configuration is practically done.
> > I have tried to publish locally and it worked(Changed Apache repo host to
> > publishTo := Some(Resolver.file("file",  new File(
> > "/home/zhangyifei/Desktop" )) )).
> > The current value of "publishTo" in build.sbt is
> >
> > publishTo := {val nexus = "https://repository.apache.org/;
> >   if (isSnapshot.value)
> > Some("snapshots" at nexus + "content/repositories/snapshots")
> >   else
> > Some("releases"  at nexus + "service/local/staging/deploy/maven2")
> > }
> >
> >
> > So apparently the problem is Apache Credential setting.
> >
> > Putting "credentials += Credentials("Apache Nexus Repository Manager", "
> > repository.apache.org", "yifeizhang", "MyPassword)" in build.sbt  is not
> > working,
> > and creating a local file in /home/user/.sbt/sbtversion/sonatype.sbt with
> > credentials informations either(This worked for me when i published
> > artifact to sonatype repo).
> >
> > Does anyone have any idea about how to set credentials for artifact
> > publish.
> >
> >
> > Best regards
> >
>


-- 
--
Zhang Yifei


Re: ApacheCon North America 2019: Proposal accepted!

2019-06-18 Thread Daniel Takabayashi
Thanks guys!
Now, will be very nice if we could present the "new apache marvin version"
at this conference. At least with the new toolbox in place.

Em qui, 6 de jun de 2019 às 14:35, Luciano Resende 
escreveu:

> Congrats, and see you in Vegas.
>
> On Thu, Jun 6, 2019 at 17:21 Daniel Takabayashi <
> daniel.takabaya...@gmail.com> wrote:
>
> > Marvin is Going to ApacheCon guys!
> >
> > Sent from my iPhone
> >
> > Begin forwarded message:
> >
> > > From: ApacheCon North America 2019 via JamHosted <
> > no-re...@asf.jamhosted.net>
> > > Date: June 6, 2019 at 8:00:25 AM PDT
> > > To: Daniel Takabayashi 
> > > Subject: ApacheCon North America 2019: Proposal accepted!
> > >
> > > Dear Daniel Takabayashi,
> > >
> > > Congratulations! We are pleased to tell you that your talk, "Everything
> > about Apache Marvin Platform”
> > > has been accepted for ApacheCon North America 2019. (If you submitted
> > additional proposals, you
> > > will receive separate notifications regarding each proposal.)
> > >
> > > IMPORTANT: Please confirm that you will be attending by visiting the
> > following URL:
> > >
> >
> https://asf.jamhosted.net/confirm.html?7bf15818-5d7b-45dc-9235-bf4b64c91eda/2de6bdf6-7f44-4df5-a9da-6b8d07cc7c4c
> > This will ensure that we register you for the event. If you
> > > do not confirm that you'll be attending, we'll have to replace your
> talk
> > with
> > > another one.
> > >
> > > Once the schedule is published -
> > https://www.apachecon.com/acna19/schedule.html -
> > > please check it to see where your talk has been scheduled. Note that
> > this is
> > > subject to change. If you CANNOT speak where you have been scheduled,
> > please let
> > > us know. We cannot promise to schedule you in your preferred spot, but
> > we do wish
> > > to avoid no-shows.
> > >
> > > Once you have confirmed that you'll be joining us, and once the
> schedule
> > is
> > > finalized, we'll be following up with more details about the event, so
> > please
> > > hold your questions for a moment while we compile that speaker packet.
> > But,
> > > since you all always ask this, we wanted to let you know that the
> > > projectors are 16:10, 1024x768.
> > >
> > > If you need help, such as an invitation letter, for acquiring a travel
> > visa,
> > > please contact acna...@apache.org
> > >
> > > If you need financial assistance for travel and lodging, please
> consider
> > > applying for our TAC (Travel Assistance Committee) support, at
> > > https://www.apache.org/travel/
> > >
> > > Please help us promote your talk, and the conference in general, by
> > posting
> > > about it on your project mailing lists, social media, and your blog.
> > Please
> > > use #ApacheCon and/or #ACNA19 to tag the posts, so that we can find and
> > > amplify them.
> > >
> > > With regards,
> > > The team behind ApacheCon North America 2019
> >
> --
> Sent from my Mobile device
>


Re: make docker-build fail

2019-06-18 Thread Rafael Novello
@Daniel

I did a PR for this task! Could you review and merge?

Thanks!
Atenciosamente,
Rafael J. R. Novello

Skype: rafael.novello
Blog: http://rafanovello.blogspot.com.br/


Em ter, 18 de jun de 2019 às 15:07, Daniel Takabayashi <
daniel.takabaya...@gmail.com> escreveu:

> Yes, I agree and I am quite sure this change will not break anything. I
> signed this task for me, and I am working on this right now.
>


Re: make docker-build fail

2019-06-18 Thread Daniel Takabayashi
Yes, I agree and I am quite sure this change will not break anything. I
signed this task for me, and I am working on this right now.