GithubHelp home page GithubHelp logo

Comments (10)

vn971 avatar vn971 commented on August 23, 2024 1

Thanks for the report! Sorry for the frustration with the removed artifacts.. Regarding deletion of cache dir -- it's a known thing:

Smart caching is not implemented yet. To avoid outdated builds, RUA wipes caches in case of possible conflict. This may change in the future.
https://github.com/vn971/rua#limitations

Basically, the program currently has no idea in which state the build directory is, so it always wipes it out entirely. Even with that, however, it makes sense to not touch the "checked_tars" dir while we haven't started a new build yet. I'll do that, that's takeaway N1.

Another thing is that installation went wrong. Guessing by the logs, it only ever proposed to install xen-docs, but not xen itself. That's takeaway N2.

from rua.

Morganamilo avatar Morganamilo commented on August 23, 2024

What exactly do you mean by state? You can easily just call makepkg -C. For the checked tars I'm not so sure how you'd want to handle that.

from rua.

vn971 avatar vn971 commented on August 23, 2024

@Morganamilo I mean understanding whether a package lase already being built, if that was the latest version, etc. Basically, if RUA sees a directory, it currently has no way to know whether it's the last version that we need to build, and deletes it to ensure that build is not outdated.

from rua.

Morganamilo avatar Morganamilo commented on August 23, 2024

But makepkg will automatically rebuild the package if it is out of date.

from rua.

vn971 avatar vn971 commented on August 23, 2024

@Morganamilo but how to update the AUR repo and its PKGBUILD?

from rua.

Morganamilo avatar Morganamilo commented on August 23, 2024

Git pull?

from rua.

vn971 avatar vn971 commented on August 23, 2024

@Morganamilo so instead of cleaning each time, you propose to build in a dirty dir... I have to think about it. It's not the way I planned it, but maybe it's OK.

from rua.

Morganamilo avatar Morganamilo commented on August 23, 2024

Well you need to reset first to get rid of changes such as automated pkgver bumps. But you get to keep the sources and built packages that way.

from rua.

vn971 avatar vn971 commented on August 23, 2024

I fixed the sudo loop as well now, when it asked the same question over again even though the package is already installed. Commit dffee34

from rua.

vn971 avatar vn971 commented on August 23, 2024

And fixed the last part of the issue now -- missing to install xen and only installing xen-docs. Fixed in the latest commit & the new release.

The story with split packages should still be improved, but at least some common patterns are now covered. Hopefully I'll have some time for completely finishing split packages story in the weekends, but no promises.

from rua.

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.