Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21712 closed submission (fixed)

New port for drush - the DRUpal SHell

Reported by: chuck@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: roederja, ryandesign (Ryan Carsten Schmidt)
Port: drush

Description

This is a new port for drush, the DRUpal SHell which can be used with Drupal. I've added in a dependency for Drupal, since drush isn't very useful without it. It isn't a pure dependency, though, so there's a nodrupal variant as well.

Attachments (2)

drush.tar.gz (1.0 KB) - added by chuck@… 15 years ago.
Portfile (1.4 KB) - added by chuck@… 15 years ago.

Download all attachments as: .zip

Change History (13)

Changed 15 years ago by chuck@…

Attachment: drush.tar.gz added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Type: enhancementsubmission
Version: 1.8.1

comment:2 Changed 15 years ago by bjd@…

I've installed this port. It works as described and is very useful!

The dependency on drupal6 makes sense... I guess it's not a huge cost for those of us who don't use MacPorts to install Drupal.

comment:3 Changed 15 years ago by bjd@…

I just saw your mention of the nodrupal variant. Excellent!

comment:4 in reply to:  description Changed 15 years ago by chuck@…

Replying to chuck@…:

This is a new port for drush, the DRUpal SHell which can be used with Drupal. I've added in a dependency for Drupal, since drush isn't very useful without it. It isn't a pure dependency, though, so there's a nodrupal variant as well.

Updated the port for the new version of drush, also swapped around the dependency on Drupal vs. the nondrupal variant. Default is not to depend on Drupal since Drupal core can be downloaded with drush. There are now variants to install Drupal 5 or Drupal 6 as dependencies.

comment:5 Changed 15 years ago by roederja

Cc: jann@… added

Why do you need to call drush in post-activate ?

comment:6 Changed 15 years ago by chuck@…

There was a reason when I was testing out the port - though I'm not 100% sure what it was. I think it had to do with some self-initialization Drush does on its first run. I'll do some revalidation of that.

comment:7 in reply to:  6 Changed 15 years ago by chuck@…

Replying to chuck@…:

There was a reason when I was testing out the port - though I'm not 100% sure what it was. I think it had to do with some self-initialization Drush does on its first run. I'll do some revalidation of that.

It does not appear to be needed with the latest drush. I've updated the port file.

Changed 15 years ago by chuck@…

Attachment: Portfile added

comment:8 Changed 15 years ago by roederja

Resolution: fixed
Status: newclosed

Committed in r61786. Thanks.

comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

I made some small adjustments:

  • r61791: Marked your drupal variants as conflicting
  • r61794: Simplified the destroot
  • r61795: Added license keyword
  • r61796: Fixed livecheck
  • r61797: Simplified distfiles directive to distname

comment:10 in reply to:  9 Changed 15 years ago by chuck@…

Replying to ryandesign@…:

I made some small adjustments:

  • r61791: Marked your drupal variants as conflicting
  • r61794: Simplified the destroot
  • r61795: Added license keyword
  • r61796: Fixed livecheck
  • r61797: Simplified distfiles directive to distname

Thanks. Much cleaner. I had mimicked another port on the destroot information. This works out a lot more simply.

comment:11 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Yes, I have noticed that destroot idiom in other www ports as well. They should all be cleaned up.

Note: See TracTickets for help on using tickets.