[sr-dev] [kamailio/kamailio] error: 'pkg/docker' does not have a commit checked out (#2003)

Daniel-Constantin Mierla notifications at github.com
Mon Jul 8 17:48:46 CEST 2019


When I just tried to do a commit today, I got the following error:

```
kamailio $ git ci .
error: 'pkg/docker' does not have a commit checked out
fatal: updating files failed
```

It is related to the `pkg/docker` submodule referencing to kamailio/kamailio-ci.

Not sure if this is due to a new git version or something else, because I did commits in that folder a few days ago.

To get is sorted out, I did:

```
kamailio $ git submodule update pkg/docker
Submodule path 'pkg/docker' not initialized
Maybe you want to use 'update --init'?

kamailio $ git submodule update --init pkg/docker
Submodule 'pkg/docker' (https://github.com/kamailio/kamailio-ci.git) registered for path 'pkg/docker'
Cloning into '/.../kamailio/pkg/docker'...
Submodule path 'pkg/docker': checked out 'b92a1c899b8c474afadd0cf29dd7cb4ea01a3466'
```
Then it worked to do the commit.

I wonder if this is going to break the process we were used with, specially the installation guidelines from GIT repo. Therefore I open this item to see if we really need the to have `pkg/docker` submodule, or better have the docker files directly in the repo. Other options to keep things sane and simple?

Git version:

```
$ git --version
git version 2.22.0
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190708/855f85a5/attachment.html>


More information about the sr-dev mailing list