... using drush_MODULE_post_COMMAND().
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | 1236238_17_arc2_auto_download.patch | 666 bytes | penguino |
| #17 | 1236238_16_arc2_auto_download.patch | 822 bytes | penguino |
| #14 | 1236238_13_arc2_auto_download.patch | 572 bytes | penguino |
| #6 | 1236238_6_arc2_auto_download.patch | 4.68 KB | scor |
| #5 | 1236238_5_arc2_auto_download.patch | 2.58 KB | scor |
Comments
Comment #1
scor commentedthis patch also refactor the download function to avoid re-downloading every time the library if it already exists.
Comment #2
Anonymous (not verified) commentedGood idea.
Why does this use the libraries path 'ARC2' when we use
define('RDF_ARC2_PATH', libraries_get_path('arc'));?Comment #3
scor commentedI was looking at rdfx.module when writing this patch, and purposely used 'ARC2' because that's the name of the library. I think we should switch the name in rdfx.module too, even though this will break existing implementation of people using the libraries module (not sure how many, but I don't think there are tons).
Comment #4
Anonymous (not verified) commentedThis patch should include the fix to use it in rdfx, then, shouldn't it? Because if drush downloaded it to ARC2, the module still wouldn't recognize it as being downloaded. Or am I missing something.
Comment #5
scor commentedabsolutely!
I'm thinking we'll need an update function to notify those who used the libraries module. I'll include it shortly.
Comment #6
scor commentedadded update function
Comment #7
Anonymous (not verified) commentedWell isn't that neat! Nice work.
Tested this on an installation that depends on RDFx for SPARQL Views. Worked like a charm, moving directory etc.
Committed with http://drupalcode.org/project/rdfx.git/commit/a7af80d
Comment #9
dman commentedFYI,
wget: unrecognized option `--no-check-certificate'Failed on my OSX.GNU Wget 1.9.1
Not important enough to re-open - unless someone knows a quick work-around
Comment #10
scor commentedthe --no-check-certificate was there to avoid a warning during the download, but I believe github has fixed this now (at least I cannot reproduce this warning), so we could remove the --no-check-certificate option...
Comment #11
scor commentedtagging for novice
Comment #12
scor commentedtagging
Comment #13
penguino commentedpatch pending.
Comment #14
penguino commentedremoved the --no-check-certificate option...
Comment #15
scor commentedoops, that actually remove the entire line. you just need to remove the --no-check-certificate in the command, but keep the rest of the command
Comment #16
penguino commentedworking...
Comment #17
penguino commentedremoved just the "--no-check-certificate" parameter...
Comment #18
scor commentedindentation has broken and the first line as whitespace in the end.
Comment #19
penguino commentedremoved just the "--no-check-certificate" parameter...(without over-editing)
Comment #20
mlncn commentedVery nice, and a perfect byte size...
Comment #21
scor commentedthanks for your patience John. Fixed with http://drupalcode.org/project/rdfx.git/commit/68a8376 and your name in the list of RDF Extensions committers!
Comment #23
tasawar commentedI am unable to locate ARC2 Library on right location. i have tried two ways 1. using DRUSH commend 2. using libraries Module in Drupal 7x. any one teach me how to install ARC2 Library in drupal 7x. i am working on rdfx module and its related modules.
Comment #24
scor commented@tasawar could you open a separate support request ticket to resolve your issue please with more details on what you tried, and perhaps with the error messages you got? http://drupal.org/node/add/project-issue/rdfx