GithubHelp home page GithubHelp logo

Comments (6)

richfitz avatar richfitz commented on June 28, 2024

👍 definitely.

Is avoiding the commit necessary for deploying elsewhere though?

from drat.builder.

cboettig avatar cboettig commented on June 28, 2024

guess not, it's more of a question of whether or not there needs to be a
git repository (e.g. a .git directory) in the directory being deployed.

On Tue, May 26, 2015 at 2:45 PM Rich FitzJohn [email protected]
wrote:

[image: 👍] definitely.

Is avoiding the commit necessary for deploying elsewhere though?


Reply to this email directly or view it on GitHub
#4 (comment)
.

from drat.builder.

richfitz avatar richfitz commented on June 28, 2024

Supporting skipping git would be easy enough (probably could go through and make all steps optional). Though omitting the .git directory on deploy should be easy for most tools, right?

from drat.builder.

cboettig avatar cboettig commented on June 28, 2024

right. So if you run drat.builder in a new directory that isn't
initialized as a git repo, does drat.builder make one automatically or
throw an error?

On Tue, May 26, 2015 at 4:51 PM Rich FitzJohn [email protected]
wrote:

Supporting skipping git would be easy enough (probably could go through
and make all steps optional). Though omitting the .git directory on deploy
should be easy for most tools, right?


Reply to this email directly or view it on GitHub
#4 (comment)
.

from drat.builder.

richfitz avatar richfitz commented on June 28, 2024

At the moment it creates one (as of yesterday). That could be easily replaced.

One option:

  • add an option (init_git) with default of TRUE that will initialise a git repo if not present
  • if the git repo is not present then skip the commit step automatically

from drat.builder.

cboettig avatar cboettig commented on June 28, 2024

oh cool. yeah, ideally you'd have the option to avoid creating if not
necessary, but probably not that important as long as it's not throwing
errors. like you say you can always avoid copying the .git over to the
server if you don't want it.

On Tue, May 26, 2015 at 5:04 PM Rich FitzJohn [email protected]
wrote:

At the moment it creates one (as of yesterday). That could be easily
replaced.

One option:

  • add an option (init_git) with default of TRUE that will initialise a
    git repo if not present
  • if the git repo is not present then skip the commit step
    automatically


Reply to this email directly or view it on GitHub
#4 (comment)
.

from drat.builder.

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.