firebase-cpp-sdk icon indicating copy to clipboard operation
firebase-cpp-sdk copied to clipboard

Feature/rewarded user

Open berinhardt opened this issue 5 years ago • 20 comments

berinhardt avatar Nov 15 '19 15:11 berinhardt

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar Nov 15 '19 15:11 googlebot

@googlebot I signed it!

berinhardt avatar Nov 15 '19 20:11 berinhardt

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

googlebot avatar Nov 15 '19 20:11 googlebot

Hi @berinhardt,

Thanks for sending the pull request! Unfortunately we won't be able to accept it currently, as we are still working on setting up the test infrastructure for the repository, as we need to support a variety of build environments, and therefore don't have a great way to automatically verify it. We'll be sure to reach out when we are in a position to bring this in.

Note that because this is a bigger change, which is adding new functions to the public headers (and thus changing the API surface), it might take a bit longer to verify. When the repo is set up to take in pull requests, we will be sure to describe the workflow in the CONTRIBUTING.md.

Again, thanks for the interest, great to see people getting involved!

a-maurice avatar Nov 19 '19 19:11 a-maurice

Hi @berinhardt,

Sorry for the extremely long delay in getting a look at this PR. We finally have the infrastructure in place to take code submissions. If you're interested in getting this PR in, please merge the latest changes from main into it, and we can take a look.

Also note that there is now an AdMob integration test in admob/integration_test/src/integration_test.cc -- if you could add a test for this new functionality, that would be helpful.

Finally, one more note - to be able to use our testing infrastructure, this change should be made in a feature branch within this Git repo. You should have permissions to create a feature branch in the firebase/firebase-cpp-sdk project, and merge the changes from this PR into that branch.

Thanks!

jonsimantov avatar Mar 29 '21 23:03 jonsimantov

Will do.

berinhardt avatar Mar 30 '21 23:03 berinhardt

Finally, one more note - to be able to use our testing infrastructure, this change should be made in a feature branch within this Git repo. You should have permissions to create a feature branch in the firebase/firebase-cpp-sdk project, and merge the changes from this PR into that branch.

Are you sure? I'm not being able to create that branch.

berinhardt avatar Mar 31 '21 15:03 berinhardt

Finally, one more note - to be able to use our testing infrastructure, this change should be made in a feature branch within this Git repo. You should have permissions to create a feature branch in the firebase/firebase-cpp-sdk project, and merge the changes from this PR into that branch.

Are you sure? I'm not being able to create that branch.

Interesting. What's the command that you're running and what's the error? Thanks!

DellaBitta avatar Mar 31 '21 16:03 DellaBitta

just tried to push a new branch named feature/RewardedUserId and returned error 403. What I'm not understanding?

berinhardt avatar Mar 31 '21 18:03 berinhardt

I don't know but we'll work it out!

How are you attempting to create a new branch? I'm not familiar with a method in Github that would return HTTP request error codes -- learning more of the details about what you're attempting would be helpful.

I'm personally using the git command line tools and my flow for creating a new branch would look something like this (assuming I've already git cloned the repo):

git checkout main
git pull
git branch feature/abc123
git checkout feature/abc123

... make some changes to a file ...

git add <file>
git commit -m "I changed a file"
git push --set-upstream origin feature/abc

Thanks.

DellaBitta avatar Mar 31 '21 20:03 DellaBitta

Exactly like that, but when I try to push to the origin, it tries to push to https://github.com/firebase/firebase-cpp-sdk.git, and says 403

I'll try adding an ssh origin in order to see if I can get another error

berinhardt avatar Apr 01 '21 14:04 berinhardt

I was just able to reproduce this with a new account and using http as well. I'm looking into it, but it would be great to know if ssh works.

DellaBitta avatar Apr 01 '21 14:04 DellaBitta

with ssh doesn't work either

ERROR: Permission to firebase/firebase-cpp-sdk.git denied to berinhardt.

berinhardt avatar Apr 01 '21 14:04 berinhardt

Hi @berinhardt,

Thanks for bearing with us. We're just getting used to how user submissions work so I'm sorry for the confusion.

It turns out that the organization does not enable writes (pushes) by external contributors. The process of creating a PR from a fork is the correct manner to contribute, as you've done.

I can also see that the tests are running. If there's a problem that tests are failing due to the origin being a fork, then that's something that we'll have to work on. A potential solution is for one of the admins to create a branch, merge your changes into it, and then we can re-execute the tests. We'll see how this next text execution pans out.

DellaBitta avatar Apr 01 '21 15:04 DellaBitta

all tests done

berinhardt avatar Apr 01 '21 18:04 berinhardt

Something seems to be wrong with your integration tests

Error: Resource not accessible by integration?

berinhardt avatar Apr 19 '21 14:04 berinhardt

We've fixed our testing for contributors - if you merge main into your branch, I'll be able to trigger the full integration test suite on your PR manually.

jonsimantov avatar May 04 '21 15:05 jonsimantov

Sorry for the delay

berinhardt avatar Jun 02 '21 20:06 berinhardt

what else is needed for this?

berinhardt avatar Jun 30 '21 22:06 berinhardt

@jonsimantov

berinhardt avatar Jul 21 '21 21:07 berinhardt