Actions
Bug #12908
closedmake-snapshot is broken
    Bug #12908:
    make-snapshot is broken
  
Description
Testing with r56663, the make-snapshot fails with message:
$ tool/make-snapshot -packages=xz tmp
/builddir/ruby/tool/vcs.rb:123:in `realpath': no implicit conversion of URI::HTTP into String (TypeError)
	from /builddir/ruby/tool/vcs.rb:123:in `initialize'
	from tool/make-snapshot:416:in `new'
	from tool/make-snapshot:416:in `<main>'
It does not work since r56638, although the error was different initially.
        
           Updated by vo.x (Vit Ondruch) almost 9 years ago
          Updated by vo.x (Vit Ondruch) almost 9 years ago
          
          
        
        
      
      - Assignee set to naruse (Yui NARUSE)
        
           Updated by vo.x (Vit Ondruch) almost 9 years ago
          Updated by vo.x (Vit Ondruch) almost 9 years ago
          
          
        
        
      
      - Subject changed from make-snapshot is broke to make-snapshot is broken
        
           Updated by vo.x (Vit Ondruch) almost 9 years ago
          Updated by vo.x (Vit Ondruch) almost 9 years ago
          
          
        
        
      
      - Related to Misc #12283: Obsolete ChangeLog and commit message in Git-style added
        
           Updated by vo.x (Vit Ondruch) almost 9 years ago
          Updated by vo.x (Vit Ondruch) almost 9 years ago
          
          
        
        
      
      It seems that this works:
tool/make-snapshot -packages=xz -srcdir=. tmp
i.e. the -srcdir=. makes a difference ...
        
           Updated by nobu (Nobuyoshi Nakada) almost 9 years ago
          Updated by nobu (Nobuyoshi Nakada) almost 9 years ago
          
          
        
        
      
      - Status changed from Open to Closed
Applied in changeset r56668.
vcs.rb: fix srcdir in VCS::GIT
- tool/vcs.rb (VCS::GIT.cmd_args): add chdir option to arguments
 for IO.popen if srcdir is a local path. unless -srcdir command
 line option is given, srcdir is the default URL.
 [ruby-core:78036] [Bug #12908]
        
           Updated by vo.x (Vit Ondruch) almost 9 years ago
          Updated by vo.x (Vit Ondruch) almost 9 years ago
          
          
        
        
      
      Thx for the fix.
Actions