Project

General

Profile

Actions

Bug #17132

closed

vcs.rb doesn't detect git submodules as vcs

Added by Thaodan (Björn Bidar) over 3 years ago. Updated over 3 years ago.

Status:
Feedback
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
[ruby-core:99745]

Description

Mostly a followup of #12239 as this was already about a similar use case.
When I run make-snapshot with a srcdir as target thats inside a submodule it doesn't detect it as vcs.

My command line and the output:
~/dev/sailfish/jolla/pkgs/mer_core/ruby/ruby/:./tool/make-snapshot -srcdir=../$PWD snapshot Traceback (most recent call last): 1: from ./tool/make-snapshot:584:in '
/home/bidar/dev/sailfish/jolla/pkgs/mer_core/ruby/ruby/tool/lib/vcs.rb:152:in detect': does not seem to be under a vcs: ..//home/bidar/dev/sailfish/jolla/pkgs/mer_core/ruby/ruby (VCS::NotFoundError)

Actions

Also available in: Atom PDF

Like0
Like0Like0