65 Commits

Author SHA1 Message Date
3e8b247e83 Actually fixed the bug that could brick your system 2024-04-18 19:34:20 +03:00
c8fc1b902c Fixed major bug where deleting obsolete files would delete directories with other files inside them which could brick your system 2024-04-18 15:04:52 +03:00
6472a113cf Added a new subcommand that lets you view what packages a file is managed by 2024-04-18 12:14:38 +03:00
d3f1c52202 Added environment variables that can be used during source package compilation to fetch package info (i.e $BPM_PKG_NAME or $BPM_PKG_VERSION)
Packages created using the -b flag will now contain the version number in their filename
Source install scripts will now exit if any error is encountered
Obsolete files should now be removed properly
2024-04-17 21:26:18 +03:00
b568d4db32 Added a way to include files in a source package that can be used during the compilation process (i.e patch files) 2024-04-16 21:04:36 +03:00
472d21a618 - Switched to using the flag system from the flag go package
- Added the -R flag which lets you choose a destination root directory
2024-04-13 09:23:03 +03:00
a9283037d8 - Added a -b flag to the install subcommand that turns a source package into a binary one after compilation
- Reformatted the help subcommand
- Updated bpm-utils to add the ability to create source packages
- Source temporary directories will now be removed after installation unless the user passes the -k flag
- BPM will now not remove the old version of a package before installing an update which could cause libraries or programs required for installation to be missing. Obsolete files will now be removed after installation
- The version, list, info and help subcommands can now be run by any user without root permissions. Root permissions are still required for package installation and removal
- Removed installed package info fixing for now. It will be replaced by a better system in the future
2024-03-30 22:22:31 +02:00
43c4a626f1 - Added hard link extraction support
- Can now add comments to pkg.info files
- Moved source package temp directory from /tmp to /var/tmp to allow for larger packages to be compiled
2024-03-29 20:09:40 +02:00
036578e652 - Added source package support
- Added 2 new flags for 'bpm list'
- Added a new Package Creation section in README.md
2024-03-28 22:15:42 +02:00
b6d217819c - BPM Can now install and remove symlinks 2024-03-27 21:26:00 +02:00
49b1554103 - Added package architecture checking
- Added an installed package info updater system (can add new fields to installed packages like "architecture" and check for other errors
- Moved test packages under a x86_64 subfolder
2024-03-26 21:50:17 +02:00
b67f357996 - Added a little bit of formatting to the help subcommand
- Removed unnecessary version.go file
- Moved utils to their own go package
- Moved test packages under the to the test_packages directory
- Added the bpm-utils test package which can be used to make your own bpm packages
2024-03-26 17:13:18 +02:00
88d4b94225 Expanded on top of the current argument system by adding flags 2024-03-25 21:44:41 +02:00
b4de7341ac Added a very basic argument system, a simple installation and removal system and the bpm test package 2024-03-25 17:24:36 +02:00
7c7b6c436d Initial Commit 2024-03-25 09:41:59 +02:00