Closed
Conversation
d174345 to
6491060
Compare
- And some `Package` functions slipped in.
- Done on a plane to Winnipeg.
- Now I can finish the rest of the `Package` functions. - Jared's wedding was good last night.
- This fixes some version parsing bugs, as well as letting the rest of our tests pass!
8f0138e to
f57c438
Compare
- This is a pattern I'm going to follow for the other modules. It makes it clear which functions should be used in real Haskell code, and which shouldn't.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO
alpm_listdbfunctionspkgfunctionstransactionfunctionsalpm.h)Motivation
Aura 2 has been a long time coming. The starting point for this has always been writing the ALPM bindings, which I have had a few false starts on. I've been at my new job for a year, and my schedule has settled to the point where I can finally begin this in earnest. Thanks to everyone for their patience.
The path forward is clear, and the main benefits to direct ALPM bindings are:
pacmanmanually through shell callsFAQ
This may not have a reason to continue, despite the work that has been put into it. I feel like starting from scratch with both
alpmandfreer-effectsin mind from the get-go will produce a much cleaner Aura.I am. I surveyed the FFI landscape, where it seemed like
c2hscis the best option around. While a good option, I think it's overkill. We can produce cleaner low-level bindings ourselves that don't even need foreign imports to every function available (particularly inalpm_list). That, and that the dev process isn't as nice when dealing with.hscfiles.Nix is probably the future of package management. That said, Arch is Arch, and pacman (alpm) is entrenched. Arch is healthy and will be long-lived, and will always need a good bridge to the AUR.
pacmancan be improved upon (concurrent builds!), and that is where Aura will shine.