Commit Graph
84 Commits
Author SHA1 Message Date
EnumDev 382a3fc8b6 Add flags for 'compile' subcommand 2025-04-24 13:56:30 +03:00
EnumDev 1843bceef5 Fix pre_remove.sh package script not being read or run 2025-04-22 19:28:36 +03:00
EnumDev 6af3b77d69 Include package scripts in compilation 2025-04-22 19:10:53 +03:00
EnumDev 8b6ef5fa63 Added compilation environment array to BPM config 2025-04-22 17:41:37 +03:00
EnumDev e8d5f0a565 Add basic compilation functionality 2025-04-22 17:04:47 +03:00
EnumDev 7b0a8bf1d6 Merge pull request 'Reorganize codebase' (#10) from code_reorganization into develop
Reviewed-on: bubble-package-manager/bpm#10
2025-04-17 11:49:51 +00:00
EnumDev 3a62f23db5 Update README.md 2025-04-17 14:04:11 +03:00
EnumDev d9d85b4943 Simplify Makefile and make it posix compliant 2025-04-17 13:58:49 +03:00
EnumDev 877fba8767 Use install command in Makefile, remove compress and run target and add uninstall target 2025-04-17 13:49:41 +03:00
EnumDev 0858a49636 Add .gitignore 2025-04-16 20:15:46 +03:00
EnumDev b27137da29 Allow sync and update subcommands when local database files are corrupt 2025-04-16 20:13:22 +03:00
EnumDev 78dce34b64 Hide make dependencies when reading info of binary packages 2025-04-16 20:08:24 +03:00
EnumDev f74372f13b Add 'ignore_packages' field to default config 2025-04-16 19:02:55 +03:00
EnumDev dd41369e05 Fix error when hooks directory does not exist 2025-04-16 18:49:54 +03:00
EnumDev fa3f59d8ba Update bpm.conf 2025-04-10 15:31:36 +03:00
EnumDev 46f7d96acf Update README.md 2025-04-10 15:29:44 +03:00
EnumDev 2f8d6a7ea9 Add missing dashes in the printHelp function 2025-04-10 15:08:27 +03:00
EnumDev c767f26937 Remove direct source compilation (To be reworked) 2025-04-10 15:07:28 +03:00
EnumDev 3f2d5cf7a1 Remove all log.Fatal and os.Exit calls from bpmlib 2025-04-10 14:54:41 +03:00
EnumDev 14fe71842e Added custom error types 2025-04-10 14:38:32 +03:00
EnumDev d1a2d28cff Fix some error handling and comments 2025-04-10 13:06:18 +03:00
EnumDev 151de2112e Fix virtual packages not being accounted for in GetDependants function 2025-04-08 19:20:49 +03:00
EnumDev e60381beb1 Rename constants 2025-04-08 17:41:14 +03:00
EnumDev 0801612166 Create functions for basic package management in bpmlib 2025-04-07 21:03:33 +03:00
EnumDev 9485248d8e Unexport functions 2025-04-07 17:28:26 +03:00
EnumDev 68291e2666 Rename go files 2025-04-07 17:14:04 +03:00
EnumDev 05f273d687 Update bpm frontend module name 2025-04-07 17:10:19 +03:00
EnumDev fcb2ef1515 Split project into the BPM frontend (src/bpm) and the BPM backend module (src/bpmlib) 2025-04-07 17:06:40 +03:00
EnumDev 97de746a7d Move go code to src/ subdirectory 2025-04-07 15:35:18 +03:00
EnumDev a26737859c Merge pull request 'Add hook functionality' (#9) from hooks into develop
Reviewed-on: bubble-package-manager/bpm#9
2025-04-07 12:20:24 +00:00
EnumDev 90d5a23fcc Remove redundant underscore 2025-04-07 14:59:28 +03:00
EnumDev 7104441727 Allow globstar in bpmhook path targets 2025-04-07 14:58:56 +03:00
EnumDev 5f8e4f00ea Added basic hook functionality 2025-04-05 15:03:00 +03:00
EnumDev 87c492a30c Improve virtual package handling 2025-04-04 21:40:21 +03:00
EnumDev e94b2a8816 Add replaces field to package information 2025-03-15 11:20:33 +02:00
EnumDev 4f9d2cdecd Add ability to ignore packages 2025-03-13 15:34:43 +02:00
EnumDev e2e2629dc9 Make bash the default shell in Makefile 2025-03-13 15:34:10 +02:00
EnumDev c3981ad95c Added repository entry information flag for the info subcommand and slightly altered the search subcommand format 2024-11-17 18:02:54 +02:00
EnumDev 852e615806 Changed info subcommand format and added support for checking .bpm file information 2024-11-17 17:32:49 +02:00
EnumDev e285fd792e Fixed bug where dependencies would be installed with 'manual' as installation reason 2024-11-06 09:06:46 +02:00
EnumDev 2accc30390 Added --installation-reason flag 2024-11-05 15:34:55 +02:00
EnumDev b625fe97ef Added --cleanup flag to the remove subcommand 2024-11-04 19:38:54 +02:00
EnumDev 6e2bb86ef0 Show dependant packages in the 'info' subcommand 2024-11-04 14:05:38 +02:00
EnumDev e30a32c568 Added an --unused flag for the remove subcommand and remove will no longer display errors if a package does not exist 2024-10-30 16:35:52 +02:00
EnumDev a2da73e26b Added a 'cleanup' subcommand that removes unused dependencies 2024-10-24 12:44:43 +03:00
EnumDev 2c7c4eeb73 Fixed small bug regarding installation reasons not always being read correctly 2024-10-23 19:13:18 +03:00
EnumDev 6e11f937a6 Added conflict checking 2024-10-23 16:10:42 +03:00
EnumDev fe928dbbd6 Fixed ActionsContainPackage BPMOperation receiver function incorrectly returning false 2024-10-22 17:43:05 +03:00
EnumDev 0b439bcfed Changed BPM Version to 0.5.0 2024-10-22 15:37:16 +03:00
EnumDev 4aed0fe5b0 Made GetArch() function run independently of the 'uname' command 2024-10-21 21:55:39 +03:00
EnumDev a054717b23 Improved package removal and fixed bugs related to it 2024-10-21 21:51:03 +03:00
EnumDev 918ff984ca Moved package fetching, installation and removal functionality to operations.go 2024-10-17 11:54:32 +03:00
EnumDev a7b025d92d Removed additional empty line in output 2024-10-15 14:34:32 +03:00
EnumDev ef16fa8195 Improve tarball single file reading 2024-10-15 14:34:01 +03:00
EnumDev 1aec288013 Added octal permissions to BPMFileEntry struct 2024-10-15 12:20:26 +03:00
EnumDev 7816d0072c Added BPM operation structs which make handling package installation/removal easier and fixed multiple bugs 2024-10-15 10:03:06 +03:00
EnumDev 1bd57110a0 Removed some unused functions and renamed some variables 2024-10-10 12:44:06 +03:00
EnumDev 76efa42bcf Started implementation on the new bpm file structure 2024-10-10 12:36:29 +03:00
EnumDev c8939614b1 Fixed circular dependency problems 2024-10-08 20:21:49 +03:00
EnumDev 4793424f3d Fixed error when installing new package 2024-10-08 11:10:49 +03:00
EnumDev e1726ddce5 Add pre_remove.sh package scripts 2024-10-07 19:30:42 +03:00
EnumDev e6cfd112ea Improved version comparison 2024-10-07 19:12:17 +03:00
EnumDev 2d35ac12a1 Provided packages should now function correctly 2024-10-07 14:47:57 +03:00
EnumDev a3d1167358 Replaced references to old username (CapCreeperGR) with new username (EnumDev) to avoid confusion 2024-10-07 09:36:38 +03:00
EnumDev 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
EnumDev 108e355e94 Standardized error message formatting 2024-09-14 16:09:20 +03:00
EnumDev 7b491874eb Small fixes 2024-09-14 12:27:14 +03:00
EnumDev 82d3c8bd51 Added package revision numbers 2024-09-11 13:11:35 +03:00
EnumDev 7a489af220 Added fetch status messages while installing or updating 2024-09-11 12:54:42 +03:00
EnumDev fd6ddbfc41 Simplified 'install' subcommand and fixed a few minor bugs related to installing local packages 2024-09-10 11:53:16 +03:00
EnumDev bc489ebd23 Added 'update' subcommand and small fix to the 'install' subcommand 2024-09-09 11:33:48 +03:00
EnumDev 6247c6eff7 Added 'search' subcommand and removed repository functionality from 'info' subcommand 2024-09-08 12:51:47 +03:00
EnumDev c24b7c85e3 Improved dependency resolution and improved the 'install' subcommand 2024-09-08 11:50:16 +03:00
EnumDev 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
EnumDev 747c770499 minor improvements to dependency resolution 2024-08-31 09:11:19 +03:00
EnumDev 26500d670d 'bpm info' will now exit with exit code 1 when package can't be found 2024-08-29 18:29:46 +03:00
EnumDev 59df2324e6 Added basic remote repository functionality to the install subcommand 2024-08-29 16:52:29 +03:00
EnumDev 12d5e7580e Disabled repositories will now be removed from the Repositories slice immediately 2024-08-28 10:58:49 +03:00
EnumDev 123697e1dc Added basic remote repository functionality 2024-08-28 10:34:27 +03:00
EnumDev 743918702a Improved dependency resolution to account for provided packages 2024-08-27 15:29:42 +03:00
EnumDev 7d2caa542c Renamed bpm_utils to utils to avoid confusion with the bpm package creation utilities 2024-08-27 15:22:51 +03:00
EnumDev ab75193022 Added installation reason and improved console output readability 2024-08-27 11:07:53 +03:00
EnumDev 7d577a8dc2 Improved 'keep' files/directory code and fixed said files from being removed as obsolete 2024-08-26 21:59:59 +03:00
EnumDev c85c9b5d1c Switched to using yaml for package metadata and added verbose flag 2024-08-26 20:51:21 +03:00