Commit Graph

12 Commits (e0af78393861bc54a3a92ef736b47d842be8c562)

Author SHA1 Message Date
GreekStapler e0af783938 refactor: Add libarchive link Makefile test compilation. Created test units with xcursor-dmz as test package. 2023-01-25 23:19:33 +01:00
GreekStapler 1da345f8b3 refactor: Added SHA256 to package description file. 2023-01-25 23:10:53 +01:00
GreekStapler 3d69c8edeb refactor: Decided to not return char** in function that creates the package description after all, now returns char*.
The method I was trying started to irk me when I thought of creating a test unit for it. Also fixed some other issues I found in the package_to_description function (SHA256SUM section still missing).
2023-01-25 22:15:07 +01:00
GreekStapler 31fc4e2989 fix: Took a very long time finding a very annyoing bug because realloc is the devil. 2023-01-25 17:24:03 +01:00
GreekStapler 62d1081d38 refactor: Created function that will return the char ** (originally char *) that will be used to make the description file. Also removed free that was resulting in a crash. 2023-01-25 17:17:18 +01:00
GreekStapler d252c55fb0 refactor: Modified .PKGINFO parser not to rely on gotos and continues. Parser is now optimistic and assumes .PKGINFO file is valid.
After my changes to the macros, they still feel a bit hacky, but I'm content with them. I also changed the parser to assume the .PKGINFO files are always valid because they are automatically generated. The parser also assumes the same fields will always appear in the same fixed order. I made this change after checking how makepkg generated this file.
2023-01-25 16:22:22 +01:00
GreekStapler cc3cacc1f7 refactor: Add original .c package files by Jef. 2023-01-25 13:00:33 +01:00
Jef Roosens 11709cc611 refactor: slightly change api 2023-01-18 14:14:39 +01:00
Jef Roosens 30e086ad6b test: started porting cron tests 2023-01-18 13:59:10 +01:00
Jef Roosens be97472dcc
chore: switch to defualt clang-format formatting 2023-01-18 11:38:34 +01:00
Jef Roosens 4d72e60515
chore: added makefile 2023-01-18 11:29:16 +01:00
Jef Roosens f50bc4a3c4
chore: added cron code 2023-01-17 23:09:06 +01:00