Coder Social home page Coder Social logo

Comments (2)

reaperzn avatar reaperzn commented on August 13, 2024

@Alibloke That is exactly what the warning was added for. It should not be a hard failure unless you are specifically using the "ONLYINSTALLFROMPREP" option. We should probably build in a hard failure in this block:

auter/auter.yumdnfModule

Lines 87 to 89 in 398ba8b

else
logit "WARNING: downloadonly option is not available"
fi

Something along the lines of:

if [[ "${ONLYINSTALLFROMPREP}" == "yes" ]]; then
  logit "ERROR: ONLYINSTALLFROMPREP set to 'yes' and --downloadonly option is not available"
else
  logit "WARNING: downloadonly option is not available"
fi

Auter does work with older versions of yum and the downloadonly option is not fundamental requirement for auter to work so adding a version dependency for yum seems a bit limiting.

That said, assuming your case, auter will not download the updates due to the downloadonly option not being available, this will currently not be a failure. Following that, when auter --apply is run, there will be no updates available and there will be no failure. This is something we will need to look at adjusting.

from auter.

nrhodes91 avatar nrhodes91 commented on August 13, 2024

Going to close this out since #200 was merged.

from auter.

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.