Skip to contentSkip to conversation

ceph-ci.git and pull requests

DISCUSSION Casey Bodley 4 participants 6 messages Jan 3, 2017

lore
Share & tools
lore
#0 lore raw

Hi,

I had pushed a branch to ceph/ceph-ci.git for testing, but was unable to open a pull request for it against ceph/ceph.git. The github ui wouldn't let me target branches in ceph-ci.git, presumably because it doesn't recognize it as a fork if ceph.git.

Has anyone else been able to figure this out?

Thanks,
Casey

#1 lore raw

Hmm, I always push branches like that to my own github account ceph.git as well and do the PR from there.
-Sam

Quoted 16 lines · Casey Bodley

Hi,

I had pushed a branch to ceph/ceph-ci.git for testing, but was unable to open a pull request for it against ceph/ceph.git. The github ui wouldn't let me target branches in ceph-ci.git, presumably because it doesn't recognize it as a fork if ceph.git.

Has anyone else been able to figure this out?

Thanks,
Casey

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Right, I don't think GitHub allows an "upstream" repo and a "fork" repo to exist within the same org (github.com/ceph). I do the same thing Sam suggests.

- Ken

Quoted 25 lines · Samuel Just

Hmm, I always push branches like that to my own github account ceph.git as well and do the PR from there.
-Sam

Quoted 9 lines · Casey Bodley

Hi,

I had pushed a branch to ceph/ceph-ci.git for testing, but was unable to open a pull request for it against ceph/ceph.git. The github ui wouldn't let me target branches in ceph-ci.git, presumably because it doesn't recognize it as a fork if ceph.git.

Has anyone else been able to figure this out?

Quoted 7 lines

Thanks,
Casey

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Fair enough. In this case, I was going to push a backport to ceph-ci.git so that packages would be available when the backport team was ready to validate it. In other cases, it can be useful to target a PR against a public branch so that other devs with access can add fixes and continue testing.

Casey

Quoted 15 lines · Nathan Cutler

Hi Casey:

Here's what I do, which I think is essentially the same as Sam and Ken are doing:

git clone https://github.com/smithfarm/ceph
git remote add ceph-ci https://github.com/ceph/ceph
<prepare wip-foo branch>
git push origin wip-foo
<open PR>
git push ceph-ci wip-foo
<wait for http://shaman.ceph.com to build> <test in Sepia>

HTH,
Nathan

#5 lore raw
Quoted 3 lines

Fair enough. In this case, I was going to push a backport to ceph-ci.git so that packages would be available when the backport team was ready to validate it.

That's probably not necessary. Typically, multiple backport PRs are ganged up in an integration branch for testing purposes. For example, the current hammer integration branch looks like this: http://tracker.ceph.com/issues/17151#note-37

The scripting used to prepare the integration branches is described here: http://tracker.ceph.com/projects/ceph-releases/wiki/HOWTO_populate_the_integration_branch

Nathan