Coder Social home page Coder Social logo

Comments (9)

mmohring avatar mmohring commented on September 28, 2024

Not been able to update if wanted is a major disadvantage. To update or not automatic should be an option.

from open-build-service.

m4z avatar m4z commented on September 28, 2024

mmohring: You're saying there should be a config option like always_fetch_current_version or something similar? Otherwise I'm unsure what you're trying to say.

from open-build-service.

mmohring avatar mmohring commented on September 28, 2024

yes, that's what I mean. An option to switch to old or new behavior.

from open-build-service.

m4z avatar m4z commented on September 28, 2024

Thanks for clarifying. (Your choice of words confused me, I was unsure if by "Not been able to update" you were saying that you tried and failed to update your OBS to 2.3.7, or you haven't had the time to do that yet, or if you meant "not being able to update (RPMs within the OBS)...".)

from open-build-service.

dstolte avatar dstolte commented on September 28, 2024

We are not sure if any older version of OBS worked correctly and downloaded updated packages on demand if this package had been downloaded before. One of our developers just found this bug when he tried to build against a package that had something fixed and his build still failed. We checked the version installed in the build environment and found that the old buggy package was still used during the build by OBS. OBS didnt try to download the newer packages although it was available.

We use OBS for more than a year now and this was the first time we saw this bug.

from open-build-service.

mmohring avatar mmohring commented on September 28, 2024

The behavior you describe is exactly how DoD behaves at the moment. I am not against fixing this behavior.

I just wanted to say that I would like to have an option for DoD for "old behavior" and "new behavior" so the user can switch between "downloaded once an never update the loaded packages" and "always download a never version of a package and keep the local copies of all packages consistent". Anyway, the implementation of the new behavior requires also to delete packages or to load also new packages in the local copy if they are deleted in the remote source or if the remote source changes its package structure. Meta data should also be adapted (e.g. the prjconf file), there is a likelyhood that they change if the package structure change.

from open-build-service.

marcus-h avatar marcus-h commented on September 28, 2024

On 2012-12-11 04:17:26 -0800, dstolte wrote:

When a package of a DoD project has been downloaded to a local OBS system and a newer package is published later then this newer package is not downloaded anymore. The local OBS will always use the oldest locally available package. The workaround is to manually delete the old package and the cache (.solv) and restart the schedular. This is a major pita.

Full ack:) The current dod implementation isn't really user
friendly (if the metadata changes). Some time ago I started
to work on an "update dod meta data" feature but it was more
or less just a very rough proof of concept. The (outdated and incomplete)
patch can be found here:
http://lists.opensuse.org/opensuse-buildservice/2010-10/msg00015.html

from open-build-service.

dstolte avatar dstolte commented on September 28, 2024

any news?

from open-build-service.

mlschroe avatar mlschroe commented on September 28, 2024

Fixed with the new DoD handling some months ago. Didn't know about the issue, so I didn't close it. Sorry.

from open-build-service.

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.