I wanted the release nodes belong to a specified user instead uid 1.

E.g.:

drush  fserver-package -l fserver.example.com -u bot.marvin 

I used the drush´s options -u / --user, where the the supplied user or uid tries to login in to a bootstrapped Drupal site via drush_drupal_login.

See attached patch, which works for me.

Comments

fl3a’s picture

StatusFileSize
new723 bytes

...the patch.

fl3a’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new723 bytes

Recognized, the above patch was the wrong one and patching failed.

fl3a’s picture

Title: drush fserver-package: Use uid of supplied option as release node uid » drush integration: --user option for release node und file uid
StatusFileSize
new2.49 KB

Changed title to something more meaningfull.

The new patch also works affects now also the drush fserver-distro command
and changes file uid too.

fl3a’s picture

Title: drush integration: --user option for release node und file uid » drush integration: --user option for release node uid and file uid

Correction of title typo...