54 Commits

Author SHA1 Message Date
0b439bcfed Changed BPM Version to 0.5.0 2024-10-22 15:37:16 +03:00
918ff984ca Moved package fetching, installation and removal functionality to operations.go 2024-10-17 11:54:32 +03:00
a7b025d92d Removed additional empty line in output 2024-10-15 14:34:32 +03:00
7816d0072c Added BPM operation structs which make handling package installation/removal easier and fixed multiple bugs 2024-10-15 10:03:06 +03:00
1bd57110a0 Removed some unused functions and renamed some variables 2024-10-10 12:44:06 +03:00
76efa42bcf Started implementation on the new bpm file structure 2024-10-10 12:36:29 +03:00
c8939614b1 Fixed circular dependency problems 2024-10-08 20:21:49 +03:00
4793424f3d Fixed error when installing new package 2024-10-08 11:10:49 +03:00
e6cfd112ea Improved version comparison 2024-10-07 19:12:17 +03:00
a3d1167358 Replaced references to old username (CapCreeperGR) with new username (EnumDev) to avoid confusion 2024-10-07 09:36:38 +03:00
3ff01093a0 Added BPM_PKG_REVISION, BPM_PKG_OLD_VERSION, BPM_PKG_OLD_REVISION variables to package scripts 2024-10-07 09:30:57 +03:00
108e355e94 Standardized error message formatting 2024-09-14 16:09:20 +03:00
7b491874eb Small fixes 2024-09-14 12:27:14 +03:00
82d3c8bd51 Added package revision numbers 2024-09-11 13:11:35 +03:00
7a489af220 Added fetch status messages while installing or updating 2024-09-11 12:54:42 +03:00
fd6ddbfc41 Simplified 'install' subcommand and fixed a few minor bugs related to installing local packages 2024-09-10 11:53:16 +03:00
bc489ebd23 Added 'update' subcommand and small fix to the 'install' subcommand 2024-09-09 11:33:48 +03:00
6247c6eff7 Added 'search' subcommand and removed repository functionality from 'info' subcommand 2024-09-08 12:51:47 +03:00
c24b7c85e3 Improved dependency resolution and improved the 'install' subcommand 2024-09-08 11:50:16 +03:00
2fd01a3fc2 Fixed issue where ResolveAll would not resolve make dependencies and optional dependencies and removed conditional dependencies 2024-08-31 11:40:32 +03:00
747c770499 minor improvements to dependency resolution 2024-08-31 09:11:19 +03:00
26500d670d 'bpm info' will now exit with exit code 1 when package can't be found 2024-08-29 18:29:46 +03:00
59df2324e6 Added basic remote repository functionality to the install subcommand 2024-08-29 16:52:29 +03:00
12d5e7580e Disabled repositories will now be removed from the Repositories slice immediately 2024-08-28 10:58:49 +03:00
123697e1dc Added basic remote repository functionality 2024-08-28 10:34:27 +03:00
7d2caa542c Renamed bpm_utils to utils to avoid confusion with the bpm package creation utilities 2024-08-27 15:22:51 +03:00
ab75193022 Added installation reason and improved console output readability 2024-08-27 11:07:53 +03:00
c85c9b5d1c Switched to using yaml for package metadata and added verbose flag 2024-08-26 20:51:21 +03:00
CapCreeperGR
23f9a13939 Package information will no longer show up if the -y flag is enabled 2024-07-12 16:22:27 +03:00
CapCreeperGR
e445863dca Added Makefile and changed module name 2024-07-10 09:48:42 +03:00
CapCreeperGR
f9ef17cd66 Added 'Binary Output' and 'Compilation Directory' config options and parameters, removed test packages and added other small improvements 2024-07-07 22:02:57 +03:00
9927c7f7ef Made small changes to bpm list argument names 2024-07-01 12:28:18 +03:00
f6b182cc3d BPM will no longer show a message if no packages have been installed when running bpm list -n or bpm list -l 2024-07-01 12:22:40 +03:00
9cbc36f869 Source compilation will now use fakeroot and added a skip check flag 2024-07-01 12:10:21 +03:00
ea469c4180 Added configuration file to BPM 2024-05-29 21:30:22 +03:00
8db2635314 Transitioned to a PKGBUILD-like format for source.sh files
Changed license from GPL3 to MIT
2024-05-29 16:04:18 +03:00
555ea75403 Improved symlink removal 2024-04-27 09:47:48 +03:00
e75d2fb1da Added a $BPM_PKG_ARCH variable to source script
Added a "keep" field to package descriptor files which will prevent the specified files from being overwritten
Completely revamped the bpm-setup script in the bpm-utils package
2024-04-23 17:53:12 +03:00
d086b4a639 Added the ability to create pre_install.sh, post_install.sh, pre_update.sh, post_update.sh and post_remove.sh scripts 2024-04-19 17:43:14 +03:00
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