New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21712 (closed submission: fixed)

Opened 4 years ago

Last modified 3 years ago

New port for drush - the DRUpal SHell

Reported by: chuck@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jann@…, ryandesign@…
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

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

Change History

Changed 4 years ago by chuck@…

comment:1 Changed 4 years ago by macsforever2000@…

  • Version 1.8.1 deleted
  • Type changed from enhancement to submission

comment:2 Changed 4 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 4 years ago by bjd@…

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

comment:4 in reply to: ↑ description Changed 3 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 3 years ago by jann@…

  • Cc jann@… added

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

comment:6 follow-up: ↓ 7 Changed 3 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 3 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 3 years ago by chuck@…

comment:8 Changed 3 years ago by jann@…

  • Status changed from new to closed
  • Resolution set to fixed

Committed in r61786. Thanks.

comment:9 follow-up: ↓ 10 Changed 3 years ago by ryandesign@…

  • 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 3 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 3 years ago by ryandesign@…

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.