Commit graph

328 commits

Author SHA1 Message Date
f8f3e73035 Typo 2023-03-03 00:34:50 -05:00
ab1c380a79 Typo 2023-03-03 00:32:54 -05:00
aa92bd0b95 Cleanup and further refactoring 2023-03-02 22:40:28 -05:00
7b252fc0c3 The great refactoring 2023-03-02 21:07:31 -05:00
a564c92ff0 Frontend implementation and UX improvements 2023-03-02 20:49:06 -05:00
d2bb2ec2ba Initial Commit of Frontend 2023-03-02 20:48:05 -05:00
3082fc88ad Last minute tweak to previous commit 2023-01-31 21:46:04 -05:00
91a4cb9173 Fixed bugs with previous commit and further improved performance.
-- It actually works this time. "-links +1" parameter was removed in
find, since we're no longer looking for hardlinks specifically. duh
-- Link cache reordered.
-- Miscellaneous refactoring.
2023-01-31 21:11:07 -05:00
77315a9782 Synchronisation overhaul
-- Support for selectively deleting orphaned files
-- Performance improvement of at least 50% or more.
2023-01-30 17:16:36 -05:00
6cba2de7d0 Code optimisation, clean up of code and output
-- Output straightend out some, clarity added to verbiage
-- invoke_update_link() and invoke_update_link_list() subroutines optimised
-- invoke_update_link_list() was created to clean up update_link_lists()
2023-01-30 08:06:18 -05:00
500326be39 Last minute cleanup 2023-01-30 04:34:40 -05:00
f301fe6e1a Removal of unused variable 2023-01-30 04:28:07 -05:00
6abd0a44a4 Indentation fix 2023-01-30 04:21:33 -05:00
a1246d3551 Fixed pacman.conf generation bug, consolidation of subroutines and
further housekeeping
2023-01-30 04:11:11 -05:00
4eb4078a46 Rewrote package sorting subroutine, fixed bugs and erata
-- Rewrote package sorting subroutine to fix a catastrophic bug
   -- Reordered pacman.conf generation to occur before package sync
-- Removed pacman.conf edit shorcut in sbexecute
-- Cleaned up code
2023-01-30 01:54:46 -05:00
9cd614f5da Implemented vertical dependency resolution
-- Root dependencies and their hierarchies are automatically resolved.
-- Code cleanup, regular expressions optimised, redundant function
removal, etc.
-- pacman.conf generator now resolves package blacklists through each
dependency in its hierarchy.
2023-01-26 20:33:05 -05:00
43073a0a4a Removed rsync entirely, link list generation code using coreutils 2023-01-25 10:00:57 -05:00
67b90fbab4 Minor update to database transaction command. 2023-01-24 17:33:02 -05:00
27af63ea4e Using cp to hardlink, restructured configuration, and introduced
zstandard compression for link lists.

-- Dependency link lists are now compressed with zastandard
-- Hardlinking performance drastically improved by using cp -lR instead of
rsync --link-dest
-- Pacman configurations are now stored in $SANDBOX_BASE/etc/pacman.d
and mounted via bubblewrap
2023-01-24 17:26:58 -05:00
d9b4ea7ece Logical congruency, sanity checks, support for multiple base dependencies.
-- Inverted the return operator in query_confirm() for logical congruency
-- Introduced support for multiple base dependencies and (re)implemented
support for root filesystems without dependencies.
-- Implemented requisite sanity checks into subroutines in sbupdate
-- Further code cleanup
-- Additional parameters to skip prompts, skip updates, and force synchronisation; as well support for pacman-like wildcard flags.
-- sbcreate invokes sbupdate instead of implementing redundant
subroutines
2023-01-24 07:27:32 -05:00
816bfa6b5a De-duplication of synchronisation link lists
-- Duplicate synchronisation link lists are no longer generated
-- Pacman.conf generation now applies the correct template to the root
dependency
-- Further code cleanup
2023-01-23 06:27:54 -05:00
aa4e0df9af Fixed variable name to SYNCREQ from SYNCREQUIREMENT
Further cleaned up output by filtering redundant 'Operation not
permitted' messages.
2023-01-20 21:53:29 -05:00
dfa4fdecba Cutting down on verbosity of output during link synchronisation. 2023-01-20 09:09:22 -05:00
fb2f512b56 Typos and British spelling purged to remain consistent with pacman. 2023-01-20 08:45:13 -05:00
d52cbd7424 Passive dependency support, removed cache, with vertical-only integration.
- Removed horizontal dependency support, and implemented vertical
  dependency integration.
- Removed dependency caching, as debugging revealed hardlinks will contain a pointer on
  disk to old files after the original file is overwritten.
  not change after file modification.
- Cleaned up output
- sbcreate now will synchronise the pacman database to the specified
  dependency
2023-01-20 07:21:07 -05:00
7cd2ca7fbc Dependency support with far better management of pacman databases,
associated dependencies.

-pacman.conf autogenerated with ignorelists to prevent conflict between
chroots

-database synchronisation to prevent database dsynchronisation

-lib32 support for the base chroot
2023-01-19 12:06:30 -05:00
1c383e9f0f Dependency support for sandbox linking 2023-01-18 23:23:06 -05:00
8d7b73d70c Initial commit. 2023-01-18 14:26:34 -05:00