Skip to content

Submodule not found #2152

@nickmahl

Description

@nickmahl

Describe the bug

Cloning the repository with its submodules does not work anymore.
OSCAL depends on https://github.com/schxslt/schxslt.git/ as a submodule and this repository is no longer public.

git clone --recurse-submodules https://github.com/usnistgov/OSCAL.git
Cloning into 'OSCAL'...
remote: Enumerating objects: 127010, done.
remote: Counting objects: 100% (86/86), done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 127010 (delta 40), reused 22 (delta 10), pack-reused 126924 (from 2)
Receiving objects: 100% (127010/127010), 366.09 MiB | 36.36 MiB/s, done.
Resolving deltas: 100% (70434/70434), done.
Submodule 'build/metaschema-xslt' (https://github.com/usnistgov/metaschema-xslt.git) registered for path 'build/metaschema-xslt'
Cloning into '/home/nick/OSCAL/build/metaschema-xslt'...
remote: Enumerating objects: 6189, done.        
remote: Counting objects: 100% (1016/1016), done.        
remote: Compressing objects: 100% (728/728), done.        
remote: Total 6189 (delta 392), reused 375 (delta 285), pack-reused 5173 (from 1)        
Receiving objects: 100% (6189/6189), 5.42 MiB | 24.13 MiB/s, done.
Resolving deltas: 100% (4513/4513), done.
Submodule path 'build/metaschema-xslt': checked out '04a4a4cd276c765a9c0bfd0e9a55ed0980e0adef'
Submodule 'support/metaschema' (https://github.com/usnistgov/metaschema.git) registered for path 'build/metaschema-xslt/support/metaschema'
Submodule 'support/schxslt' (https://github.com/schxslt/schxslt.git) registered for path 'build/metaschema-xslt/support/schxslt'
Submodule 'support/xspec' (https://github.com/xspec/xspec.git) registered for path 'build/metaschema-xslt/support/xspec'
Cloning into '/home/nick/OSCAL/build/metaschema-xslt/support/metaschema'...
remote: Enumerating objects: 10830, done.        
remote: Counting objects: 100% (1156/1156), done.        
remote: Compressing objects: 100% (266/266), done.        
remote: Total 10830 (delta 1045), reused 890 (delta 890), pack-reused 9674 (from 3)        
Receiving objects: 100% (10830/10830), 15.47 MiB | 30.01 MiB/s, done.
Resolving deltas: 100% (6270/6270), done.
Cloning into '/home/nick/OSCAL/build/metaschema-xslt/support/schxslt'...
remote: Repository not found.
fatal: repository 'https://github.com/schxslt/schxslt.git/' not found
fatal: clone of 'https://github.com/schxslt/schxslt.git' into submodule path '/home/nick/OSCAL/build/metaschema-xslt/support/schxslt' failed
Failed to clone 'support/schxslt'. Retry scheduled
Cloning into '/home/nick/OSCAL/build/metaschema-xslt/support/xspec'...
remote: Enumerating objects: 22487, done.        
remote: Counting objects: 100% (475/475), done.        
remote: Compressing objects: 100% (241/241), done.        
remote: Total 22487 (delta 391), reused 234 (delta 234), pack-reused 22012 (from 3)        
Receiving objects: 100% (22487/22487), 11.95 MiB | 28.20 MiB/s, done.
Resolving deltas: 100% (17283/17283), done.
Cloning into '/home/nick/OSCAL/build/metaschema-xslt/support/schxslt'...
remote: Repository not found.
fatal: repository 'https://github.com/schxslt/schxslt.git/' not found
fatal: clone of 'https://github.com/schxslt/schxslt.git' into submodule path '/home/nick/OSCAL/build/metaschema-xslt/support/schxslt' failed
Failed to clone 'support/schxslt' a second time, aborting
fatal: Failed to recurse into submodule path 'build/metaschema-xslt'

Who is the bug affecting

Every developer of OSCAL who tries to clone the repository.

What is affected by this bug

OSCAL Content

How do we replicate this issue

  1. Clone the repository with submodules: git clone --recurse-submodules https://github.com/usnistgov/OSCAL.git

Expected behavior (i.e. solution)

Updating the .gitmodules so it points to a public git repository again.

Other comments

No response

Revisions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions