mbpk
- 9 Devlogs
- 10 Total hours
xbps but rootless
(mbpk - Minimal Binary Package Kit)
xbps but rootless
(mbpk - Minimal Binary Package Kit)
almost got it to install a package!
gonna stop here and head to sleep soon and finish this off tomorrow inshallah
goal was to get this working by today but thats ok i dont think it should be too hard to finish the rest ia
gn all ^_^
got it to sync repos! 
I got it to initialise xbps! Oh and there’s a working Makefile too which is nice
I am back and I need a package manager for Yerba Linux before Stardance ends on SEPTEMBER 30TH.
Focus is shifting probably
Goal: get this PM to work by the end of this day
Instead of being independent I might just make it depend on existing repos and install rootlessly to ~/.local/mbpk
It could probably just leech off of APK or RPM
This is either going to be a bash script or like 500-1000 lines of C because I need something functional
Let’s see what happens!
Hopefully this goes well inshallah
(No relevant screenshot for this so here’s an ls right now)
I finished off the final part of mbpk_update_repositories!!!!! 
It finally fetches the repository metadata, parses out the packages, and fetches them all independently!
I got it to save the repository metadata to a file and parse it! 
Fixed a buffer overflow issue where I was writing 9 extra bytes outside of my allocated memory 
Also got a basic strerr function working for libmbpk
I got libmbpk to use libcurl and fetch the repository INI file into a buffer! 
I wrote out the full spec for my package manager written in C89, mbpk (Minimal Binary Package Kit), and got it to load the repository config INI file!
You heard that right, C89, because booleans are bloat.
C89 is based and you cannot deny