Media Technology News

Drupal.org's Composer endpoints are out of beta

Drupal - Wed, 12/21/2016 - 09:03

Drupal.org's Composer endpoints have been available in beta for some time now, and in that time we've begun to see many, many people use Composer to manage Drupal modules and themes. We first launched these repositories before DrupalCon New Orleans as an alpha release, and move into beta a few months later. After receiving your feedback and bug reports we've made updates, and are ready to call this service stable.

What is Composer?

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

… Composer is strongly inspired by node's npm and ruby's bundler." - Source

In a nutshell, Composer allows you to declare the dependencies of your project in a composer.json file in the root of your PHP project. Those dependencies, which you then install through Composer, can have their own composer.json files and their own dependencies—all of which will be automatically managed and installed by Composer. When you need specific control over the versions of dependencies, you can use a composer.lock file.

You can read more about Composer at GetComposer.org.

How do Drupal.org's composer repositories work?

Drupal.org offers two Composer repositories—one for Drupal 7, and one for Drupal 8. Composer requires that packages adhere to semantic versioning, which Drupal 8 core does, but Drupal 8 contrib, and Drupal 7 core and contrib, don’t. To solve this problem, we've created a Composer façade, which takes all of the metadata about projects on Drupal.org and translates them into a format Composer can understand—including translating the Drupal-specific versioning for Drupal 7 and contrib into semantic versioning.

By creating this façade, we've made sure that Drupal.org is still the canonical source for metadata about Drupal.org projects, and that we can update this translation layer as the versioning schema changes. (Learn more about the effort to move Contrib projects to semantic versioning).

In addition to providing endpoints for building projects, Drupal's automated testing suite— DrupalCI—now uses Composer to test Drupal core and contributed projects. This allows developers to test any external dependencies.

How do I use Drupal.org's Composer repositories?

To begin using Drupal.org's Composer repositories, you'll need to update your composer.json file to include the appropriate Composer repository for the version of Drupal. To use Composer with Drupal 7, use the repository url:

https://packages.drupal.org/7

. To use Composer with Drupal 8, use the repository url:

https://packages.drupal.org/8

, as in this example.

After setting up composer, simply run the command:

$ composer config repositories.drupal composer https://packages.drupal.org/8

And your project's composer.json should be updated to look like the following:

{ "repositories": { "drupal": { "type": "composer", "url": "https://packages.drupal.org/8" } } }

Once you've made that change, you should be able to use Composer for Drupal modules and themes as you would for any other PHP package, using the drupal/ namespace:

$ composer require drupal/<modulename>

There is one caveat about the pattern: there are some namespace collisions among modules, and so it is on our roadmap to update Drupal.org project pages to specify the exact namespace to use to require a given project.

To learn more about how to use Drupal.org's Composer repositories, and for some troubleshooting tips, read the Project Composer documentation.

What about licensing?

All the projects hosted on Drupal.org are licensed GPLv2 or later or have an entry in the packaging whitelist. This means that you can rely on Drupal Core and contributed modules and themes to be licensed under the GPL or compatible. And if you need to redistribute your code created with Drupal projects, it must be redistributed as GPLv2 or later.

However, because Composer is a tool that can manage packages in the wider PHP ecosystem, you might find that you want to require a non-GPL package in your project. Using GPL-licensed Drupal projects with external packages that are GPL compatible is fine. Just be aware that if you redistribute that code, you will have to redistribute under a GPL license.

We cannot provide legal advice for your use of open source software. If you use Composer to install packages that are not compatible with the GPL alongside GPL-licensed projects like Drupal, you may use that software together, but per the terms of the GPL you may not copy, distribute, or modify that software.

"Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted…" GPL 2.0 Section 0.

For more questions about Drupal and the GPL you can read the Licensing FAQ.

What's next?

At this point, the Drupal.org Composer service is stable and you can use it to manage modules and themes in your production websites. That said, we do have a roadmap of additional features that we'd like to add. And your contributions are welcome!

As development on Drupal.org's Composer service continues, we want to focus on the following features:
Supporting Composer-based workflows for distributions and install profiles
Providing sub-tree splits of Drupal Core
Updating project pages to provide information about using Composer with any given Drupal.org hosted project
Adding features to the updates service, to collect statistics about projects installed with Composer, and to explore providing update alerts about external dependencies
We also hope to work with core maintainers to add the Drupal.org Composer repositories to Drupal Core's composer.json file

If you're interested in learning more about our roadmap for Composer, or contributing to this service on Drupal.org, you can learn more in the Composer plan issue.

How you can help

If you’re interested in helping to improve Drupal.org's support for Composer workflows, please take a look at the issue above, find us on irc in #drupal-infrastructure, or send us a volunteer proposal.

