Giter Site home page Giter Site logo

/dist conflicts ALL THE TIME about dropchop HOT 3 CLOSED

cugos avatar cugos commented on August 18, 2024
/dist conflicts ALL THE TIME

from dropchop.

Comments (3)

alukach avatar alukach commented on August 18, 2024

Total agreement on this. I think this ties into #28. My suggestion is as follows:

  1. Add /dist to .gitignore
  2. Devs develop on branches off of master, no longer worrying about /dist
  3. A bot watches master. When a commit (merge) is made on master, the bot checks merges master into gh-pages, lints, contats, uglifies, and tests /dist. If all passes successfully, it force adds /dist (git add ./dist -f) to the repo, commits, and pushes.

This way, we'd have a continuous deployment system without having to sweat /dist conflicts. In #28 you mentioned that you may not want to be deploying every accepted PR. In that case, you could create a branch like production in that is watch by the build bot in the same way that it was watching master in my scenario (although, I still like the idea of deploying all accepted PRs ASAP).

I know little-to-nothing about Travis, but a quick 30 seconds search makes me this that this may be possible.

from dropchop.

mapsam avatar mapsam commented on August 18, 2024

I'm not totally set on being strict about merges into gh-pages but just want to make sure master is our reliable dev branch that people work with rather than individuals accidentally forking the gh-pages branch and working off of that. Then we'll run into real merge conflicts, rather than stupid ones like this issue 😉

from dropchop.

mapsam avatar mapsam commented on August 18, 2024

Fixed in #34

from dropchop.

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.