This packages our zip and tgz releases. It works with Git-related-modules to check out code from repositories. We should modernize this to be a drush command.

Comments

drumm’s picture

This issue also covers any updates to the project_release_node_rebuild_metadata table. Information from that is shown on release node view, but this script is in charge of populating and using values. It may be replaced with a field.

dww’s picture

Priority: Major » Critical

Making this a drush command has been on the roadmap since #980390: Port package-release-nodes.php to a drush command -- I'm definitely +1 for that.

The {project_release_node_rebuild_metadata } table was added at #1401990: Record a 'rebuild_version' for release nodes that are rebuilt -- it's the thing that remembers the specific version a given -dev release was re-packaged as (e.g. something like "7.x-2.0-rc3+17-dev").

This is definitely a launch-blocker, bumping to critical.

drumm’s picture

Assigned: Unassigned » drumm

#381956: Mark project releases as "to be updated" only if pushes happen there is also related. Currently, I'm focusing on making a drush command work for manually packaging a single project. When that is good, we'll want to use D7 core's queue for automated packaging.

drumm’s picture

Assigned: drumm » Unassigned

I pushed a few commits for this. Notable changes are

  • This is now drush.
  • Project's custom logging has been replaced with either drush functions or watchdog. During packaging, an implementation of hook_watchdog records packaging error messages to the project_release_package_errors table.
  • Project's custom temporary directory handling and shell execution have been replaced with drush functions.

The main work left is

  • Record files generated in the new release node's field structure. project_release_packager_update_node() has the commented-out code.
  • Add a drush command for package queue running.
drumm’s picture

Senpai’s picture

Assigned: Unassigned » drumm

Assigning to @drumm for completion of this one and the follow-up #1824414: Update release_packager plugins for D7 issue above.

drumm’s picture

I committed some more code for this and basic packaging a release is working. Leaving open for re-packaging.

drumm’s picture

Issue tags: +8hr

another tag

drumm’s picture

Status: Active » Fixed

The prerequisites for this issue, and packaging queuing is now done. #1878418: Queue release packaging at git code arrival is a followup.

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