Grayside.Org - features-servers http://grayside.org/category/terms/features-servers en Drush with Bash Aliases http://grayside.org/2010/06/drush-bash-aliases <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>I&#8217;ve been looking for some decent ways of managing the use of modules hosted in random Features Servers. Particularly, how do I use Drush as seamlessly with a Features Server as it works with Drupal.Org?</p> <p>It turns out that Drush has a lot of special options buried in the <em>pm-download (dl)</em> command, the very Drush maneuver most helpful for my goal. Naturally, these options can be included in a Bash Alias for Drush.</p> <div class="geshifilter"> <div class="text geshifilter-text" style="font-family:monospace;"> <pre style="font-family: monospace; font-weight: normal; font-style: normal">alias dds='drush --source=http://code.developmentseed.org/fserver dl'</pre></div> </div> <p>This alias specifically searches DevSeed&#8217;s features server for projects. Slide it into your <a href="http://www.linux.org/lessons/beginner/l6/lesson6a.html"><em>.bashrc</em> file</a>. Now a quick <em>$&gt; dds fserver</em> works like a charm.</p> <p>I still think <a href="http://grayside.org/2010/05/drush-and-features-servers">project repositories</a> like Ubuntu&#8217;s package repos (or really, Arch repositories like Core, Extra, and Aur) have a lesson for us. But that can wait on the smoothing out of functionality like <em>&#8211;destination</em>, which allows you to say where a project will be saved, but not with the same grace as Drupal.Org projects and the <em>modules/contrib/</em>&nbsp;directory.</p> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Terms:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/category/terms/drush">drush</a></div><div class="field-item odd"><a href="/category/terms/features-servers">features-servers</a></div></div></div> Thu, 10 Jun 2010 06:18:40 +0000 Grayside 80 at http://grayside.org http://grayside.org/2010/06/drush-bash-aliases#comments Integrating the Features Server into OpenAtrium http://grayside.org/2010/06/integrating-features-server-openatrium <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>Working on integrating the <a href="http://code.developmentseed.org/featureserver/node/163">Features Server</a> feature into <a href="http://openatrium.com">OpenAtrium</a>. My intention is to set it up as another Casetracker Project type.</p> <p>OpenAtrium provides a solid case tracker and documentation system, and is a natural fit for the infrastructure of a Drupal.Org-style project ecosphere. Integrating them will allow me to post Features I&#8217;ve created to a place where I might actually have a means to get feedback on my work, let alone provide support.</p> <h2>Project Status of <span class="caps">OA</span> Features Server feature</h2> <ul> <li>Features Project as a Casetracker Project <strong>✓</strong></li> <li>Features Project automatically a Notebook <strong>✓</strong> </li> <li>Converting Projects View to a Site/Group feature. [in progress]</li> <li>Trivial Modification of Features Server code to play nice with OpenAtrium and Atrium Casetracker .<strong>✓</strong> [will ship with patch]</li> </ul> <h2>Conundrums</h2> <ul> <li>Features Server feature uses Context 2.0, <span class="caps">OA</span> uses Context 3.0</li> <li>hook_views_default_views_alter() has limited to no best practices or examples I&#8217;ve been able to find, given it&#8217;s currently documented intention as a site-specific hook. Somehow I don&#8217;t think it&#8217;s role will remain in site-customization in the world of&nbsp;Features.</li> </ul> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Terms:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/taxonomy/term/1">drupal</a></div><div class="field-item odd"><a href="/category/terms/openatrium">openatrium</a></div><div class="field-item even"><a href="/category/terms/features-servers">features-servers</a></div></div></div> Thu, 03 Jun 2010 16:32:53 +0000 Grayside 77 at http://grayside.org http://grayside.org/2010/06/integrating-features-server-openatrium#comments Feature Server Aggregator http://grayside.org/2010/05/feature-server-aggregator <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>This was supposed to be my next blog post, when I finished mulling it over. Then I saw @open_atrium twitter the exact words.</p> <p>I&#8217;ve been wondering what good a Feature Server is if every individual server had to handle it&#8217;s own marketing if anyone was going to learn about it. Google is a bit hard to use with keywords like &#8220;Drupal&nbsp;Feature&#8221;.</p> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Terms:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/category/terms/features-servers">features-servers</a></div></div></div> Fri, 07 May 2010 06:44:56 +0000 Grayside 72 at http://grayside.org http://grayside.org/2010/05/feature-server-aggregator#comments Feature Server: Not That Hard http://grayside.org/2010/05/feature-server-not-hard <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>It turns out that running your own Feature Server isn&#8217;t that complicated. Get a Drupal site. Install the <a href="http://code.developmentseed.org/featureserver/node/163">fserver</a> feature. It&#8217;s most exotic requirements are Filefield and Context, and context is just their to facilitate easy block placement of release information.</p> <p>All the feature really does is provide a fancy <span class="caps">XML</span> Views style plugin, a couple content types with their <span class="caps">CCK</span> fields to specify things like version information, and some special file-handling magic to push files and tarballs around.</p> <p>It slid into this blog site very easily, and now I have a very clean way of upload and sharing Drupal code and functionality snippets. But should I leave the fserver as part of my blog? The last thing I need is to release a couple popular features into the wild and have to worry about the Update Status module pinging my words to&nbsp;death.</p> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Terms:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/category/terms/features">features</a></div><div class="field-item odd"><a href="/category/terms/features-servers">features-servers</a></div></div></div> Fri, 07 May 2010 06:27:40 +0000 Grayside 71 at http://grayside.org http://grayside.org/2010/05/feature-server-not-hard#comments Drush and Features Servers http://grayside.org/2010/05/drush-and-features-servers <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>Feature Servers have great potential to help structure the use of code sourced outside the formal ecosphere around Drupal.Org this has it&#8217;s pro&#8217;s and con&#8217;s, but I already see their usefulness in providing a little more structure to issue-queue code exchanges and organization-internal modules. So let&#8217;s bring Drush into this and boost the ease of use of that usefulness another step up.</p> <p><em>For those who need more catching up:</em><br /> Features are a special kind of <a href="http://drupal.org">Drupal</a> module built on the <a href="http://drupal.org/project/features">features</a> project. They allow you to easily export configuration from your site into a module usable on any site. Modules downloaded from a <a href="http://developmentseed.org/blog/2009/jun/24/distributed-feature-servers-drupal">Features Server</a> are the next best thing to one posted to Drupal.org. <a href="http://sf2010.drupal.org/conference/sessions/managing-and-deploying-configuration-exportables-and-features-module">DrupalConSF has a great video</a>.</p> <h3>Current State</h3> <p>The rise of Feature Servers, and perhaps other types of code release repositories would benefit from a little Drush magic. The little-documented option of <strong>&#8211;source</strong> is a starting place:</p> <div class="geshifilter"> <div class="text geshifilter-text" style="font-family:monospace;"> <pre style="font-family: monospace; font-weight: normal; font-style: normal">drush --source=http://code.developmentseed.org/fserver/ dl fserver </pre></div> </div> <p>This code will grab the latest, most recommended release of the Feature Server code from DevSeed&#8217;s feature server.</p> <h3>Future Directions</h3> <p>I&#8217;ve started an issue in the <a href="http://drupal.org/node/786916">Drush queue</a> to talk about some kind of repository scheme to help manage the download and file placement of code from individually preferred&nbsp;repositories.</p> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Terms:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/taxonomy/term/1">drupal</a></div><div class="field-item odd"><a href="/category/terms/drush">drush</a></div><div class="field-item even"><a href="/category/terms/features">features</a></div><div class="field-item odd"><a href="/category/terms/features-servers">features-servers</a></div></div></div> Sat, 01 May 2010 07:14:15 +0000 Grayside 65 at http://grayside.org http://grayside.org/2010/05/drush-and-features-servers#comments