On 01/28/2012 01:57 PM, [email protected] wrote:
The problem with Drupal seems to have been picked up before: http://microblog.ourcoffs.org.au/notice/101133.
Hi!

Thanks for the detailed explanation! I am aware of the Drupal problem, I myself am a Drupal developer for work. The @licstart @licend stylized comment isn't a rule set by LibreJS but by the JavaScript Trap, and as I mentioned earlier, the FSF is also working on other solutions that would be more appropriate for Drupal js aggregation. One method that is being developed is to have a special page listing js files and their licenses. LibreJS will check the list of files and licenses and accept/block them accordingly. However in the case of Drupal js, the solution is mostly on Drupal's end. What I'm thinking about is to make a module that would pick that randomly string name from Drupal (like js_bbe6e4697cfa320ffe37240eb8ad6ad1.js <view-source:http://trisquel.info/files/js/js_bbe6e4697cfa320ffe37240eb8ad6ad1.js>) and generate that list automatically with the appropriate license. Then LibreJS would accept that file based on its name if the site declares it to be free (under GPLv2 for instance, or another free license). Do you think you could make such module? As I explained, I develop Drupal modules for my own projects and this has been on my list but I've been swamped with just LibreJS so far... so it takes priority on Drupal. So anyway, unlike the post you linked to, I don't think LibreJS is flawed, it's only strictly applying the method described in the JavaScript trap so far, and both Drupal and LibreJS can be made to work together! :-D

Loic

Reply via email to