Bug #14172
closedCannot create snapshot
Description
$ tool/make-snapshot -packages=xz tmp
Exporting trunk@61166
/builddir/ruby/tool/vcs.rb:317:in `realpath': no implicit conversion of URI::HTTP into String (TypeError)
from /builddir/ruby/tool/vcs.rb:317:in `export'
from tool/make-snapshot:200:in `package'
from tool/make-snapshot:452:in `block in <main>'
from tool/make-snapshot:452:in `collect'
from tool/make-snapshot:452:in `<main>'
Updated by vo.x (Vit Ondruch) over 6 years ago
It seems that "-srcdir=." helps to workaround the issue. But I am wondering if this command is supported, since it is apparently untested? Should I use some different approach to create the snapshot tarball?
Updated by hsbt (Hiroshi SHIBATA) over 6 years ago
- Status changed from Open to Closed
Hi Vit. Thanks always.
I confirmed to make-snapshot
was broken.
https://github.com/ruby/ruby/commit/3234d6a6cba4e013cea778664ce4a8b372905ea1 is a reason for broken status.
nalsh was reverted it at https://github.com/ruby/ruby/commit/4b4f7c428c86deb7fa8743173e695122d00e66b1
Can you try it again with current trunk?
Note: tool/make-snapshot
is our central toolchain for packaging. but it has no test and guarantee of working. It's our big concern.
Updated by vo.x (Vit Ondruch) over 6 years ago
hsbt (Hiroshi SHIBATA) wrote:
nalsh was reverted it at https://github.com/ruby/ruby/commit/4b4f7c428c86deb7fa8743173e695122d00e66b1
Thx!
Can you try it again with current trunk?
Yep it works with r61214
Note:
tool/make-snapshot
is our central toolchain for packaging. but it has no test and guarantee of working. It's our big concern.
Sorry, I could be clearer in my grumbling :) I was more wondering about the best supported way to create the snapshot, IOW the most tested approach. Currently, I do something like (I know it actually does the checkout twice, but that is not big deal for me):
svn checkout http://svn.ruby-lang.org/repos/ruby/trunk ~/ruby
cd ~/ruby && tool/make-snapshot -packages=xz tmp
But it seems using Git(Hub) might be preferable these days?