Comments (7)
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.
@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.
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.
Also encountered this issue from one of Dockerized carto images. Seems like this is an error, at least I hope so.
from cartodb.
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 .submodule
file.
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.
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.
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)
- Browser cache HOT 1
- rake tasks failing with invalid reference to Organization model
- Error "Validation failed: Grants can only grant table permissions you have" when creating API Key
- Trouble getting active_support to connect to db HOT 1
- Styling by value : all attributes
- Compilation error when installing python requirements, succeeds without explicit csvkit version
- nokogiri requires Ruby version < 3.1.dev, >= 2.5 HOT 5
- Loading shapefiles from zip and create map undefined method NilClass
- Cannot export data
- Stored Cross-site scripting on Maps HOT 6
- Problem with CARTO login
- Quota Exceeded By Error
- create_dev_user aborted
- submodule `cartodb-private` is missing HOT 1
- Incompatible with Firefox 100 HOT 2
- CARTO API IMPORT PROBLEMS HOT 1
- Problems with Carto API import HOT 2
- Bug in french region translation
- Potential bug in new-dashboard add-on
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cartodb.