https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112018-11-15T10:12:36ZRuby Issue Tracking SystemRuby master - Feature #15306: Generate prelude.c using minirubyhttps://redmine.ruby-lang.org/issues/15306?journal_id=748712018-11-15T10:12:36Znormalperson (Eric Wong)normalperson@yhbt.net
<ul></ul><p><a href="mailto:v.ondruch@tiscali.cz" class="email">v.ondruch@tiscali.cz</a> wrote:</p>
<blockquote>
<p><a href="https://bugs.ruby-lang.org/issues/15306" class="external">https://bugs.ruby-lang.org/issues/15306</a></p>
</blockquote>
<blockquote>
<p>I don't see any reason why prelude.c should be included in<br>
source tarball</p>
</blockquote>
<p>I agree with this part, BASERUBY is already a build requirement<br>
of Ruby and making a smaller source tarball is beneficial to users<br>
and hosters.</p>
<blockquote>
<p>and why it should not be generated by miniruby.</p>
</blockquote>
<p>I disagree with this. I would like to implement more of Ruby<br>
using Ruby, so miniruby may depend on prelude one day.</p> Ruby master - Feature #15306: Generate prelude.c using minirubyhttps://redmine.ruby-lang.org/issues/15306?journal_id=748842018-11-16T00:22:50Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul></ul><p>On Thu, Nov 15, 2018 at 7:10 PM Eric Wong <a href="mailto:normalperson@yhbt.net" class="email">normalperson@yhbt.net</a> wrote:</p>
<blockquote>
<blockquote>
<p>I don't see any reason why prelude.c should be included in<br>
source tarball</p>
</blockquote>
<p>I agree with this part, BASERUBY is already a build requirement<br>
of Ruby and making a smaller source tarball is beneficial to users<br>
and hosters.</p>
</blockquote>
<p>Well <em>I</em> can live when ruby depends itself, but then, bootstrapping<br>
can be an issue for people. And I wonder if Vit is requesting that.</p> Ruby master - Feature #15306: Generate prelude.c using minirubyhttps://redmine.ruby-lang.org/issues/15306?journal_id=748922018-11-16T09:07:29Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>In this specific case, I am concerned about the possibility of patching Ruby, specifically <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: [PATCH] Allow to configure additional preludes (Open)" href="https://redmine.ruby-lang.org/issues/8566">#8566</a>.</p>
<p>It is, unfortunately, a bit more complex with the bootstrapping. Ideally, the content of tarball should be the same as the content of the upstream repository, because, in Fedora, there are guidelines such as <a href="https://fedoraproject.org/wiki/Packaging:What_Can_Be_Packaged#Pregenerated_code" class="external">1</a>. OTOH, using Ruby to bootstrap Ruby is problematic, because of the necessity of bootstrapping new distributions (RHEL8 Beta was released yesterday <a href="https://developers.redhat.com/blog/2018/11/15/red-hat-enterprise-linux-8-beta-is-here/" class="external">2</a>, yay!) and new platforms.</p>
<p>Generally, I would be glad if as much code as possible is generated during the build and the amount of pre-generated code shipped in the released tarball is minimal, while I'd like to avoid dependency on Ruby. Miniruby is helping with both cases, so I appreciate the existence of Miniruby.</p> Ruby master - Feature #15306: Generate prelude.c using minirubyhttps://redmine.ruby-lang.org/issues/15306?journal_id=812162019-08-28T01:24:34Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Feature</i></li><li><strong>ruby -v</strong> deleted (<del><i>ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-linux]</i></del>)</li><li><strong>Backport</strong> deleted (<del><i>2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN</i></del>)</li></ul> Ruby master - Feature #15306: Generate prelude.c using minirubyhttps://redmine.ruby-lang.org/issues/15306?journal_id=832432019-12-19T12:13:05Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>prelude.c is not anymore <a href="https://github.com/ruby/ruby/commit/9c2807b2df14984e3c81d72a381d9a4d288b3fbe" class="external">1</a>, so I'm closing this specific ticket.</p>
<p>However, I'll be happy if the discussion is remembered for future.</p> Ruby master - Feature #15306: Generate prelude.c using minirubyhttps://redmine.ruby-lang.org/issues/15306?journal_id=832442019-12-19T12:13:19Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>