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
That's simple, Watson...
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:
tree
for the branch you need (nottree
in the header - that doesn't work anyway)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
).Thanks!
It's simple but not easy. However, you made it easy for me. Thank you!
-Frederico Garza
Thank you
Thank you
No Snapshot link
I'm not seeing a snapshot link anywhere:
http://cgit.drupalcode.org/sandbox-tkoleary-2236189/tree/
Where has the snapshot download link gone ?
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.
to get the files using git
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