asam-ev / asam-project-guide

(WIP!) Project Guide for ASAM OpenX standards
Mozilla Public License 2.0
2 stars 0 forks source link

Add how-to "Pulling submodules" #18

Closed philipwindecker closed 2 years ago

philipwindecker commented 2 years ago

In GitLab by @jana.aydinbas on Oct 18, 2021, 11:00

The following information should be added to the Project Guide:

Git does not automatically pull submodules. The OpenDRIVE repository contains one or more submodules; for example, _0resources.

To pull a local copy of the submodule:

  1. In the Windows Explorer, open the local clone of the repository; for example, C:\Users\Jana\Git\opendrive.
  2. Right click and select Git Bash Here.
  3. Enter git submodule update --init.

Credit for the instruction goes to @christian.goedert.

philipwindecker commented 2 years ago

In GitLab by @jana.aydinbas on Oct 18, 2021, 11:43

changed the description

philipwindecker commented 2 years ago

In GitLab by @philip.windecker on Oct 19, 2021, 09:28

marked this issue as related to #21

philipwindecker commented 2 years ago

In GitLab by @philip.windecker on Oct 22, 2021, 08:42

assigned to @philip.windecker

philipwindecker commented 2 years ago

In GitLab by @philip.windecker on Oct 22, 2021, 09:31

removed the relation with #21

philipwindecker commented 2 years ago

In GitLab by @philip.windecker on Oct 22, 2021, 09:31

I added a new page on that and linked to it from different locations. I also changed the information on cloning a repository since there is a way of cloning it and initializing the submodules at the same time when using git bash or Powershell.

It was added in the branch https://code.asam.net/common/asam-project-guide/-/tree/2nd_documentation_improvement

philipwindecker commented 2 years ago

In GitLab by @philip.windecker on Oct 22, 2021, 09:31

unassigned @philip.windecker

philipwindecker commented 2 years ago

In GitLab by @stefancyliax on Oct 26, 2021, 06:30

Did you see the fragment I wrote about working with submodules? https://code.asam.net/internal/asciidoc-example-document/-/blob/master/tooling/submodules.adoc

I'd also suggest to create several fragments, because the different tasks are for different groups. Everybody using a repo locally has to update a submodule. But adding a submodule to a repo is only done by ASAM office.