Comments (10)
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.
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.
@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.
But makepkg will automatically rebuild the package if it is out of date.
from rua.
@Morganamilo but how to update the AUR repo and its PKGBUILD?
from rua.
Git pull?
from rua.
@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.
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.
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.
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)
- Rua will not attempt to build for alternate architectures if a package is marked x86_64 only
- Allow to pass in flags to makepkg command
- Allow more fine grained controls in diff HOT 9
- Further improve file diff when upgrading package
- `rua install` doesn't work under systemd-homed user HOT 4
- Dependencies not resolved correctly for split packages
- Segfaults on search HOT 7
- Sandboxing hardening suggestions (`/mnt`, `/media`, PKGBUILD directory) HOT 2
- Decrease compilation time for updated packages HOT 1
- Patching PKGBUILD/.SRCINFO should immediately impact the dependency tree HOT 8
- RUSTSEC-2021-0139: ansi_term is Unmaintained HOT 1
- [Feature request] Add the ability to use a separate pacman.conf HOT 4
- Workflow idea: frequent builds in non-interactive throw-away VMs. Review and approve process is decoupled and allows for zero build time
- Jailing git commands makes bwrap complain about GNUPG related path parameters HOT 13
- `git` command jailing and symlinked directories don't work together HOT 1
- Add completion command
- Blacklist HOT 2
- Move detached signature w/ checked tarball. HOT 1
- Dependency resolution failure with versioned dependencies, with previous versions already installed
- Internal error: queue element does not have depth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rua.