<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgman/src/main.c, branch dev</title>
<subtitle>Package manager for 0x221E distro.</subtitle>
<id>https://universe.0xinfinity.dev/distro/pkgman/atom?h=dev</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/pkgman/atom?h=dev'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/'/>
<updated>2026-05-13T14:52:52Z</updated>
<entry>
<title>refactor: add pkgman_config struct and move download to net.c</title>
<updated>2026-05-13T14:52:52Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-05-13T14:50:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=a532b3eb7e8610fb51cc703c9634532704e9b381'/>
<id>urn:sha1:a532b3eb7e8610fb51cc703c9634532704e9b381</id>
<content type='text'>
Added option to change mirror, tmp, staging directoryfrom the user
interface of the pkgman library. Added TRY and TRY_IFNOT macros for
better code readability.
</content>
</entry>
<entry>
<title>feature: add URL structure and refactor main logic to pkgman.c</title>
<updated>2026-05-10T16:12:16Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-05-10T16:08:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=08d1240456383bc9554840a5255f7f87114ade92'/>
<id>urn:sha1:08d1240456383bc9554840a5255f7f87114ade92</id>
<content type='text'>
Added url structures, cookbook, archive management to automate
the installation process of packages. Refactored main logic from
main.c to pkgman.c for cleaner seperation of concerns and future
library integration of pkgman to other projects.
</content>
</entry>
<entry>
<title>net: add write to file callback</title>
<updated>2026-04-23T21:55:09Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-04-23T21:55:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=ab9a7898f4fc97588a394fb0b5140eb47bfecdf5'/>
<id>urn:sha1:ab9a7898f4fc97588a394fb0b5140eb47bfecdf5</id>
<content type='text'>
Creates a write_opts argument in net_send_request() where you can
specify WRITE_OPT_MEMORY or WRITE_OPT_FILE. Modifies existing calls.
</content>
</entry>
<entry>
<title>core: rename cmd_install() parameters</title>
<updated>2026-04-23T02:27:43Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-04-23T02:27:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=871e8819bdbad30bf64ae775ee825193f9be2706'/>
<id>urn:sha1:871e8819bdbad30bf64ae775ee825193f9be2706</id>
<content type='text'>
First parameter renamed to argc, and second renamed to argv to fit
the general C-style entry function convention.
</content>
</entry>
<entry>
<title>core: main: add memory cleanup to install command</title>
<updated>2026-04-23T02:09:58Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-04-23T02:09:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=af5e00e3183c0dfa056149c6c8ae88d2d02842e0'/>
<id>urn:sha1:af5e00e3183c0dfa056149c6c8ae88d2d02842e0</id>
<content type='text'>
The install command frees all allocated memory at the cleanup
section, and iterates over the linked list to cleanup struct pair's
key.buf and value.buf.
</content>
</entry>
<entry>
<title>core: free ll_manifest contents after install complete</title>
<updated>2026-04-22T19:28:25Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-04-22T19:28:25Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=14393807165e9379adbbea671748a6c27bf34847'/>
<id>urn:sha1:14393807165e9379adbbea671748a6c27bf34847</id>
<content type='text'>
Iterates over the list inside um_user_data struct to free the
struct string_view buffer. This commit does not add freeing
functionality to the linked list itself.
</content>
</entry>
<entry>
<title>global: add: null-terminate all printf's</title>
<updated>2026-04-22T19:17:43Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-04-22T19:17:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=89125794a5a7bd2f37265358e1e6d830f9c724df'/>
<id>urn:sha1:89125794a5a7bd2f37265358e1e6d830f9c724df</id>
<content type='text'>
Null-terminate all printf statements so that the output is proper.
</content>
</entry>
<entry>
<title>global: refactor: change strcmp,strncmp with sv_equal()</title>
<updated>2026-04-22T19:12:13Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-04-22T19:12:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=9043e9f85f5e028771cbb4e61a24102a488d8628'/>
<id>urn:sha1:9043e9f85f5e028771cbb4e61a24102a488d8628</id>
<content type='text'>
All equalities in the codebase now uses the string_view equality
check to ensure memory-safe comparison between strings. This is
the case, unless the comparison is between two null-terminated
C-style string, in which case they will not be using sv_equal()
</content>
</entry>
<entry>
<title>core: add error returns to subcommands</title>
<updated>2026-04-22T17:37:33Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-04-22T17:31:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=1cc115db42def8470176daf758056a0193a1228a'/>
<id>urn:sha1:1cc115db42def8470176daf758056a0193a1228a</id>
<content type='text'>
Added error returns to subcommands and searching utility in main()
and error codes PKGNOTFOUND and USAGE were added to err.h. The
functions will now be able to return error states to main().
</content>
</entry>
<entry>
<title>core: install command checks existence in upstream</title>
<updated>2026-04-22T16:54:22Z</updated>
<author>
<name>0x221E</name>
<email>0x221E@0xinfinity.dev</email>
</author>
<published>2026-04-22T16:54:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/pkgman/commit/?id=e2110e0e67a8f8a1944db19513fed9728b7b102b'/>
<id>urn:sha1:e2110e0e67a8f8a1944db19513fed9728b7b102b</id>
<content type='text'>
The install command traverses through the linked list and checks
for the existence of package in the upstream server.
</content>
</entry>
</feed>
