When you package an install profile on d.o, it's supposed to include a table of the projects included inside the distro.
I seem to have broken this via #1024942: Add ctools plugin system for site-specific logic for packaging release nodes.
However, now that these two are finally resolved:
#951978: "Unable to determine project type for drupal" when creating release
#751242: Install profiles cannot create releases with a non drupal-org makefile
I'm finally seeing this bug. For example, compare these two:
http://drupal.org/node/1016124
http://drupal.org/node/1048898
Basically, the info about what's included isn't getting propagated and recorded properly. Probably a trivial bug somewhere, since I never had a chance to fully test all this code in the heat of the Git migration.
Comments
Comment #1
dwwYup, trivial bug:
http://drupal.org/commitlog/commit/122/f214f3762197762b5508c126054656923...
Tested, committed, pushed, merged into bzr, deployed, and verified working:
http://drupal.org/node/1177666 (although you can't see that until Gabor publishes it since he marked it as a security update).
Not sure it's possible to automatically repair the existing distros that are missing this data. :( We could run some queries to figure out how many are affected and contemplate manually repairing. Not sure that'll be worth it. Although if it's only a tiny handful, maybe it is...
Comment #2
dwwUgh, hard to compose a query to find all the releases that are affected by this bug, since there's no obvious way via SQL to tell the difference between the case we care about and the hundreds of releases of install profiles that aren't trying to do a packaged distro at all. :( I think I'll just punt. Over time the current releases will be repaired...
Comment #3
damien tournoud commentedNow what?
Comment #4
dwwHeh, I guess that works. ;) I almost started exploring something like that but I had already written this off as not worth the effort. But thanks. Nice to know it's only 12 distribution releases affected.
re now what: if we want to repair these we could either:
A) manually inspect each one, look at the drupal-org.make file, find versions of core and all included contribs, look up release nids for each one so you get a set of included nids for each distro nid, and insert those into {project_package_local_release_item}.
B) delete the existing packaged files on disk for all these, clear out {files} and {project_release_file} for them, unpublish the 12 release nodes, and have the packaging script rebuild them all. The md5 hashes will all change (due to timestamps in .info files changing) and of course the file timestamps (and perhaps size, too) -- not sure how much we care about that. but it'd be less work than (A), that's for sure.
Comment #5
damien tournoud commentedEw. Development snapshots of Installation profiles seem to be affected by #721748: Stale package items in -dev snapshot releases for profiles now.
See: http://drupal.org/node/1181482
Comment #6
webchickTagging.
Comment #7
mikey_p commentedMistook this issue for #779996: Add support to record and display external dependencies included in release packages. Untagging...
Comment #8
drummI believe this has been fixed #2365029: Package manifest details seem to be missing (or outdated) from some distribution releases. Please re-open with recent examples if any come up.