Esri / offline-editor-js

ArcGIS JavaScript library for handling offline editing and tiling.
http://esri.github.io/offline-editor-js/demo/
Apache License 2.0
159 stars 142 forks source link

sub-module for boostrap-map-js not populating on my local git repo #16

Closed andygup closed 10 years ago

andygup commented 10 years ago

I'm looking into this. Not sure if it's just a problem on my local machine. Getting error: Unable to find current revision in submodule path 'vendor/bootstrap-map-js'

jabadia commented 10 years ago

git submodule init git submodule update

El viernes, 13 de diciembre de 2013, Andy escribió:

I'm looking into this. Not sure if it's just a problem on my local machine.

— Reply to this email directly or view it on GitHubhttps://github.com/Esri/offline-editor-js/issues/16 .

Javier Abadía

andygup commented 10 years ago

Yep, I tried that and got the following:

bash-3.2$ git submodule init bash-3.2$ git submodule update fatal: Needed a single revision Unable to find current revision in submodule path 'vendor/bootstrap-map-js'

andygup commented 10 years ago

I'm wondering if the submodule URL needs to be changed from git@github.com:Esri/bootstrap-map-js.git to https://github.com/Esri/bootstrap-map-js?

I tried to remove the vendor/bootstrap-map-js subdirectory and run update again. Here's the error that I got:

bash-3.2$ git submodule update Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. Unable to fetch in submodule path 'vendor/bootstrap-map-js'

jabadia commented 10 years ago

Yes that's it... Sorry about my previous extremely short answer... I was away from my computer and thought It could be helpful (obviusly it wasent).

Yes the git@ url only works if you have authenticated access to the repo, what is not true for everybody.

Thanks!

2013/12/13 Andy notifications@github.com

I'm wondering if the submodule URL needs to be changed from git@github.com:Esri/bootstrap-map-js.git to https://github.com/Esri/bootstrap-map-js?

I tried to remove the vendor/bootstrap-map-js subdirectory and run update again. Here's the error that I got:

bash-3.2$ git submodule update Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. Unable to fetch in submodule path 'vendor/bootstrap-map-js'

— Reply to this email directly or view it on GitHubhttps://github.com/Esri/offline-editor-js/issues/16#issuecomment-30542901 .

Javier Abadía

andygup commented 10 years ago

No worries, I could tell you answered via your phone. So I merged the latest fix then pulled down the changes but now I'm getting a new error. It looks like there is a colon ":" where there should be a "/" in the new url. See below. I'm at my computer so I'll see if I can make that fix and get it to work on my end. If it works I'll push the change up.

bash-3.2$ git submodule update Submodule path 'vendor/IndexedDBShim': checked out '74d6316846560c80aedc130179dc0c4cc73e36a8' fatal: repository 'https://github.com:Esri/bootstrap-map-js.git/' not found Unable to fetch in submodule path 'vendor/bootstrap-map-js'

andygup commented 10 years ago

Okay, I pushed the minor change update to the bootstrap url and I'm good to go! I'll close this issue out.

jabadia commented 10 years ago

ups... it failed silently in my machine... sorry about that

2013/12/14 Andy notifications@github.com

No worries, I could tell you answered via your phone. So I merged the latest fix then pulled down the changes but now I'm getting a new error. It looks like there is a colon ":" where there should be a "/" in the new url. See below. I'm at my computer so I'll see if I can make that fix and get it to work on my end. If it works I'll push the change up.

bash-3.2$ git submodule update Submodule path 'vendor/IndexedDBShim': checked out '74d6316846560c80aedc130179dc0c4cc73e36a8' fatal: repository 'https://github.com:Esri/bootstrap-map-js.git/' not found

Unable to fetch in submodule path 'vendor/bootstrap-map-js'

Reply to this email directly or view it on GitHubhttps://github.com/Esri/offline-editor-js/issues/16#issuecomment-30588234 .

Javier Abadía