I assume that d.org is using Flag 3.x for the follow links?

Are there any issues that should be considered?

Flag has a few open issues to do with deletion of field data and proper integration with entity CRUD hooks. However, I've been concerned about the scaling issues that would go with causing a big chain reaction of entity deletion when flagged entities or users are deleted. If d.org is using Flag 3.x, I should probably take a closer look at the workflows that d.org is using and check they're ok.

Deployment

Comments

eliza411’s picture

Drupal.org is using Flag 7.x-2.1.

joachim’s picture

Interesting choice...

It's not the recommended 7.x branch, and it's likely to soon be unsupported!

tvn’s picture

Project: [Archive] Drupal.org D7 upgrade QA » Drupal.org infrastructure
Component: Code » Other
Mixologic’s picture

Project: Drupal.org infrastructure » Drupal.org customizations
Version: » 7.x-3.x-dev
Component: Other » Code

Moving to the customizations queue.

joachim’s picture

I'm not sure that's the right place for it. "Drupal.org customizations" is a set of custom modules that run on d.org. Flag is not one of those custom modules -- surely the choice of which modules to use to build d.org is outside of that?

drumm’s picture

Issue summary: View changes

Either queue is okay for me.

Any followups have a good chance of being in the flag_tracker module.

joachim’s picture

> It's not the recommended 7.x branch, and it's likely to soon be unsupported!

Support for Flag 7.x-2.x ended some months ago.

joachim’s picture

Title: use of Flag 3.x on d.org? » upgrade d.org to Flag 7.x-3.x
Category: Support request » Task
Priority: Normal » Major

This is now a task; I presume this is major due to there being some blocking issues?

joachim’s picture

Flag 3.x would also allow people to categorize their lists of issues: #1621714: Allow to bookmark/favorite issues without abusing the Assigned field or issue tags.

drumm’s picture

The blocker here is spending the time to QA this. Especially making sure project issue module's integration continues to function well.

japerry’s picture

Assigned: Unassigned » japerry

As part of the spam fighting pushes we're doing, I'm in the process of upgrading to flag 3.x

One project we need to investigate is https://www.drupal.org/project/flag_tracker -- its in our build scripts, and it doesn't work with flag 3.x out of the box. I haven't done further investigation, but will unless someone knows of the top of their head why we specifically need it.

I'm starting with using this hash of 3.x, since it has better 2.x upgrade support. It'd be nice if flag just rolled another release ;)

; Use at least revision c59c49d55419ee2b2b78ecc48b751f7b6a5e2b70 (09-20-2015)
; Due to core flag issue causing issues for upgrading from 2.x to 3.x
projects[flag][version] = "3.x-dev"
projects[flag][download][revision] = "c59c49d55419ee2b2b78ecc48b751f7b6a5e2b70"
joachim’s picture

> It'd be nice if flag just rolled another release ;)

I was holding out to get some outstanding patches reviewed. I think there's just one left. One of them was the performance fix that will allow spam flags on comments without a flagging query for every single comment -- that's been committed I think.

> One project we need to investigate is https://www.drupal.org/project/flag_tracker -- its in our build scripts, and it doesn't work with flag 3.x out of the box

I think I mentioned somewhere else that flag_tracker is an abomination. It uses Flag merely for the JS flag links, and then has to constantly keep the flagging data and the tracker data synced up both ways!

drumm’s picture

Assigned: japerry » drumm
drumm’s picture

Some more-specific information on flag tracker #2218345: Doesn't actually need Flag.

joachim’s picture

Ah yes, I knew I'd written more about it somewhere :)

joachim’s picture

> It'd be nice if flag just rolled another release ;)

Done :) Just released Flag 7.x-3.7.

hestenet’s picture

> Done :) Just released Flag 7.x-3.7.

Awesome - thanks!

drumm’s picture

I ran into #2488122: Error on update from 7.x-2.x to 7.x-3.x (update 7303) on our dev server, which I believe has a similar tmpdir setup to production. That should also speed up the deployment with skipping creating some ephemeral keys. Updates 7003 and later took 5 minutes with this patch, and I didn't think to time the earlier updates. That puts us on course for a 30m scheduled downtime (the minimum for real downtimes), rather than maybe 60m.

  • drumm committed fb22be9 on 2125851-flag-3
    Issue #2125851: Add Flag 3 permissions
    
drumm’s picture

Issue summary: View changes

Adding deployment notes. We're scheduling this downtime for Monday, 5pm US Pacific time.

drumm’s picture

Status: Active » Needs review
drumm’s picture

Issue summary: View changes
drumm’s picture

Issue summary: View changes

Updating the version numbers in the deployment notes. Everything is testing well.

  • drumm committed fb22be9 on 7.x-3.x, dev
    Issue #2125851: Add Flag 3 permissions
    
drumm’s picture

Status: Needs review » Fixed
Issue tags: +needs drupal.org deployment

This is on staging for final review.

drumm’s picture

Issue tags: -needs drupal.org deployment

This has been deployed.

  • japerry committed 0052fe2 on 7.x-3.x, dev authored by drumm
    Issue #2125851: Add Flag 3 permissions
    

Status: Fixed » Closed (fixed)

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