We knew this intuitively, but didn't know why. I'm quite sure that dev releases never get rebuilt because it just does a "git checkout 7.x-1.x". But there's already a local 7.x-1.x. So it doesn't get pulled. Better a fetch followed by "git checkout origin/7.x-1.x" or something.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rfay’s picture

Ah but I see we already have this code which was meant to do this:

// Make sure we don't have an existing branch by this name, or it won't be updated properly
  exec("git --work-tree=$work_tree --git-dir $esc_git_dir branch -D $tag 2>&1", $output, $status);

The problem is that that code will never work if we're *on* that branch.

rfay’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Active » Needs review
FileSize
1 KB

I think this would probably do it. D6 patch.

rfay’s picture

I tested this version on qa6-drupal.redesign.devdrupal.org and think it will probably work out.

rfay’s picture

I think we should do this one. SHould be the same thing.

rcross’s picture

@Randy - can you confirm you intended for #3 and #4 to be the same patch? diff shows no difference.

rcross’s picture

I've rerolled this to eliminate the conditional fetching.

rcross’s picture

wrong format. try this one.

rfay’s picture

Status: Needs review » Reviewed & tested by the community

Looks OK to me, and let's run through the testing together.

My only question: Why leave the fetch in the else instead of making it unconditional? I know it makes logical sense, but should we just do it even after a clone, for simplicity of code?

rfay’s picture

Status: Reviewed & tested by the community » Fixed
rfay’s picture

Now this needs to be deployed; looks to me like jenkins/bender isn't really up to the task right now. But hope to get it this week.

rfay’s picture

Issue tags: +needs drupal.org deployment

needs drupal.org deployment

rfay’s picture

Status: Fixed » Reviewed & tested by the community

In all the mess of getting the testbots stabilized after infra changes I forgot all about this. Still needs deployment. I'm going to mark it rtbc...

rfay’s picture

Status: Reviewed & tested by the community » Fixed

Deployed! Now what will happen?

Automatically closed -- issue fixed for 2 weeks with no activity.

drumm’s picture

Issue summary: View changes
Issue tags: -needs drupal.org deployment