Commit Graph

183 Commits

Author SHA1 Message Date
aa65b28112 Packet.lua with right version, serial and better version constraint 2025-10-26 21:46:46 -03:00
72a5ab7c5d removing debug changes 2025-10-26 18:24:10 -03:00
89b3fdbc84 getting functions from right table now and reading os and arch in package table 2025-10-26 18:23:16 -03:00
0a531488a3 Packet.lua example test 2025-10-26 18:06:08 -03:00
7fbaef7bd4 try to clone Packet.lua 2025-10-26 18:05:57 -03:00
b411eff6f4 systemd managment for daemons 2025-10-26 18:05:34 -03:00
befa4e3ea4 changing home dir for packets user to /etc/packets (configuration folder) 2025-10-26 18:04:07 -03:00
807d9fa784 removing dependencies from table packages in database 2025-10-26 18:03:19 -03:00
9883fd92dc log messages for sockets 2025-10-26 18:02:43 -03:00
51c51b96bf bugfix, trying to read toml in a lua file, now returning Package.lua 2025-10-26 16:39:54 -03:00
a69de7e918 store buildDirs 2025-10-25 22:43:02 -03:00
4178387e2a checking if build or prepare is == nil 2025-10-25 22:42:16 -03:00
b6d7ec8a5f change dir for package dir while removing it 2025-10-25 22:41:59 -03:00
8feaf5d19b change dir for package dir to install it 2025-10-25 22:41:28 -03:00
820ffc299f code maybe confusing, but now using Packet.lua format 2025-10-25 20:17:20 -03:00
ecce74d2e9 changed old manifest.toml to Packet.lua and some improvements for future 100% Packet.lua implementation 2025-10-25 12:44:40 -03:00
5ba30c617a useless file 2025-10-25 11:16:20 -03:00
e3772d0944 some bug fixes, manifest.toml don't exist anyomre and all data for installation will be in one file name Packet.lua 2025-10-25 10:16:33 -03:00
df32178372 with afero functions need, to see more functions to use afero 2025-10-24 17:14:44 -03:00
cc9587821d modifications to build/lua.go 2025-10-24 17:04:02 -03:00
31af4d5389 new go.mod and go.sum 2025-10-24 17:01:23 -03:00
dbd63d371b new values in manifest.toml 2025-10-24 17:01:23 -03:00
52f675ab60 doing io.popen 2025-10-24 11:56:47 -03:00
26f9e20ae8 doing lua functions for build files, to run only in afero.FS 2025-10-24 11:10:43 -03:00
6377de7208 creating new build system 2025-10-23 23:04:35 -03:00
b58173837b bugfix, giving id to dependency resolver 2025-10-11 21:00:22 -03:00
97408da348 bugfix, starting a empty map for dependencies in GetPackage function 2025-10-11 19:39:20 -03:00
be96001d78 bugfix, fix command fixing leaving after remove 1 package 2025-10-11 19:38:50 -03:00
7c4fba5c86 now upgradeCmd is being used, message when downloading, and upgrade need to run as root 2025-10-11 18:50:45 -03:00
4cee062889 bugfix, fix missing wg.Add() and wg and go for upgrade async functions 2025-10-07 19:35:19 -03:00
93093382f4 bugfix, now ResolvDependencies check if depnList map is empty 2025-10-07 16:46:21 -03:00
e4b4d43163 progress doing upgrade all function 2025-10-07 11:56:24 -04:00
b89abb31df now sync needs to run as root 2025-10-06 11:55:51 -03:00
0a965c67c2 creating packets home dir 2025-10-05 18:16:15 -03:00
147fca375e implemented upgrade, and fixed some bugs 2025-10-05 15:47:21 -03:00
afc19b6e4d removing images 2025-10-05 14:31:50 -03:00
690f180687 removing web from this repository 2025-10-05 12:18:48 -03:00
7ef7b60cf5 fixed databaseschema again 2025-10-05 12:17:33 -03:00
4e2d506a01 fixing duplicate column 2025-10-05 11:42:56 -03:00
df4c76bd99 Refactor Manifest struct to change Dependencies from slice to map for better dependency management, and removing somethings from manifest struct too 2025-10-03 18:45:49 -03:00
af24fa84a2 don't need to verify index.db integrity anymore 2025-10-03 17:04:04 -03:00
4b54a9c74b Refactor database schema and update dependency handling in code 2025-10-03 17:03:23 -03:00
f25366d40c Refactor database schema and update dependency handling in code 2025-10-01 22:19:02 -03:00
cadf5fedcb Improving packets with better dependencie resolution, adding a function to auto resolve dependencies. 2025-10-01 18:11:53 -03:00
cfb11cf6e6 New database schema need to change all code files 2025-10-01 17:32:08 -03:00
bb4f221fc9 Adding "-r", to create a system user to not show up on user login screen 2025-09-29 19:21:24 -03:00
9cf5ae61d8 removing the second and useless exec.Command of useradd 2025-09-29 16:37:13 -03:00
ff4c61315e Removing unecessary param and variable on GetSandbox 2025-09-28 21:58:55 -03:00
76450789b0 io can be used, require too, and package 2025-09-28 21:55:50 -03:00
0e8db8b40e Enhance permission handling in package installation and removal commands; add user management functions for improved security. Now for every time packets will execute lua scripts, it will change process euid to an unprivileged user; Now lua scripts can execute more lua default functions 2025-09-28 21:55:13 -03:00