Thanks to our Community Initiative contributors

We'd like to thank the individuals who worked with us as part of this Community Initiative.
In particular, we'd like to thank:

We'd also like to thank Appnovation, who sponsored the initial development of Drupal.org's composer endpoints.

To these volunteers and sponsoring organizations—it is your expertise, your insight, and your affirmation of our work that make these Community Initiatives successful. Thank you!

A First Step Towards a Blender Add-on Repository

Blender 3D News - Wed, 12/21/2016 - 08:37

It's hard to keep your Blender add-ons up to date as there's no mechanism inside Blender to signal you when an update is available. By providing a Python library that can check for release tags on Github, Jonathan Williamson and Patrick W. Crawford take the first step to a solution. Jonathan writes: [...] the user [...]

The post A First Step Towards a Blender Add-on Repository appeared first on BlenderNation.

Categories: 2D & 3D Animation

The art of Harrison Magby

Blender 3D News - Wed, 12/21/2016 - 04:06

Gorgeous work by Harrison Magby from the USA. I especially like his more abstract pieces!

The post The art of Harrison Magby appeared first on BlenderNation.

Categories: 2D & 3D Animation

How To Install Filmic Blender

Blender 3D News - Wed, 12/21/2016 - 00:38

The 'Filmic Blender' OpenColorIO configuration has attracted a lot of attention recently - see these two previous articles: 'Filmic Blender' - The magic render button Combine the new 'Filmic Blender' with the old film look The installation differs from regular add-ons - check out this quick video by Bert Van den Bosch to learn how [...]

The post How To Install Filmic Blender appeared first on BlenderNation.

Categories: 2D & 3D Animation

New Course on Shading and Lighting a Car in Cycles [$]

Blender 3D News - Tue, 12/20/2016 - 12:52

Brandon Hix presents his latest Blender training video, which focuses on lighting and shading car models. Hello everyone, I'd like to share some exciting news about my new course on how to shade and light a car realistically in Cycles. BlendMasters Vol. 2 - Shading and Lighting a Car in Cycles is a 3.5+ hour [...]

The post New Course on Shading and Lighting a Car in Cycles [$] appeared first on BlenderNation.

Categories: 2D & 3D Animation

Art Spotlight: Life Size Boat x2

Blender 3D News - Tue, 12/20/2016 - 09:25

Constantine Tvalashvili has posted some fantastic NPR artwork on Sketchfab and talks about his inspiration and creation process. Hello! My name is Constantine Tvalashvili, I’m a freelance CG & Technical artist from Tbilisi, Georgia.  I started playing around with 3ds Max  back in 2003. I got into it pretty fast and  few  years later CGI became my [...]

The post Art Spotlight: Life Size Boat x2 appeared first on BlenderNation.

Categories: 2D & 3D Animation

Video: Happy Holidays from OrangeLV

Blender 3D News - Tue, 12/20/2016 - 07:20

Ha! This is a very nice and well made holiday card from OrangeLV, a Seattle-based studio. Oskars Pavlovskis writes: Team at OrangeLV had been working on this short Holiday animation in Blender. If you have a VR headset, you can also enjoy the full 360 stereo VR video! Hope you enjoy the show and Happy [...]

The post Video: Happy Holidays from OrangeLV appeared first on BlenderNation.

Categories: 2D & 3D Animation

Simple Glossy Shader in 60 Seconds

Blender 3D News - Tue, 12/20/2016 - 05:15

Moby Motion writes: By popular demand, I've made a video tutorial version of a text tutorial I had on my blog. In just 60 seconds, I show you a simple way to improve your plastic materials. We'll use a fresnel node to change the glossiness of our material, based on the angle, giving a nice [...]

The post Simple Glossy Shader in 60 Seconds appeared first on BlenderNation.

Categories: 2D & 3D Animation

The Art of Mikha'el Ben-Yah

Blender 3D News - Tue, 12/20/2016 - 03:10

Check out the work of Mikha'el Ben-Yah from Bluffton, United States of America.

The post The Art of Mikha'el Ben-Yah appeared first on BlenderNation.

Categories: 2D & 3D Animation

Reel: Interior Renderings with Blender Cycles

Blender 3D News - Tue, 12/20/2016 - 01:05

Lars Fischer from from the German studio Planungsdetail presents a reel with beautiful interior scenes. Here are a few Interior Renderings from the year 2016. Of course everything with Blender (Cycles). Merry Christmas and Happy Blending 2017! Lars

The post Reel: Interior Renderings with Blender Cycles appeared first on BlenderNation.

Categories: 2D & 3D Animation

