Coder Social home page Coder Social logo

Comments (7)

Oreilles avatar Oreilles commented on June 12, 2024 3

In case anyone stumble into this, here's the solution:

git clone https://github.com/cartodb/cartodb.git
cd cartodb
git rm private
git submodule update --init --recursive

from cartodb.

Stivens73 avatar Stivens73 commented on June 12, 2024 2

@sabman, you can also run it with -n flag for a shallow copy.

upd: okay, this might not be a good solution, -n as shallow copy will basically create an empty dir

from cartodb.

ilbambino avatar ilbambino commented on June 12, 2024 1

the private submodule adds some things mostly for the CI as you said. For different business reasons we have decided not to release those in the open source version.
we are sorry for any inconveniences caused, but we considered different options and the submodule was the less intrusive one.
You will have to apply any of those workarounds for the time being. We will add a note in the README to clarify it. But unfortunately we cannot remove it, or it will break our current CI setup.

from cartodb.

Stivens73 avatar Stivens73 commented on June 12, 2024

Also encountered this issue from one of Dockerized carto images. Seems like this is an error, at least I hope so.

from cartodb.

sabman avatar sabman commented on June 12, 2024

the PR that originally added the submodule is here:
#16023

I am wondering if there are any ideas on a better way to manage this? For now i could either clone without the --recursive flag and also comment out the private submodule from the .submodulefile.

sed -i '.bak' 's/\[submodule "private"\]/#&/' .gitmodules
sed -i '.bak' 's/^[[:space:]]*url = [email protected]:CartoDB\/cartodb-private\.git/#&/' .gitmodules
sed -i '.bak' 's/^[[:space:]]*path = private/#&/' .gitmodules

I'm sure there's a better way though, any suggestions?

from cartodb.

sabman avatar sabman commented on June 12, 2024

looking more closely at the PR where private submodule was added it seems it's about the new CI. So it's possible that the tagged release will exclude the private submodule (ideally that's how it should be done).

from cartodb.

sutanAE avatar sutanAE commented on June 12, 2024

In case anyone stumble into this, here's the solution:

git clone https://github.com/cartodb/cartodb.git
cd cartodb
git rm private
git submodule update --init --recursive

hi @Oreilles it seems like this does not work anymore?

from cartodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.