On Thu, Feb 28, 2013 at 1:15 PM, Jared K. Smith <span dir="ltr"><<a href="mailto:jsmith@fedoraproject.org" target="_blank">jsmith@fedoraproject.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Feb 27, 2013 at 9:50 PM, Shawn Iwinski <<a href="mailto:shawn.iwinski@gmail.com">shawn.iwinski@gmail.com</a>> wrote:<br>
> I have started packaging the development version of Drupal 8. There is<br>
> still plenty of work to do (please help!) and I would also like to get the<br>
> maintainers of drupal6 and drupal7 packages involved.<br>
<br>
</div>I'm willing to help out a bit, as I maintain a half-dozen or so<br>
drupal7 packages in Fedora.<br></blockquote><div><br></div><div>Awesome!</div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> Besides "simply" packaging Drupal itself, I am trying to implement some<br>
> additional features:<br>
> * provide RPM macros -- this will help simplify spec files<br>
> * virtual packages (i.e. "drupal8(<drupal_machine_name>)") -- this will<br>
> especially help with the requiring of sub-modules<br>
> * virtual package auto-provides (parsed from *.info filenames) -- this<br>
> allows a package to provide the main module itself as well as any<br>
> sub-module(s) that are included<br>
> * virtual package auto-requires (parsed from *.info files' "dependencies[]"<br>
> entries) -- this will help simplify spec files<br>
> * formalized packaging guidelines<br>
<br>
</div>I was thinking about this just yesterday, as it was taking me a while<br>
to track down a bunch of sub-modules and which packages were providing<br>
them. I think virtual provides for sub-modules is something we could<br>
really use -- and the rest would be fantastic, if we can make it work<br>
automagically.<br></blockquote><div><br></div><div>Automagically is what I am going for. For example, here are core's auto-provides: <a href="http://pastebin.com/X86AsgVM">http://pastebin.com/X86AsgVM</a></div><div>
</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> Drupal 8 itself is still in major development and this package will not be<br>
> ready for Fedora for a good while. I am doing all of my work out of GitHub.<br>
> If you would like to help out or review anything, please see the links<br>
> below:<br>
><br>
> Specs and issues: <a href="https://github.com/siwinski/drupal8-rpms" target="_blank">https://github.com/siwinski/drupal8-rpms</a><br>
> Dev repos: <a href="http://repos.fedorapeople.org/repos/siwinski/drupal8/" target="_blank">http://repos.fedorapeople.org/repos/siwinski/drupal8/</a><br>
> Draft packaging guidelines:<br>
> <a href="https://fedoraproject.org/wiki/User:Siwinski/Draft:Packaging:Drupal8" target="_blank">https://fedoraproject.org/wiki/User:Siwinski/Draft:Packaging:Drupal8</a><br>
<br>
</div>I added a couple of lines to the packaging guidelines around Drupal<br>
libraries. We may also want to revisit the latest proposed JavaScript<br>
packaging guidelines and make sure that all the new Drupal 8 packages<br>
follow them.<br></blockquote><div><br></div><div>Thanks! Libraries were one of those things I knew we needed to look into.</div><div><br></div><div>Yes, we definitely need to look into the latest JavaScript packaging guidelines. Speaking of that, I only see mention of using Apache HTTPD specifically (if I'm looking at the correct draft). I wonder if there will be a notion of "any" web server for packages and not tied specifically to Apache -- for example, a package like dojo would provide the source itself while sub-packages like dojo-httpd and dojo-nginx would provide specific web server requires and configs. I know Remi has done this for at least one package [1][2]. I was thinking we may want to do the same type thing for Drupal 8 for httpd and nginx.</div>
<div><br></div><div>[1] <a href="http://lists.fedoraproject.org/pipermail/packaging/2013-January/008863.html">http://lists.fedoraproject.org/pipermail/packaging/2013-January/008863.html</a></div><div>[2] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=895592">https://bugzilla.redhat.com/show_bug.cgi?id=895592</a></div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--<br>
Jared Smith<br>
<div class="HOEnZb"><div class="h5">--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a></div></div></blockquote></div><br>