GithubHelp home page GithubHelp logo

Comments (3)

wokket avatar wokket commented on August 23, 2024

I read this as effectively providing --baseline but for the OneTime scripts only.... I can see why you might need this if restoring a db from another environment, which had tokens in a one-time script and so the db hash will never match your current files, but because you're in a downlevel environment (restored db) you have changes to run and can't use --baseline.

I may have used this in the distant past whern I was using restores more, but the distant past is hazy...

from grate.

erikbra avatar erikbra commented on August 23, 2024

I have never used this one.

BTW (maybe unrelated), what's your take on this? Should we store the scripts before replacing tokens, or after?

chucknorris/roundhouse#419

from grate.

wokket avatar wokket commented on August 23, 2024

I completely understand why storing scripts before tokens are replaced makes sense, esp in that "restore downlevel" scenario. If I was starting a dbase migration project from scratch with no concern for back compat that's prob what I'd try.

A couple of thoughts against though:

  • Back compat with existing hashes/text/dbases... could be managed with (not yet avail) --baseline or this issues --warnandignoreononetimescriptchanges ?
  • Would you apply the hash checks before or after replacement? You'd really want to check the before if you're storing the before in the dbase, and for the restore scenario (or #419) to make sense. You really want to check after replacement to detect changes in token values in the same environment where it's already run...
  • Per-token values like suggested in chucknorris/roundhouse#419 feels like a hiding to nowhere right now while we're still ticking off basic stuff but it's a legit feature request...

from grate.

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.