SceneCity 1.1 adds more realism, roads and more [$]

Blender 3D News - Mon, 12/19/2016 - 22:54

Arnaud Couturier writes: SceneCity 1.1 has been released just in time for Christmas. The new features in this version are more realistic buildings, roads, with new and improved props. Plus material randomization. Behind the scene, there's also ongoing code cleaning and improvements. You can read the full changelog here. For this occasion, you can get [...]

The post SceneCity 1.1 adds more realism, roads and more [$] appeared first on BlenderNation.

Categories: 2D & 3D Animation

Dreamwalker - Cinematic Teaser

Blender 3D News - Mon, 12/19/2016 - 15:30

David Fenner presents the trailer of his game 'Dreamwalker', which makes heavy use of 3D scanning to create very realistic, yet slightly distorted scenes. (I interviewed David about the project in July - read the interview here). Hi Blender people! I'm sharing you a new teaser for the Dreamwalker game. It features both realtime and [...]

The post Dreamwalker - Cinematic Teaser appeared first on BlenderNation.

Categories: 2D & 3D Animation

Blender Institute Podcast Ep. #044 - Kjartan

Blender 3D News - Mon, 12/19/2016 - 13:22

Welcome to the last Blender Institute Podcast of 2016! In this episode we catch up with Blender development, the 2.8 viewport project and the 2.8 usability workshop. Then we welcome back our very own Kjartan Tysdal, who joined the team as CG artist (previously worked on Tears of Steel). Finally we give our production update [...]

The post Blender Institute Podcast Ep. #044 - Kjartan appeared first on BlenderNation.

Categories: 2D & 3D Animation

Making a Christmas Scene in Blender and Unreal Engine

Blender 3D News - Mon, 12/19/2016 - 10:56

Michał Franczak writes: Watch video tutorial describing making of Christmas Scene in Blender, Substance Painter and Unreal Engine 4. Contents: setting up the scene in Blender texturing assets in Substance Painter. importing assets to Unreal setting up camera, lights and FX (snow, godrays) in Unreal post-production in Photoshop

The post Making a Christmas Scene in Blender and Unreal Engine appeared first on BlenderNation.

Categories: 2D & 3D Animation

KVR Developer Challenge 2016 - The Winner Is... Youlean Loudness Meter

Audio Freeware - Mon, 12/19/2016 - 10:08
Voting in the KVR Developer Challenge 2016 has closed! The 41 entries will, of course, remain available, for free, for everyone at kvraudio.com/kvr-developer-challenge/2016 Thanks to everyone [Read More]

KVR Developer Challenge 2016 - The Winner Is...

Audio Freeware - Mon, 12/19/2016 - 10:08
Voting in the KVR Developer Challenge 2016 has closed! The 41 entries will, of course, remain available, for free, for everyone at kvraudio.com/kvr-developer-challenge/2016 Thanks to everyone [Read More]

Crusader Kings 2 - DLC Trailer & Breakdown

Blender 3D News - Mon, 12/19/2016 - 08:31

'T is the season for awesome trailers and breakdowns! See how Istudios Visuals created this one for the game 'Crusader Kings 2'. Viktor writes: Hello! We at Istudios Visuals made our twelfth trailer for Paradox Interactive, and as usual we used Blender! :D Please heck out both the trailer AND the breakdown! ;) Trailer Breakdown

The post Crusader Kings 2 - DLC Trailer & Breakdown appeared first on BlenderNation.

Categories: 2D & 3D Animation

Reel: Emanuel Barros

Blender 3D News - Mon, 12/19/2016 - 07:20

Fantastic character animation work by Reel Emanuel Barros! Hello everyone, this is my new reel, showing new things I've done in the last few months. Hope you like. Best, Emanuel

The post Reel: Emanuel Barros appeared first on BlenderNation.

Categories: 2D & 3D Animation

Native Instruments releases free Kontakt instrument Kinetic Treats (available until December 31)

Audio Freeware - Mon, 12/19/2016 - 05:42
Native Instruments has released Kinetic Treats – a new Kontakt instrument that creates evolving sounds and textures from a library of carefully sampled children's toys. The instrument incorporates [Read More]

Tutorial: Creating a Nebula Cloud Flythrough in Cycles

Blender 3D News - Mon, 12/19/2016 - 05:11

Aidy Burrows and Gleb Alexandrov show us how to quickly create a Sci-Fi nebula effect. Aidy writes: Time to fly! We’ll dive through stellar nurseries in this latest bonus and free tutorial from the Space VFX Elements Series! :) Aidy.

The post Tutorial: Creating a Nebula Cloud Flythrough in Cycles appeared first on BlenderNation.

Categories: 2D & 3D Animation

Pages