Code Monkey home page Code Monkey logo

Comments (5)

incanus avatar incanus commented on August 22, 2024

Also, the iOSCoreParse target should be a dependent target of OpenStreetPad. Otherwise you have to build them in turn manually.

from openstreetpad.

beelsebob avatar beelsebob commented on August 22, 2024

Because git submodules cause a variety of nasty problems, I did consider it. Making the target dependant though I will do.

from openstreetpad.

beelsebob avatar beelsebob commented on August 22, 2024

Wait... I just checked this, cleaned both iOS core parse, and OSP, and rebuilt – both built, it's already dependant.

from openstreetpad.

incanus avatar incanus commented on August 22, 2024

The OpenStreetPad target is not dependent on OSPParserGenerator, meaning you have to build one, then switch and build the app. The app should be dependent so that you can just build it in one step if desired.

On the topic of submodules, honest question (not trying to be difficult here) but what are the problems? I use it on a number of projects. The only things I've run into are:

  • The need to git submodule update --init or deeply clone a project in order to grab them the first time.
  • The incompatibility with gh-pages and submodule when hosting sites on GitHub.

I've tried the subtree merge solution on another project in order to avoid the gh-pages issue, but there, one side effect is sub-project histories that predate the main project and throw off the development history timeline. But that's pretty minor.

Anyway, just a thought. I'd be happy to contribute pull requests for both dependent target as well as submodules, unless I'm misunderstanding something.

from openstreetpad.

beelsebob avatar beelsebob commented on August 22, 2024

On 29 Feb 2012, at 18:04, Justin R. Miller wrote:

The OpenStreetPad target is not dependent on OSPParserGenerator, meaning you have to build one, then switch and build the app. The app should be dependent so that you can just build it in one step if desired.

Ah fair point, I hadn't done that so far because the amount of time I spend rebuilding the parser archiver is tiny compared to the time it would take me to figure out how to make it a dependent target, and add a target to run the output of it to generate the archive, and then make that dependent. I'll look into setting that up properly at some point.

On the topic of submodules, honest question (not trying to be difficult here) but what are the problems? I use it on a number of projects. The only things I've run into are:

  • The need to git submodule update --init or deeply clone a project in order to grab them the first time.
  • The incompatibility with gh-pages and submodule when hosting sites on GitHub.

These are precisely the two points I was going to bring up:
Re 1:
git clone git://github.com/beelsebob/CoreParse.git
git clone git://github.com/beelsebob/OpenStreetPad.git

is easier than:
git clone git://github.com/beelsebob/OpenStreetPad.git
cd OpenStreetPad
git submodule update --init.

Re 2:
I use gh-pages to host CoreParse's documentation, I intend to use it for OpenStreetPad when I break out the renderer into a static library.

For a bonus 3:
It's easier for me to maintain the two independently with different repo versions if they're independent of one and other.

Anyway, just a thought. I'd be happy to contribute pull requests for both dependent target as well as submodules, unless I'm misunderstanding something.
I'd rather you did that if possible. I don't anticipate there being any serious problems with CoreParse in OSP – CoreParse is pretty stable now, but then I guess nothing can be ruled out.

Thanks

Tom Davie

from openstreetpad.

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.