I am the only maintainer of my websites and don't write modules, so moving to git seems like overkill. I currently use drush aliases, rsync, and sql-sync to move from test to production and back. This seems to work well.

However, now I want to use a module that is still in a sandbox. If I want to use this module, I will need to use git, correct?

If so, can I just use git to download this module? Could anyone please let me know the simplest way to implement this?

By the way, the developer says that the module is usable in production, and I just need to use it once, so I am aware of the risks of using a sandbox module and will take precautions.

Thanks for any helpful tips.

Comments

Drave Robber’s picture

You don't need git just to download it. Sandbox modules can be downloaded, the're just hidden a bit further. From the project page, navigate to:

  • Repository viewer
  • then tree for the branch you need (not tree in the header - that doesn't work anyway)
  • then snapshot

- et voila, you have the code in .tar.gz (well, you'd probably want to rename the folder as it will be something like 1534294-7.x-1.x-2a3760d).

frederico’s picture

It's simple but not easy. However, you made it easy for me. Thank you!

-Frederico Garza

leemako’s picture

Thank you

deanflory’s picture

I'm not seeing a snapshot link anywhere:
http://cgit.drupalcode.org/sandbox-tkoleary-2236189/tree/

webel’s picture

As far as I recall there used to be a simple tarball download link for sandbox projects and it seems to be gone. There no longer seems to be a snapshot download link.

The same goes for sandbox tags. For example, I created a tag 7.x-1.x-20150603-alpha for my Flag Plus project, but the link under Download in the repository viewer just leads to the commit record, not a clear download.

Where have the download links in the repository browser gone (and why) ?

Webel IT Australia, "Elements of the Web", Scientific IT Consultancy,
For PHP-driven Drupal CMS web sites, Enterprise Java, graphical UML, UML Parsing Analysis, SysML, XML.

tregeagle’s picture

Although if you are still interested in learning how to get the files using git it is surprisingly easy.
Make sure you have git installed, navigate to where you want to install the sandbox module open a terminal and type 'git clone [URL]'
That's it.

More betterer instructions are on the sandbox the url is something like: http://drupal.org/project/[ID NUMBER]/git-instructions