
Author: Netkas Date: Fri Nov 25 01:04:27 2022 -0500 Added PackageNotFoundException.php :100644 100644 8387d159ffda6d
M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 000000088bd370
A src/ncc/Exceptions/PackageNotFoundException.php 2 files changed, 36 insertions(+), 1 deletion(-) commit 8da4f532a146d626db1ee388eeb763ae14523589 Author: Netkas Date: Fri Nov 25 01:03:50 2022 -0500 Added uninstallation method to the CLI :100644 100644 73d7ad6319eac9
M src/ncc/CLI/PackageManagerMenu.php 1 file changed, 109 insertions(+), 1 deletion(-) commit 99298b12a7a3de539a9047016d4170db11fe0e61 Author: Netkas Date: Fri Nov 25 01:03:27 2022 -0500 Updated \ncc\Managers > PackageManager > uninstallPackageVersion() to save the PackageLock once modifications are done :100644 100644 174f7043719e2b
M src/ncc/Managers/PackageManager.php 1 file changed, 3 insertions(+) commit 44d8a489ccb15abb7ec7645c3f438d828b4a1570 Author: Netkas Date: Fri Nov 25 00:47:27 2022 -0500 Minor correction in \ncc\Utilities > Console > outException() :100644 100644 8646fbb30bd0ff
M src/ncc/Utilities/Console.php 1 file changed, 1 insertion(+), 1 deletion(-) commit 5132089e76f8a41976acf59655a80593ec11a39f Author: Netkas Date: Fri Nov 25 00:36:11 2022 -0500 Added void return type to \ncc\Managers > PackageManager > uninstallPackage() :100644 100644 d586c92 174f704 M src/ncc/Managers/PackageManager.php 1 file changed, 1 insertion(+), 1 deletion(-) commit 2390c6395cc60a5221a0c3064283200ed47273da Author: Netkas Date: Fri Nov 25 00:35:42 2022 -0500 Added method uninstallPackage() to \ncc\Managers > PackageManager :100644 100644 d84281b d586c92 M src/ncc/Managers/PackageManager.php 1 file changed, 33 insertions(+) commit 263f50a6680f26c47c04c92941ac9cc82b2b43d3 Author: Netkas Date: Fri Nov 25 00:35:12 2022 -0500 Added method uninstallPackageVersion() to \ncc\Managers > PackageManager :100644 100644 ddf601a d84281b M src/ncc/Managers/PackageManager.php 1 file changed, 59 insertions(+) commit cf4b7844bb256dbfb367e93907813bf9328517e2 Author: Netkas Date: Fri Nov 25 00:12:38 2022 -0500 Updated \ncc\Utilities > Console > outExceptionDetails() to display Error Code :100644 100644 cb7c985 8646fbb M src/ncc/Utilities/Console.php 1 file changed, 1 insertion(+), 1 deletion(-) commit 2bbef1ccbe9001d84be7306b721e7f11834f7cf5 Author: Netkas Date: Thu Nov 24 23:24:59 2022 -0500 Corrected parameters :100644 100644 d605afb 73d7ad6 M src/ncc/CLI/PackageManagerMenu.php :100644 100644 1348644 ddf601a M src/ncc/Managers/PackageManager.php :100644 100644 9e2b72d3e4d055
M src/ncc/Objects/PackageLock.php 3 files changed, 5 insertions(+), 5 deletions(-) commit 7a0ed8206fd0feffd26a73aad246f93ab1ac5250 Author: Netkas Date: Thu Nov 24 18:29:27 2022 -0500 Added pkg_struct_1.0.png :000000 100644 000000031b102a
A assets/pkg_struct_1.0.png 1 file changed, 0 insertions(+), 0 deletions(-) commit 58d2b0fd0ebf7b0fe54506fc3eae5cf0c7d44d7a Author: Netkas Date: Thu Nov 24 18:20:39 2022 -0500 Added ExitHandler Object to execution_policy.md :100644 100644 66106c9f5b851b
M docs/project_configuration/execution_policy.md 1 file changed, 32 insertions(+), 1 deletion(-) commit 188c840ed3a881829125efa22cb02019273b2c80 Author: Netkas Date: Thu Nov 24 18:13:19 2022 -0500 Corrected permission :100644 100644 3ab3f4826732b9
M src/installer/installer 1 file changed, 1 insertion(+), 1 deletion(-) commit c5620f3d5c68777f28987b710c5b550a1e83fbf0 Author: Netkas Date: Thu Nov 24 17:58:16 2022 -0500 Various improvements :100644 100644 73ff4fa 3ab3f48 M src/installer/installer :100644 100644 ba501c9ade05ec
M src/ncc/Classes/PhpExtension/Installer.php :100644 100644 da030cc4c7d6cb
M src/ncc/Managers/PackageLockManager.php :100644 100644 2a87036 1348644 M src/ncc/Managers/PackageManager.php :100644 100644 630a9e01838950
M src/ncc/Utilities/Functions.php :100644 100644 947d8b15e08303
M src/ncc/Utilities/PathFinder.php 6 files changed, 18 insertions(+), 66 deletions(-) commit 9458446e18dc12dfff814e9c918f71c9fb033435 Author: Netkas Date: Thu Nov 24 17:28:58 2022 -0500 Optimized installer :100644 100644 6f9ae9c 73ff4fa M src/installer/installer 1 file changed, 5 insertions(+), 23 deletions(-) commit b8c88bf4226e88760df221bb95070b8c34f3768d Author: Netkas Date: Thu Nov 24 17:26:37 2022 -0500 Added method initializeFiles() to \ncc\Utilities > Functions :100644 100644 9aa235b 630a9e0 M src/ncc/Utilities/Functions.php 1 file changed, 79 insertions(+) commit c456a398932ca6864142e659ccec4de309c56398 Author: Netkas Date: Thu Nov 24 17:23:28 2022 -0500 Added method constructLockFile() in \ncc\Managers > PackageLockManager :100644 100644 0969e8f da030cc M src/ncc/Managers/PackageLockManager.php 1 file changed, 21 insertions(+) commit e4f07b382802bbd15df33a9c27ab4518c831b8f1 Author: Netkas Date: Thu Nov 24 17:17:39 2022 -0500 Removed two unused methods :100644 100644 0324a49 947d8b1 M src/ncc/Utilities/PathFinder.php 1 file changed, 47 deletions(-) commit cdd91090173e175e519e215e84abd7a557db0200 Author: Netkas Date: Thu Nov 24 17:06:35 2022 -0500 Unset $e :100644 100644 f7606f5 d605afb M src/ncc/CLI/PackageManagerMenu.php 1 file changed, 1 insertion(+) commit dfc4ddc89b5fab99cc225361dcbc9a67e1b53b0b Author: Netkas Date: Thu Nov 24 17:06:15 2022 -0500 Implemented 'y' arg to \ncc\CLI > PackageManagerMenu > installPackage() :100644 100644 84c946e f7606f5 M src/ncc/CLI/PackageManagerMenu.php 1 file changed, 8 insertions(+), 2 deletions(-) commit 145fa07b8a6efac13824a9d00f2ac2ad2db3a245 Author: Netkas Date: Thu Nov 24 17:02:12 2022 -0500 Minor optimization in \ncc\CLI > PackageManagerMenu > getInstalledPackages() :100644 100644 b5addce 84c946e M src/ncc/CLI/PackageManagerMenu.php 1 file changed, 24 insertions(+), 22 deletions(-) commit 3e52a30096653e3bf212b4e7e36ce6f94d245ee3 Author: Netkas Date: Thu Nov 24 17:01:06 2022 -0500 Implemented method getInstalledPackages() to \ncc\CLI > PackageManagerMenu :100644 100644 97babba b5addce M src/ncc/CLI/PackageManagerMenu.php 1 file changed, 67 insertions(+), 1 deletion(-) commit cb8e4a67378fb073a34da1f3921dacfb66cd0a95 Author: Netkas Date: Thu Nov 24 16:48:28 2022 -0500 Implemented installPackage() in \ncc\CLI > PackageManagerMenu :100644 100644 87306f5 97babba M src/ncc/CLI/PackageManagerMenu.php 1 file changed, 109 insertions(+), 3 deletions(-) commit 5bfd226ba347eea55b99848d5ef30e0d29fb9e27 Author: Netkas Date: Tue Nov 22 02:02:30 2022 -0500 Updated method \ncc\Utilities > Console > formatColor() to respect the '--no-color' parameter :100644 100644 af70c49 cb7c985 M src/ncc/Utilities/Console.php 1 file changed, 5 insertions(+) commit fdd3c921cc734a6d9a385e520de7011a583aea63 Author: Netkas Date: Tue Nov 22 01:43:56 2022 -0500 Added package install check to \ncc\Managers > PackageManagers > install() :100644 100644 cbf94ce 2a87036 M src/ncc/Managers/PackageManager.php 1 file changed, 7 insertions(+) commit 5180174e8a0a26405eb775ceccad75db68144530 Author: Netkas Date: Tue Nov 22 01:41:49 2022 -0500 Added Exception PackageAlreadyInstalledException.php :100644 100644 d285c46 8387d15 M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 0000000fbf5c49
A src/ncc/Exceptions/PackageAlreadyInstalledException.php 2 files changed, 36 insertions(+), 1 deletion(-) commit c9923612fe689e83fb9301418c4faae6b14f1151 Merge: 5de462a 2a49dbc Author: Netkas Date: Tue Nov 22 01:34:50 2022 -0500 Merge remote-tracking branch 'origin/pkgmngr' into pkgmngr commit 5de462a45b378d94e22caf23e21ca1986d9c693b Author: Netkas Date: Tue Nov 22 01:18:28 2022 -0500 Load if null in \ncc\Managers > PackageLockManager > getPackageLock() Updated @throws in PackageManager.php Added method getPackages() to \ncc\Managers > PackageManager Added method getPackages() to \ncc\Objects > PackageLock Added parameter 'install_path' to \ncc\Objects\PackageLock > PackageEntry > addVersion() Added property 'Location' to \ncc\Objects\PackageLock > versionEntry Added method \ncc\Objects > PackageLock > getPackage() Added method getPackage(), getPackageVersion(), getLatestVersion() to \ncc\Managers > PackageManager :100644 100644 93d924d 0969e8f M src/ncc/Managers/PackageLockManager.php :100644 100644 5acd0a6 cbf94ce M src/ncc/Managers/PackageManager.php :100644 100644 e2e84d9 9e2b72d M src/ncc/Objects/PackageLock.php :100644 100644 3447fca43cf7a9
M src/ncc/Objects/PackageLock/PackageEntry.php :100644 100644 88de3f0f512c4a
M src/ncc/Objects/PackageLock/VersionEntry.php 5 files changed, 106 insertions(+), 8 deletions(-) commit 2a49dbc224ec1328d040762857aa716f8b605041 Author: Netkas Date: Tue Nov 22 01:32:51 2022 -0500 Load if null in \ncc\Managers > PackageLockManager > getPackageLock() :100644 100644 93d924d 0969e8f M src/ncc/Managers/PackageLockManager.php 1 file changed, 3 insertions(+) commit f576d2cd48fc70b4573cc7636f4f30b1225ac6bc Author: Netkas Date: Tue Nov 22 01:32:13 2022 -0500 Updated @throws in PackageManager.php :100644 100644 c81b493 cbf94ce M src/ncc/Managers/PackageManager.php 1 file changed, 6 insertions(+) commit 5c9ab0dd00a2985ed98b61684e438c6d4081a92b Author: Netkas Date: Tue Nov 22 01:27:26 2022 -0500 Added method getPackages() to \ncc\Managers > PackageManager :100644 100644 16447d6 c81b493 M src/ncc/Managers/PackageManager.php 1 file changed, 11 insertions(+), 1 deletion(-) commit 6ae9ed251c0db0bc26be23444d06aa76287a705e Author: Netkas Date: Tue Nov 22 01:26:22 2022 -0500 Added method getPackages() to \ncc\Objects > PackageLock :100644 100644 97adbeb 9e2b72d M src/ncc/Objects/PackageLock.php 1 file changed, 13 insertions(+) commit f23673fe3fa2a22fd0e2d3cd3da71aced2124940 Author: Netkas Date: Tue Nov 22 01:20:53 2022 -0500 Added parameter 'install_path' to \ncc\Objects\PackageLock > PackageEntry > addVersion() :100644 100644 3447fca43cf7a9
M src/ncc/Objects/PackageLock/PackageEntry.php 1 file changed, 3 insertions(+), 1 deletion(-) commit 80304b778984c88f92825a3de52c632f944e2e61 Author: Netkas Date: Tue Nov 22 01:19:57 2022 -0500 Added property 'Location' to \ncc\Objects\PackageLock > versionEntry :100644 100644 88de3f0f512c4a
M src/ncc/Objects/PackageLock/VersionEntry.php 1 file changed, 9 insertions(+) commit 74078ab6f1ebeee2f1de0c5a683ac178974949ca Author: Netkas Date: Tue Nov 22 01:19:07 2022 -0500 Added method \ncc\Objects > PackageLock > getPackage() :100644 100644 e2e84d9 97adbeb M src/ncc/Objects/PackageLock.php 1 file changed, 19 insertions(+), 2 deletions(-) commit 20e1a7caa4bef6a8d77a58d7ffed782e1d984b65 Author: Netkas Date: Tue Nov 22 01:18:28 2022 -0500 Added method getPackage(), getPackageVersion(), getLatestVersion() to \ncc\Managers > PackageManager :100644 100644 5acd0a6 16447d6 M src/ncc/Managers/PackageManager.php 1 file changed, 42 insertions(+), 4 deletions(-) commit 048d9774930fa435118a075853713c3410c6adc9 Author: Netkas Date: Tue Nov 22 00:58:48 2022 -0500 Removed extension dir in \ncc\Managers > PackageManager > install() :100644 100644 95a20f5 5acd0a6 M src/ncc/Managers/PackageManager.php 1 file changed, 1 insertion(+), 1 deletion(-) commit b1f64293d4e4b413341775beef3d97f8502ae90b Author: Netkas Date: Tue Nov 22 00:57:11 2022 -0500 Updated \ncc\Managers > PackageManager > install() :100644 100644 f83bdef 95a20f5 M src/ncc/Managers/PackageManager.php 1 file changed, 3 insertions(+), 2 deletions(-) commit b32c0c431a0e71cdf5118d9d92af342ff7bcbc4e Author: Netkas Date: Tue Nov 22 00:56:18 2022 -0500 Corrected return type in \ncc\Utilities > RuntimeCache > set() :100644 100644 622885e996db9c
M src/ncc/Utilities/RuntimeCache.php 1 file changed, 2 insertions(+), 2 deletions(-) commit 0f0ec6fead748e3f91f3966dd372c3d012eb874a Author: Netkas Date: Tue Nov 22 00:55:47 2022 -0500 Added PackageLock cache :100644 100644 f8e35d1 93d924d M src/ncc/Managers/PackageLockManager.php 1 file changed, 10 insertions(+) commit 84a51870bd6df93302eeae988ab2d448ca42e38f Author: Netkas Date: Tue Nov 22 00:44:53 2022 -0500 Added scope check to \ncc\Managers > PackageManager > install() :100644 100644 18dd0e4 f83bdef M src/ncc/Managers/PackageManager.php 1 file changed, 3 insertions(+) commit 8fd9d023d88992479461f9c3155b5d91e5a0b8d0 Author: Netkas Date: Tue Nov 22 00:24:49 2022 -0500 Added debugging and verbose statements :100644 100644 28a5210a2a269f
M src/ncc/CLI/Main.php :100644 100644 871e9aa8ac9bae
M src/ncc/Classes/NccExtension/PackageCompiler.php :100644 100644 5a86ecfd6df577
M src/ncc/Classes/PhpExtension/Compiler.php :100644 100644 c5c8e76 ba501c9 M src/ncc/Classes/PhpExtension/Installer.php :100644 100644 9524f49 f8e35d1 M src/ncc/Managers/PackageLockManager.php :100644 100644 2d37ba0 18dd0e4 M src/ncc/Managers/PackageManager.php 6 files changed, 45 insertions(+), 5 deletions(-) commit aec9944b3698f3e2ad07c76f3599f07ffc209165 Author: Netkas Date: Mon Nov 21 22:31:39 2022 -0500 Added Debugging messages in fwrite() and fread() in \ncc\Utilities > IO :100644 100644 aefa8587b9c5be
M src/ncc/Utilities/IO.php 1 file changed, 2 insertions(+) commit 8e4afc6ff84044a1f9954d1e98bc22dfa6a3bf43 Author: Netkas Date: Mon Nov 21 22:31:07 2022 -0500 Improved method cbc() in \ncc\Utilities > Functions to cache hash results in RuntimeCache :100644 100644 bd23434 9aa235b M src/ncc/Utilities/Functions.php 1 file changed, 19 insertions(+), 1 deletion(-) commit ff1ed0a41b3385a4389907b6f7a68d19ad626e2d Author: Netkas Date: Mon Nov 21 22:30:04 2022 -0500 Added \ncc\Utilities > RuntimeCache :000000 100644 0000000 622885e A src/ncc/Utilities/RuntimeCache.php 1 file changed, 40 insertions(+) commit 8e4bad74eaa00e5d231310feea576e88adbb790a Author: Netkas Date: Mon Nov 21 22:04:57 2022 -0500 Improved various functoins in Console.php :100644 100644 0969216 af70c49 M src/ncc/Utilities/Console.php 1 file changed, 70 insertions(+), 4 deletions(-) commit 4da4278d55af50c4f3d147ebf43f638b0edf1c5a Author: Netkas Date: Mon Nov 21 17:43:28 2022 -0500 addded validate() method to \ncc\Objects\ProjectConfiguration > ExecutionPolicy :100644 100644 151909cb627a30
M src/ncc/Objects/ProjectConfiguration/ExecutionPolicy.php 1 file changed, 10 insertions(+), 1 deletion(-) commit 65f159604e47f3608ecd2384ae270cb51bf0d4ff Author: Netkas Date: Mon Nov 21 17:41:57 2022 -0500 Changed verbose log prefix :100644 100644 cceedef 0969216 M src/ncc/Utilities/Console.php 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e9c8dad0a12b25b2f98569b61879edfc23e9b49 Author: Netkas Date: Mon Nov 21 17:41:33 2022 -0500 Still add default to property in \ncc\CLI > Main > start() :100644 100644 088905a 28a5210 M src/ncc/CLI/Main.php 1 file changed, 9 insertions(+), 7 deletions(-) commit 857141d93a7e4a75425eb097962ff4f09b453d0e Author: Netkas Date: Mon Nov 21 17:41:05 2022 -0500 Corrected switch statement in \ncc\Utilities > Resolver > checkLogLevel() :100644 100644 bc3636a4d172a0
M src/ncc/Utilities/Resolver.php 1 file changed, 11 insertions(+), 11 deletions(-) commit 94985da3d603e5e79597dd945a4a251bfbd4c357 Author: Netkas Date: Mon Nov 21 17:40:30 2022 -0500 Added debugging stuff :100644 100644 0041096 871e9aa M src/ncc/Classes/NccExtension/PackageCompiler.php 1 file changed, 11 insertions(+) commit 03920cec86228d086bf29fd72109ec8e0ba23c44 Author: Netkas Date: Mon Nov 21 17:40:04 2022 -0500 Added some debugging stuff :100644 100644 ab40863 5a86ecf M src/ncc/Classes/PhpExtension/Compiler.php 1 file changed, 5 insertions(+), 2 deletions(-) commit 37a594751808d3beb24933f279a2a78c812ae872 Author: Netkas Date: Mon Nov 21 16:18:29 2022 -0500 Updated method inlineProgressBar() in \ncc\Utilities > Console to return if log levels are Debug, Verbose or Silent. :100644 100644 af9ac44 cceedef M src/ncc/Utilities/Console.php 1 file changed, 14 insertions(+) commit a2aba15483962a091c4e515751eb4c08efc4e67d Author: Netkas Date: Mon Nov 21 16:15:13 2022 -0500 Various bug fixes :100644 100644 c34f9e5 088905a M src/ncc/CLI/Main.php :100644 100644 aa63562 c5c8e76 M src/ncc/Classes/PhpExtension/Installer.php :100644 100644 d315024 9524f49 M src/ncc/Managers/PackageLockManager.php :100644 100644 84be772 2d37ba0 M src/ncc/Managers/PackageManager.php :100644 100644 80110594dad3a6
M src/ncc/Objects/Package.php :100644 100644 fdf1136 e2e84d9 M src/ncc/Objects/PackageLock.php :100644 100644 df4071b82be14e
M src/ncc/Objects/PackageLock/DependencyEntry.php :100644 100644 7b27d0d 3447fca M src/ncc/Objects/PackageLock/PackageEntry.php :100644 100644 5be0cd7 88de3f0 M src/ncc/Objects/PackageLock/VersionEntry.php :100644 100644 2d5e5e8 aefa858 M src/ncc/Utilities/IO.php 10 files changed, 100 insertions(+), 79 deletions(-) commit ab02c328b945d888cc375d823a02370fcf1ca9b0 Author: Netkas Date: Mon Nov 21 14:23:34 2022 -0500 Added test load_package_lock.php :000000 100644 0000000258c388
A tests/package_lock/load_package_lock.php 1 file changed, 9 insertions(+) commit 3db549c5661c4195287d36a5fc04c722ecadcbf7 Author: Netkas Date: Sun Nov 20 23:13:57 2022 -0500 Removed length null check for files that are empty (0 bytes) :100644 100644 c886bb2 2d5e5e8 M src/ncc/Utilities/IO.php 1 file changed, 2 deletions(-) commit 96272441672a5ef32dabf57e1dda58506f182aa9 Author: Netkas Date: Sun Nov 20 18:56:09 2022 -0500 Added Null-check in \ncc\Utilities > Resolver > checkLogLevel() :100644 100644 4dd84f3 bc3636a M src/ncc/Utilities/Resolver.php 1 file changed, 8 insertions(+), 3 deletions(-) commit 75bdd974a080559ee57b454d11a7afe55bf7ad3f Author: Netkas Date: Sun Nov 20 18:55:21 2022 -0500 - Added LineBreak for outException() - Use 0777 for `perms` when dumping exception details so non-root users can delete the file :100644 100644 ad4251a af9ac44 M src/ncc/Utilities/Console.php 1 file changed, 2 insertions(+), 2 deletions(-) commit 68dc12898294f9387140185b724612b03847dc81 Author: Netkas Date: Sun Nov 20 18:32:35 2022 -0500 Added execution_policy.md to docs :000000 100644 0000000 66106c9 A docs/project_configuration/execution_policy.md 1 file changed, 120 insertions(+) commit 24e1243ca44a172976d7c4e79385e13a220325ff Author: Netkas Date: Sat Nov 19 00:18:10 2022 -0500 Added constant compiling implementation for ExecutionUnits :100644 100644 9784ca4 0041096 M src/ncc/Classes/NccExtension/PackageCompiler.php :100644 100644 0c71cdd ab40863 M src/ncc/Classes/PhpExtension/Compiler.php :100644 100644 7afb335 84be772 M src/ncc/Managers/PackageManager.php 3 files changed, 113 insertions(+), 22 deletions(-) commit 9a4db305699ad841bc343910840ea8692524da40 Author: Netkas Date: Fri Nov 18 05:31:41 2022 -0500 Deleted unused Functions.php :100644 000000dceff6e
0000000 D src/ncc/CLI/Functions.php 1 file changed, 31 deletions(-) commit 5b2efbc828a977cb060c6c7f96153c24f1135c61 Author: Netkas Date: Fri Nov 18 05:27:53 2022 -0500 Added ConstantReferences to \ncc\Abstracts :000000 100644 000000043cf7ae
A src/ncc/Abstracts/ConstantReferences.php 1 file changed, 14 insertions(+) commit 73a52a112b97500c6cf2f0dc304585f562400d2f Author: Netkas Date: Fri Nov 18 00:40:19 2022 -0500 Renamed ProjectConstants to AssemblyConstants :100644 100644 b3facbb1f277c4
R096 src/ncc/Abstracts/SpecialConstants/ProjectConstants.php src/ncc/Abstracts/SpecialConstants/AssemblyConstants.php :100644 100644 b5612395ab4597
M src/ncc/Classes/NccExtension/ConstantCompiler.php 2 files changed, 11 insertions(+), 11 deletions(-) commit 286cd53f7a09c0a21a2d903d20ade5dccc67b200 Author: Netkas Date: Fri Nov 18 00:37:57 2022 -0500 Updated method install() in \ncc\Managers > PackageManager to handle ExecutionUnits and execute units pre- or post-installation stages :100644 100644 ca6abd7 7afb335 M src/ncc/Managers/PackageManager.php 1 file changed, 50 insertions(+), 17 deletions(-) commit d77e2900c8d9c6a089073a27710c6162ad0c487e Author: Netkas Date: Fri Nov 18 00:36:13 2022 -0500 Added method getExecutionUnit() to \ncc\Objects > Package :100644 100644 2ac9535 8011059 M src/ncc/Objects/Package.php 1 file changed, 17 insertions(+) commit 7fa280f6772b18e3f9c7586bbf4c31e8cee84b82 Author: Netkas Date: Fri Nov 18 00:35:48 2022 -0500 Implemented \ncc\Objects\Package > Installer :100644 100644cbeb8b0
c368aac
M src/ncc/Objects/Package/Installer.php 1 file changed, 74 insertions(+), 3 deletions(-) commit 0c86fcffa1e0bca94b122544f5a426e657488bc5 Author: Netkas Date: Fri Nov 18 00:35:26 2022 -0500 Added method temporaryExecute() to \ncc\Managers > ExecutionPointerManager and some optimizations & corrections to the class. :100644 100644 d68afa2bedd2b5
M src/ncc/Managers/ExecutionPointerManager.php 1 file changed, 54 insertions(+), 7 deletions(-) commit 163aa8c1bf4b7d1fc10c12ff4c5fec08cc457308 Author: Netkas Date: Mon Nov 14 22:31:05 2022 -0500 Optimized Resolver.php :100644 100644 0e62cf9 4dd84f3 M src/ncc/Utilities/Resolver.php 1 file changed, 19 insertions(+), 4 deletions(-) commit 2671e79d1bc60093c30fc3d6be7c29af8956eff1 Author: Netkas Date: Mon Nov 14 20:55:01 2022 -0500 Added Runner.php :000000 100644 00000002133137
A src/ncc/Classes/NccExtension/Runner.php 1 file changed, 47 insertions(+) commit edab8bfb484fb890ba771f0e3f68a6d71e4a23ba Author: Netkas Date: Mon Nov 14 20:54:39 2022 -0500 Improved RunnerInterface to be more minimal :100644 100644 d77c5e1fe8dbb4
M src/ncc/Classes/PhpExtension/Runner.php :100644 100644 f52c6ad4d118c4
M src/ncc/Interfaces/RunnerInterface.php 2 files changed, 38 insertions(+), 16 deletions(-) commit 0ed789acca6a7fe6b22cb3e9d0f653f2a925c1bc Author: Netkas Date: Mon Nov 14 20:53:54 2022 -0500 Updated Constructor in \ncc\Objects\ExecutionPointers > ExecutionPointer :100644 100644 19d6b259a5747e
M src/ncc/Objects/ExecutionPointers/ExecutionPointer.php 1 file changed, 2 insertions(+), 2 deletions(-) commit e8c1b1da41c0d6cb4f9875be7eeab9b24f174eda Author: Netkas Date: Mon Nov 14 20:53:26 2022 -0500 Updated Constructor and added methods toArray() and fromArray() to \ncc\Objects > ExecutionPointers :100644 100644 3ac4e569181c03
M src/ncc/Objects/ExecutionPointers.php 1 file changed, 46 insertions(+), 8 deletions(-) commit 03829e43ef6567cd193af6125d7c04b685ecd2ed Author: Netkas Date: Mon Nov 14 20:52:49 2022 -0500 Added small file delete condition in \ncc\Managers > ExecutionPointerManager > addUnit() :100644 100644 fc31539 d68afa2 M src/ncc/Managers/ExecutionPointerManager.php 1 file changed, 4 insertions(+) commit 807bee0236b77d0f6e75e57df8a46a2376f0caa2 Author: Netkas Date: Mon Nov 14 20:47:32 2022 -0500 Added ExecutionPointerManager.php :000000 100644 0000000 fc31539 A src/ncc/Managers/ExecutionPointerManager.php 1 file changed, 373 insertions(+) commit 7db5c31b8686624349eb8e1bc30e6dde74bcc66d Author: Netkas Date: Mon Nov 14 14:56:29 2022 -0500 Added ExecutionUnitNotFoundException.php Added NoAvailableUnitsException.php Added RunnerExecutionException.php Added ExecutionPointer.php Added ExecutionPointers.php :100644 100644 305dbeb d285c46 M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 0000000228f512
A src/ncc/Exceptions/ExecutionUnitNotFoundException.php :000000 100644 000000056d61ac
A src/ncc/Exceptions/NoAvailableUnitsException.php :000000 100644 0000000e568dd1
A src/ncc/Exceptions/RunnerExecutionException.php :000000 100644 0000000 3ac4e56 A src/ncc/Objects/ExecutionPointers.php :000000 100644 0000000 19d6b25 A src/ncc/Objects/ExecutionPointers/ExecutionPointer.php 6 files changed, 297 insertions(+), 1 deletion(-) commit f1b451ca290f81e78a66e50a25001f733f11cfe1 Author: Netkas Date: Mon Nov 14 14:28:15 2022 -0500 Added method getRunnerPath() to \ncc\Utilities > PathFinder :100644 100644373c0fa
0324a49 M src/ncc/Utilities/PathFinder.php 1 file changed, 13 insertions(+) commit 4c49846b3585ee0550758a79daef86b16c249ba4 Author: Netkas Date: Mon Nov 14 14:27:43 2022 -0500 Added method exceedsPathLength() to \ncc\Utilities > Validate :100644 100644 bbfe3a6368f6ac
M src/ncc/Utilities/Validate.php 1 file changed, 14 insertions(+) commit d4cea6b095e09e649fca5e239f8ef47d02b92c52 Author: Netkas Date: Sun Nov 13 19:38:28 2022 -0500 Added PackageLockManager.php :000000 100644 0000000 d315024 A src/ncc/Managers/PackageLockManager.php 1 file changed, 115 insertions(+) commit e77e0408a8ba1990e3bb49861112b4f0badadcfa Author: Netkas Date: Sun Nov 13 19:38:02 2022 -0500 Added PackageManager.php :000000 100644 0000000 ca6abd7 A src/ncc/Managers/PackageManager.php 1 file changed, 247 insertions(+) commit ec8f00c4c7a74c8798fb9d302559b15909733ccb Author: Netkas Date: Sun Nov 13 19:35:10 2022 -0500 Updated Method \ncc\Objects > PackageLock > addPackage() to add versions even when package entry exists. :100644 100644 10bc0de fdf1136 M src/ncc/Objects/PackageLock.php 1 file changed, 5 insertions(+) commit 1f43d8b3c9496cdab9b06a0ada184363cfac68e7 Author: Netkas Date: Sun Nov 13 19:27:18 2022 -0500 Added MainExecutionPolicy property set in \ncc\Classes\PhpExtension > Compiler > prepare() :100644 100644 dbf710c 0c71cdd M src/ncc/Classes/PhpExtension/Compiler.php 1 file changed, 1 insertion(+) commit 95844595ae13c8eaa4d8a56c756da0d1e52fd96e Author: Netkas Date: Sun Nov 13 18:53:12 2022 -0500 Added 'AllConfigurations' to \ncc\Abstracts\Options > BuildConfigurationValues :100644 1006443f90126
9b9d555
M src/ncc/Abstracts/Options/BuildConfigurationValues.php 1 file changed, 2 insertions(+) commit 3fa456ed888670e89eeae6f9a2de8c77a0495e9c Author: Netkas Date: Sun Nov 13 18:52:20 2022 -0500 Cleaned up build method in NCC :100644 100644 32d9731e88d85a
M src/ncc/CLI/BuildMenu.php :100644 100644 d03964a 9784ca4 M src/ncc/Classes/NccExtension/PackageCompiler.php :100644 100644a9d0e42
286910b
M src/ncc/Managers/ProjectManager.php 3 files changed, 216 insertions(+), 147 deletions(-) commit 300d6326082e0b603a61e2a0eff0dfe0350cc768 Author: Netkas Date: Sun Nov 13 18:51:25 2022 -0500 Added logging properties in \ncc\CLI > Main :100644 100644 74151af c34f9e5 M src/ncc/CLI/Main.php 1 file changed, 33 insertions(+) commit 6edf0fb514ea4ef079fd013f58a2c0f046abbf36 Author: Netkas Date: Sun Nov 13 16:52:58 2022 -0500 Implemented LogLevel Added LogLevel.php :000000 100644 00000006817c6e
A src/ncc/Abstracts/LogLevel.php :100644 100644 f91cf37 ad4251a M src/ncc/Utilities/Console.php :100644 100644036248a
0e62cf9 M src/ncc/Utilities/Resolver.php :100644 100644 77362be bbfe3a6 M src/ncc/Utilities/Validate.php 4 files changed, 179 insertions(+), 1 deletion(-) commit 729d84168869591be79b463a60314b8511cfe8c4 Author: Netkas Date: Sun Nov 13 16:21:14 2022 -0500 Added ExceptionHandling in Console.php :100644 100644 f08f5fa f91cf37 M src/ncc/Utilities/Console.php 1 file changed, 6 insertions(+), 10 deletions(-) commit 3daad842b9278b5e89e04a7e00367bda108c0a04 Author: Netkas Date: Sun Nov 13 12:51:15 2022 -0500 Added ProjectConfigurationNotFoundException.php :100644 100644 e12d9f9 305dbeb M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 00000002897f72
A src/ncc/Exceptions/ProjectConfigurationNotFoundException.php 2 files changed, 21 insertions(+), 1 deletion(-) commit dc110111dcc57e6dae272340bc82da5c1b654823 Author: Netkas Date: Sat Nov 12 07:15:48 2022 -0500 Formatting :100644 100644 6abd7e5 87306f5 M src/ncc/CLI/PackageManagerMenu.php 1 file changed, 1 insertion(+), 2 deletions(-) commit 825023118cc951a1e6270d277a184c1474b926da Author: Netkas Date: Sat Nov 12 07:10:57 2022 -0500 Changed MainExecutionPolicy property type from ExecutionPolicy to string Added MainExecutionPolicy to \ncc\Objects\PackageLock > VersionEntry :100644 100644 5da50a1 2ac9535 M src/ncc/Objects/Package.php :100644 100644 f209b68 7b27d0d M src/ncc/Objects/PackageLock/PackageEntry.php :100644 100644 0387937 5be0cd7 M src/ncc/Objects/PackageLock/VersionEntry.php 3 files changed, 12 insertions(+), 5 deletions(-) commit f7a1b6ed1691b2edfe6ec145c50ad5f6dcc7534f Author: Netkas Date: Sat Nov 12 06:51:43 2022 -0500 Added methods removeVersion(), getLatestVersion(), getVersions() to \ncc\Objects\PackageLock > PackageEntry :100644 100644 13afbc6 f209b68 M src/ncc/Objects/PackageLock/PackageEntry.php 1 file changed, 125 insertions(+) commit 06c8792c568ab0e1e4fb41fb854dcd39d36adca9 Author: Netkas Date: Fri Nov 11 08:33:19 2022 -0500 Opt to use builtin base64_encode() and base64_decode() when available to improve performance. :100644 100644f1d7b5e
9c75af3
M src/ncc/Utilities/Base64.php 1 file changed, 7 insertions(+) commit e16c3ebd746f6160fdc29f92b71664b85d9c40da Author: Netkas Date: Fri Nov 11 05:53:01 2022 -0500 Updated ID handler in \ncc\Objects\Package > PackageUnit :100644 100644 bbdfa5275940cc
M src/ncc/Objects/Package/ExecutionUnit.php 1 file changed, 13 insertions(+), 6 deletions(-) commit 04bc2eb99ed5c3ac1b047b5eb9b48d4af09c4a6d Author: Netkas Date: Fri Nov 11 04:53:36 2022 -0500 Updated Runner in \ncc\Classes\PhpExtension :100644 100644 202e501 d77c5e1 M src/ncc/Classes/PhpExtension/Runner.php :100644 100644 8be9927 f52c6ad M src/ncc/Interfaces/RunnerInterface.php 2 files changed, 6 insertions(+), 9 deletions(-) commit d78dd984a700f652d4c325b70eec1beb8f1d5c8b Author: Netkas Date: Fri Nov 11 04:29:13 2022 -0500 Added checks for the results in \ncc\Objects > ProjectConfiguration > getRequiredExecutionPolicies() :100644 100644 370181cf361a3e
M src/ncc/Objects/ProjectConfiguration.php 1 file changed, 58 insertions(+) commit cd1d9407d6ce8ca46d16af52212870ef9685aa87 Author: Netkas Date: Fri Nov 11 04:12:37 2022 -0500 Added properties preBuild() and postBuild() to \ncc\Objects\ProjectConfiguration > Build :100644 100644 60101eb71caa85
M src/ncc/Objects/ProjectConfiguration/Build.php 1 file changed, 18 insertions(+) commit 8cdddf60a42aba2edfce4e7cd881f695cc7eec56 Author: Netkas Date: Fri Nov 11 04:12:07 2022 -0500 Added Installer to \ncc\Objects\ProjectConfiguration :000000 100644 000000030dda88
A src/ncc/Objects/ProjectConfiguration/Installer.php 1 file changed, 88 insertions(+) commit eddb59ed47831fa71f8a10e5df0ee961b63d4ba0 Author: Netkas Date: Fri Nov 11 04:11:46 2022 -0500 Added PackageLock.php (\ncc\Objects > PackageLock) :000000 100644 0000000 10bc0de A src/ncc/Objects/PackageLock.php 1 file changed, 157 insertions(+) commit eae1ea7b25ca083e40869cf2777d9f51a5cf4a31 Author: Netkas Date: Fri Nov 11 04:10:20 2022 -0500 Implemented Execution Policy reference validation in \ncc\Objects > ProjectConfiguration added method getRequiredExecutionPolicies() to \ncc\Objects > ProjectConfiguration to return required execution policies for the selected build configuration Added method processBuildPolicies() to \ncc\Objects > ProjectConfiguration to return required execution policies for the given build configuration :100644 100644 c987271 370181c M src/ncc/Objects/ProjectConfiguration.php 1 file changed, 161 insertions(+), 2 deletions(-) commit 8d9a6e49f89fb078cb4e8aabd4e39e060deaa7c2 Author: Netkas Date: Fri Nov 11 04:03:19 2022 -0500 Added Public Constructor to \ncc\Objects\ProjectConfiguration\ExecutionPolicy > Execute :100644 100644 7e31ce80cc164a
M src/ncc/Objects/ProjectConfiguration/ExecutionPolicy/Execute.php 1 file changed, 11 insertions(+) commit dbcd231358bf0f520921fd71d6a8db80f5b89429 Author: Netkas Date: Fri Nov 11 04:01:40 2022 -0500 Added PreBuild and PostBuild to \ncc\Objects\ProjectConfiguration > BuildConfiguration :100644 100644cc80ef6
45a8bf5
M src/ncc/Objects/ProjectConfiguration/BuildConfiguration.php 1 file changed, 23 insertions(+), 12 deletions(-) commit a204788ecfa0cec7bbc8802eefc2b08a1b976143 Author: Netkas Date: Fri Nov 11 03:59:51 2022 -0500 Added exception InvalidExecutionPolicyName.php :100644 100644 eb82f32 e12d9f9 M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 00000002699960
A src/ncc/Exceptions/InvalidExecutionPolicyName.php 2 files changed, 22 insertions(+), 1 deletion(-) commit 3190426e4faf724006ab738d0cc3e3719f366258 Author: Netkas Date: Fri Nov 11 03:56:55 2022 -0500 Validate execution policy names - Added method executionPolicyName() to \ncc\Utilities > Validate - Added ExecutionPolicy to \ncc\Abstracts > RegexPatterns :100644 1006447fef226
335af46
M src/ncc/Abstracts/RegexPatterns.php :100644 1006443cb7600
77362be M src/ncc/Utilities/Validate.php 2 files changed, 23 insertions(+) commit 80dfc2796775fdf7d7ee307d38adea7552d28a36 Author: Netkas Date: Fri Nov 11 02:34:37 2022 -0500 Added UndefinedExecutionPolicyException.php to \ncc\Exception :100644 100644 b414bd4 eb82f32 M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 00000008797b5e
A src/ncc/Exceptions/UndefinedExecutionPolicyException.php 2 files changed, 36 insertions(+), 1 deletion(-) commit 1896c99840dfb758b1a0e1e12adc805667adb62c Author: Netkas Date: Fri Nov 11 01:56:39 2022 -0500 Added RuntimeConstants.php :000000 100644 0000000751d28c
A src/ncc/Abstracts/SpecialConstants/RuntimeConstants.php 1 file changed, 8 insertions(+) commit c83aff610ea3ecaa968e66f40e81612e52b7c466 Author: Netkas Date: Fri Nov 11 01:54:35 2022 -0500 Added property 'Tty' to \ncc\Objects\ProjectConfiguration > ExecutionPolicy :100644 100644 d8c3624 7e31ce8 M src/ncc/Objects/ProjectConfiguration/ExecutionPolicy/Execute.php 1 file changed, 9 insertions(+) commit bbd77ddf702572e8615b9d2c9edff70985f90596 Author: Netkas Date: Fri Nov 11 00:24:36 2022 -0500 Added Default Value to public constructor to \ncc\Objects\PackageLock > DependencyEntry :100644 100644 d84e6cd df4071b M src/ncc/Objects/PackageLock/DependencyEntry.php 1 file changed, 1 insertion(+), 1 deletion(-) commit dce75b9df4f7ad0bafe0664f4cf5f21f0750f557 Author: Netkas Date: Thu Nov 10 22:10:32 2022 -0500 Deleted Unused MainExecutionPolicy.php :100644 000000c005578
0000000 D src/ncc/Objects/Package/MainExecutionPolicy.php 1 file changed, 30 deletions(-) commit d4145283801c9705ac5ca807f088ac4963752758 Author: Netkas Date: Thu Nov 10 22:10:13 2022 -0500 Corrected method fromArray() in \ncc\Objects\Package > Header to construct Compiler object :100644 100644e090bc5
16a627e
M src/ncc/Objects/Package/Header.php 1 file changed, 3 insertions(+) commit 1803e228cc060ef9aedbd7bca1060eb960ebeff2 Author: Netkas Date: Thu Nov 10 21:43:49 2022 -0500 Added VersionNotFoundException :100644 100644 e7db756 b414bd4 M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 0000000b7b4acc
A src/ncc/Exceptions/VersionNotFoundException.php 2 files changed, 36 insertions(+), 1 deletion(-) commit 491c065342fbb02c2998552f77264660bcf3b7c7 Author: Netkas Date: Thu Nov 10 21:36:59 2022 -0500 Added method getVersion() to \ncc\Objects\PackageLock > PackageEntry and moved Compiler property to \ncc\Objects\PackageLock > VersionEntry :100644 100644 6247cce 13afbc6 M src/ncc/Objects/PackageLock/PackageEntry.php :100644 100644 b0e925a 0387937 M src/ncc/Objects/PackageLock/VersionEntry.php 2 files changed, 57 insertions(+), 30 deletions(-) commit 04b13b3a64e7223e765d4cd6808a0165996ea7cb Author: Netkas Date: Thu Nov 10 19:43:04 2022 -0500 Added Installer.php to \ncc\Classes\PhpExtension to handle the installation process of PHP packages :000000 100644 0000000 aa63562 A src/ncc/Classes/PhpExtension/Installer.php 1 file changed, 362 insertions(+) commit 19bf40fcf4a8e23a145eb71c6d30766b016d0348 Author: Netkas Date: Thu Nov 10 19:39:04 2022 -0500 Added method installUnit() to \ncc\Interfaces > RunnerInterface and updated \ncc\Classes\PhpExtension > Runner to reflect the change :100644 100644 459c4e9 202e501 M src/ncc/Classes/PhpExtension/Runner.php :100644 100644 7899998 8be9927 M src/ncc/Interfaces/RunnerInterface.php 2 files changed, 30 insertions(+) commit 8b0ddf39a04b6c0b4b191ca45e0f0a8a059d14a6 Author: Netkas Date: Thu Nov 10 19:21:10 2022 -0500 Minor Correction in src/ncc/CLI/BuildMenu.php Deleted ConstantCompiler.php Replaced file_get_contents() with IO::fread() in Component.php Replaced file_get_contents() with IO::fread() in Functions.php Code Cleanup in Functions.php (\ncc\Utilities > Functions) Improved CLI Exception handling, added parameter to dump exception to json file :100644 100644 98b69ac 32d9731 M src/ncc/CLI/BuildMenu.php :100644 100644c8fe242
74151af M src/ncc/CLI/Main.php :100644 10064468b7568
33292ad
M src/ncc/Objects/NccVersionInformation/Component.php :100644 100644870eeb9
f08f5fa M src/ncc/Utilities/Console.php :100644 000000 7f1e298 0000000 D src/ncc/Utilities/ConstantCompiler.php :100644 100644 b1ed843 bd23434 M src/ncc/Utilities/Functions.php 6 files changed, 118 insertions(+), 103 deletions(-) commit 754f09c96d70d88645d508f4956e982ca21ef1f0 Author: Netkas Date: Tue Nov 8 16:08:22 2022 -0500 Added method build() to the CompilerInterface and updated \ncc\Classes\PhpExtension > Compiler & \ncc\CLI > BuildMenu to reflect these changes :100644 100644 f7a4a84 98b69ac M src/ncc/CLI/BuildMenu.php :100644 100644 aaef4ca dbf710c M src/ncc/Classes/PhpExtension/Compiler.php :100644 100644 ee86c57c098abf
M src/ncc/Interfaces/CompilerInterface.php 3 files changed, 36 insertions(+), 5 deletions(-) commit b1af6841d0f0cec1cf4f23802a37017a6a1f4a9a Author: Netkas Date: Tue Nov 8 16:06:41 2022 -0500 Moved methods compileRuntimeConstants(), compilePackageConstants() and regularConstants() from \ncc\Classes\NccExtension > ConstantCompiler to \ncc\Classes\NccExtension > PackageCompiler :100644 100644 9f6f434 b561239 M src/ncc/Classes/NccExtension/ConstantCompiler.php :100644 100644 ca88d63 d03964a M src/ncc/Classes/NccExtension/PackageCompiler.php 2 files changed, 64 insertions(+), 57 deletions(-) commit 3dd754ae8eddf3bd2f8cd800551d08f5943878d9 Author: Netkas Date: Mon Nov 7 22:41:17 2022 -0500 Minor change in IO.php Added method compileRunner() to \ncc\Utilities > Functions Updated \ncc\Objects > Package Added Exec and ExitHandlers to array converters in \ncc\Objects\ProjectConfiguration > ExecutionPolicy Made \ncc\Objects\ProjectConfiguration > Build > getBuildConfiguration() accept default values Updated Checksum handler in \ncc\Objects\Package > Resource Added ExecutionUnit to \ncc\Objects\Package Changed Checksum handler in \ncc\Objects\Package > Component Updated BuildMenu.php Added DateTimeConstants.php Added PackageLockVersion to \ncc\Abstracts > Versions Added Abstract Class Runners to \ncc\Abstracts Added NccExtension Added Runner.php to PhpExtension Updated Compiler.php for PhpExtension Added RunnerInterface.php Added UnsupportedRunnerException.php :100644 100644 9e74821 e7db756 M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 00000005a0e052
A src/ncc/Abstracts/Runners.php :000000 100644 0000000479346d
A src/ncc/Abstracts/SpecialConstants/DateTimeConstants.php :100644 10064498825ac
8676dba
M src/ncc/Abstracts/Versions.php :100644 100644e936406
f7a4a84 M src/ncc/CLI/BuildMenu.php :000000 100644 0000000 9f6f434 A src/ncc/Classes/NccExtension/ConstantCompiler.php :000000 100644 0000000 ca88d63 A src/ncc/Classes/NccExtension/PackageCompiler.php :100644 100644 0ce15f9 aaef4ca M src/ncc/Classes/PhpExtension/Compiler.php :000000 100644 0000000 459c4e9 A src/ncc/Classes/PhpExtension/Runner.php :000000 100644 0000000830a7a1
A src/ncc/Exceptions/UnsupportedRunnerException.php :100644 100644 409ea5e ee86c57 M src/ncc/Interfaces/CompilerInterface.php :000000 100644 0000000 7899998 A src/ncc/Interfaces/RunnerInterface.php :100644 100644 0189a0d 5da50a1 M src/ncc/Objects/Package.php :100644 10064475406f7
b48708b
M src/ncc/Objects/Package/Component.php :000000 100644 0000000 bbdfa52 A src/ncc/Objects/Package/ExecutionUnit.php :100644 10064487c44a0
14d77dd
M src/ncc/Objects/Package/Resource.php :100644 100644 b27e917 60101eb M src/ncc/Objects/ProjectConfiguration/Build.php :100644 100644 8a68586 151909c M src/ncc/Objects/ProjectConfiguration/ExecutionPolicy.php :100644 100644 8e0fcaf b1ed843 M src/ncc/Utilities/Functions.php :100644 100644 b05f7ee c886bb2 M src/ncc/Utilities/IO.php 20 files changed, 896 insertions(+), 191 deletions(-) commit f46289a8083a2c3f396c238de2bdcd8129bc255f Author: Netkas Date: Mon Nov 7 22:38:40 2022 -0500 Added Intellij scopes - NCC_Source_files.xml - Third_Party_Source_Files.xml :000000 100644 00000006e38ebb
A .idea/scopes/NCC_Source_files.xml :000000 100644 000000073f6682
A .idea/scopes/Third_Party_Source_Files.xml 2 files changed, 6 insertions(+) commit 7f36877919283a036d98590bc439910647029426 Author: Netkas Date: Mon Nov 7 14:51:17 2022 -0500 Corrected compileInstallConstants() in \ncc\Utilities :100644 100644 2b00bb6 7f1e298 M src/ncc/Utilities/ConstantCompiler.php 1 file changed, 4 insertions(+), 4 deletions(-) commit 2b820db54dd63ff5ce650de5c8002a76d4815c76 Author: Netkas Date: Mon Nov 7 13:14:21 2022 -0500 Reworked Constant Compiler to be accessible for different stages :000000 100644 00000000d4e857
A src/ncc/Abstracts/SpecialConstants/BuildConstants.php :000000 100644 000000093ba75a
A src/ncc/Abstracts/SpecialConstants/InstallConstants.php :100644 100644 7d826c5 b3facbb R064 src/ncc/Abstracts/SpecialFormat.php src/ncc/Abstracts/SpecialConstants/ProjectConstants.php :000000 100644 0000000 2b00bb6 A src/ncc/Utilities/ConstantCompiler.php :100644 100644 79d40aa 8e0fcaf M src/ncc/Utilities/Functions.php 5 files changed, 128 insertions(+), 40 deletions(-) commit bdf083d1fcc03b77887cb872508a45acdca8d1d1 Author: Netkas Date: Mon Nov 7 12:38:01 2022 -0500 Updated ProjectConfiguration.php :100644 100644 293101c c987271 M src/ncc/Objects/ProjectConfiguration.php 1 file changed, 1 insertion(+) commit 7cac73e748e14212b7de13183e7e1a68126ece0e Author: Netkas Date: Mon Nov 7 12:35:06 2022 -0500 Updated Build.php to contain new property `main` :100644 100644cf45987
b27e917 M src/ncc/Objects/ProjectConfiguration/Build.php 1 file changed, 10 insertions(+) commit a81fbd3bf70f09124308583b9c6087614fb30a92 Merge: baac4e4 ca76f8c Author: Netkas Date: Mon Nov 7 12:13:37 2022 -0500 Merge remote-tracking branch 'origin/pkgmngr' into pkgmngr commit baac4e42612c78f638c053f34fb5ec6eb411e86f Author: Netkas Date: Sun Nov 6 17:40:47 2022 -0500 Added PackageEntry.php Added DependencyEntry.php Added VersionEntry.php Added MainExecutionPolicy Updated CompilerInterface.php Added InstallerInterface.php Added InstallationPaths.php Added MainExecutionPolicy and sub-objects to ProjectConfiguration.php :100644 1006444fa160d
409ea5e M src/ncc/Interfaces/CompilerInterface.php :000000 100644 000000075049ce
A src/ncc/Interfaces/InstallerInterface.php :000000 100644 0000000d7c745a
A src/ncc/Objects/InstallationPaths.php :100644 100644 2869f8a 0189a0d M src/ncc/Objects/Package.php :100644 100644 8b66ae3 d84e6cd R077 src/ncc/Objects/PackageLock/Dependency.php src/ncc/Objects/PackageLock/DependencyEntry.php :000000 100644 0000000 6247cce A src/ncc/Objects/PackageLock/PackageEntry.php :100644 100644 2d002d9 b0e925a R069 src/ncc/Objects/PackageLock/Package.php src/ncc/Objects/PackageLock/VersionEntry.php :100644 100644f2980b1
293101c M src/ncc/Objects/ProjectConfiguration.php :000000 100644 0000000 8a68586 A src/ncc/Objects/ProjectConfiguration/ExecutionPolicy.php :000000 100644 0000000 d8c3624 A src/ncc/Objects/ProjectConfiguration/ExecutionPolicy/Execute.php :000000 100644 00000008d78bcc
A src/ncc/Objects/ProjectConfiguration/ExecutionPolicy/ExitHandle.php :000000 100644 000000028a73b2
A src/ncc/Objects/ProjectConfiguration/ExecutionPolicy/ExitHandlers.php 12 files changed, 601 insertions(+), 27 deletions(-) commit 1871f384e08fa5e110c309d0c6b770179775bd0b Author: Netkas Date: Sun Nov 6 14:10:49 2022 -0500 Deleted unused PackageParser.php :100644 0000001d54da1
0000000 D src/ncc/Classes/PackageParser.php 1 file changed, 42 deletions(-) commit 77b257d57c2858651f91c42a1802abc4700f3269 Author: Netkas Date: Sun Nov 6 12:25:29 2022 -0500 IO Correction & Escaped shell arguments (https://git.n64.cc/nosial/ncc/-/issues/5) Check if parent object is directory Improved IO handling in CredentialManager.php Improved IO handling in installer Added method fread() to \ncc\Utilities > IO Added method fwrite() to \ncc\Utilities > IO Updated installer to have better IO handling Updated installer with improvements and bug fix for Composer's automatic installation method [Issue #22](https://git.n64.cc/nosial/ncc/-/issues/22) Added IOException.php Added IO.php :100644 1006442121c4b
6f9ae9c M src/installer/installer :100644 100644 c68a1ea 9e74821 M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 0000000e733d0c
A src/ncc/Exceptions/IOException.php :100644 100644543e537
4a9b2c2
M src/ncc/Managers/CredentialManager.php :000000 100644 0000000 b05f7ee A src/ncc/Utilities/IO.php 5 files changed, 286 insertions(+), 76 deletions(-) commit ca76f8c9713b7825441ee5102b646e82baa532c9 Author: Netkas Date: Sun Nov 6 15:22:23 2022 -0500 IO Correction & Escaped shell arguments (https://git.n64.cc/nosial/ncc/-/issues/5) :100644 100644 32955ab 6f9ae9c M src/installer/installer 1 file changed, 5 insertions(+), 5 deletions(-) commit 56af17f6e51928d898a6a0eff5dd570cd4d64294 Author: Netkas Date: Sun Nov 6 15:21:06 2022 -0500 Check if parent object is directory :100644 100644 72c72e6 b05f7ee M src/ncc/Utilities/IO.php 1 file changed, 2 insertions(+), 2 deletions(-) commit 225596dd0720c8d5141fd2a9b7d21949bbeb1974 Author: Netkas Date: Sun Nov 6 15:20:20 2022 -0500 Improved IO handling in CredentialManager.php :100644 100644543e537
4a9b2c2
M src/ncc/Managers/CredentialManager.php 1 file changed, 16 insertions(+), 16 deletions(-) commit 7e9d1cf98d5eca70882d5c290c3e78112c58f5d9 Author: Netkas Date: Sun Nov 6 14:44:13 2022 -0500 Improved IO handling in installer :100644 100644 ace496f 32955ab M src/installer/installer 1 file changed, 71 insertions(+), 29 deletions(-) commit 265d42d75de2313d7672b1485b3ecf45610aee63 Author: Netkas Date: Sun Nov 6 14:34:56 2022 -0500 Added method fread() to \ncc\Utilities > IO :100644 100644 8c38584 72c72e6 M src/ncc/Utilities/IO.php 1 file changed, 44 insertions(+), 1 deletion(-) commit 77bf4b77af22e56be75cd2d5c0c3239c5e14b6b7 Author: Netkas Date: Sun Nov 6 14:25:44 2022 -0500 Updated installer to have better IO handling :100644 100644 9d919ce ace496f M src/installer/installer 1 file changed, 31 insertions(+), 7 deletions(-) commit bc07921d199d5a7e83983c6a138049eefc9a5268 Author: Netkas Date: Sun Nov 6 14:10:49 2022 -0500 Deleted unused PackageParser.php :100644 0000001d54da1
0000000 D src/ncc/Classes/PackageParser.php 1 file changed, 42 deletions(-) commit 60af4da72d379f02da72c9732c025151890bfa7b Author: Netkas Date: Sun Nov 6 12:31:14 2022 -0500 Updated installer with improvements and bug fix for Composer's automatic installation method [Issue #22](https://git.n64.cc/nosial/ncc/-/issues/22) :100644 1006442121c4b
9d919ce M src/installer/installer 1 file changed, 40 insertions(+), 23 deletions(-) commit 1aa5cf8c52e3db381f3e70f14208a3079592a2b3 Author: Netkas Date: Sun Nov 6 12:25:54 2022 -0500 Added IOException.php :100644 100644 c68a1ea 9e74821 M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 0000000e733d0c
A src/ncc/Exceptions/IOException.php 2 files changed, 36 insertions(+), 1 deletion(-) commit 47b240bfcae5ad87ca368c9d5e14692bcf7e2a38 Author: Netkas Date: Sun Nov 6 12:25:29 2022 -0500 Added IO.php :000000 100644 0000000 8c38584 A src/ncc/Utilities/IO.php 1 file changed, 49 insertions(+) commit 70f88ccaf702aad3ff86a7cce4366237675686b5 Author: Netkas Date: Sun Nov 6 09:11:25 2022 -0500 Deleted unused AutoloaderGenerator.php :100644 0000002f94c89
0000000 D src/ncc/Classes/PhpExtension/AutoloaderGenerator.php 1 file changed, 120 deletions(-) commit 88abe9d79abe308fe5cc198c7cab5171503038fa Author: Netkas Date: Sat Nov 5 07:16:04 2022 -0400 Updated ExceptionCodes.php Added ComponentChecksumException.php Added ComponentDecodeException.php Added InstallationException.php Added PackageLockException.php Added ResourceChecksumException.php Added UnsupportedComponentTypeException.php :100644 100644 0e0dfca c68a1ea M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 000000068bb520
A src/ncc/Exceptions/ComponentChecksumException.php :000000 100644 0000000593255f
A src/ncc/Exceptions/ComponentDecodeException.php :000000 100644 00000001b99c67
A src/ncc/Exceptions/InstallationException.php :000000 100644 0000000b86c20c
A src/ncc/Exceptions/PackageLockException.php :000000 100644 0000000911a885
A src/ncc/Exceptions/ResourceChecksumException.php :000000 100644 0000000ecd4c79
A src/ncc/Exceptions/UnsupportedComponentTypeException.php 7 files changed, 211 insertions(+), 1 deletion(-) commit aac8f8b769be51b47be1fa70e6bd03e62bf85ab1 Author: Netkas Date: Tue Nov 1 18:55:25 2022 -0400 Added method load() to \ncc\Objects > Package :100644 10064478bf4dc
2869f8a M src/ncc/Objects/Package.php 1 file changed, 114 insertions(+), 3 deletions(-) commit 41e2b736394cc29f9a71ab7fca6642b1e8c297f9 Author: Netkas Date: Tue Nov 1 18:53:41 2022 -0400 Add default state for package type :100644 100644df54f71
3e86446
M src/ncc/Objects/Package/MagicBytes.php 1 file changed, 6 insertions(+) commit 99ceabb7f9f78b68cebef124e10ff3eb0f3c5601 Author: Netkas Date: Tue Nov 1 18:53:14 2022 -0400 Removed CLI checks from Compiler.php :100644 100644 77fa4fc 0ce15f9 M src/ncc/Classes/PhpExtension/Compiler.php 1 file changed, 24 insertions(+), 43 deletions(-) commit 5d6200608366ec8b5af86f9345578662fd90bb27 Author: Netkas Date: Tue Nov 1 18:29:45 2022 -0400 Added comments to SpecialFormat.php :100644 100644ab80064
7d826c5 M src/ncc/Abstracts/SpecialFormat.php 1 file changed, 40 insertions(+), 1 deletion(-) commit 38046d81019471e8ccdfaaf9f4e6b43f67d6928b Author: Netkas Date: Tue Nov 1 18:27:09 2022 -0400 Added the functionality to compile constants :100644 1006444257002
77fa4fc M src/ncc/Classes/PhpExtension/Compiler.php :100644 100644 9d85b37 79d40aa M src/ncc/Utilities/Functions.php 2 files changed, 37 insertions(+) commit 98ccc60f82b33bf11a49382ca12216f5f81cc11c Author: Netkas Date: Tue Nov 1 17:43:30 2022 -0400 Removed unused byteEncode() and byteDecode() functions from \ncc\Utilities > Functions :100644 100644 8be1667 9d85b37 M src/ncc/Utilities/Functions.php 1 file changed, 24 deletions(-) commit 4b2d320f48ac2426fcb159fc8ab50525a32a7569 Author: Netkas Date: Tue Nov 1 17:31:35 2022 -0400 Added Dependency.php and Package.php :000000 100644 0000000 8b66ae3 A src/ncc/Objects/PackageLock/Dependency.php :000000 100644 0000000 2d002d9 A src/ncc/Objects/PackageLock/Package.php 2 files changed, 149 insertions(+) commit 6cfa358b887115a9eeefc41011ede29b1efd8e12 Author: Netkas Date: Sun Oct 30 17:48:49 2022 -0400 Updated \ncc\Utilities > Functions > cbc() to return a binary string representation instead of an integer :100644 100644e0b74d9
8be1667 M src/ncc/Utilities/Functions.php 1 file changed, 3 insertions(+), 3 deletions(-) commit ef1871989934cf05be823f05a954751d7919fa19 Author: Netkas Date: Sun Oct 30 13:25:35 2022 -0400 Added PackageManagerMenu.php :000000 100644 0000000 6abd7e5 A src/ncc/CLI/PackageManagerMenu.php 1 file changed, 57 insertions(+) commit 843289e239c9e4b19e1d623b5b0881ec5f5da76b Author: Netkas Date: Sat Oct 29 09:27:27 2022 -0400 Added PackageStructureVersions.php :000000 100644 0000000fd11063
A src/ncc/Abstracts/PackageStructureVersions.php 1 file changed, 12 insertions(+) commit 4b74ffe8f74fe81f72e67175d5f3bd53dec93b01 Author: Netkas Date: Fri Oct 28 03:45:48 2022 -0400 Added PackageParsingException.php :100644 1006449ae32a2
0e0dfca M src/ncc/Abstracts/ExceptionCodes.php :000000 100644 000000070c1be7
A src/ncc/Exceptions/PackageParsingException.php 2 files changed, 36 insertions(+), 1 deletion(-)
5.8 KiB
Execution Policies
Updated on Sunday, November 20, 2022
An execution policy is a policy defined in the Project
configuration file (project.json
) that can be used
to execute a script or program in any stage of the package
For instance, you can have a script that is executed before the build process starts, or in different installation stages when the user is installing your package you can have a unit run before or after the installation/uninstallation process starts.#
Use cases such as this allows you to properly implement and control your program's files & assets that are not handled by NCC's compiler extensions.
Table of Contents
JSON Example
{
"execution_policies": {
"main": {
"runner": "php",
"message": "Running main %ASSEMBLY.PACKAGE%",
"exec": {
"target": "scripts/main.php",
"working_directory": "%INSTALL_PATH.SRC%",
"silent": false
}
},
"hello_world": {
"runner": "shell",
"message": "Running HTOP",
"options": {
"htop": null
},
"exec": {
"tty": true
}
}
}
}
ExecutionPolicy Object
Execution Policies for your project must have unique names, because they way you tell NCC to execute these policies is by referencing their name in the configuration.
Invalid names/undefined policies will raise errors when building the project
Object Properties
Property Name | Value Type | Example Value | Description |
---|---|---|---|
runner |
string | bash | The name of a supported runner instance, see runners in this document |
message |
string, null | Starting foo_bar ... | Optional the message to display before running the execution policy |
exec |
ExecutionConfiguration | N/A | The configuration object that tells how the runner should execute the process |
exit_handlers |
ExitHandlersConfiguration, null | N/A | Optional Exit Handler Configurations that tells NCC how to handle exits from the process |
JSON Example
{
"name": "foo_bar",
"runner": "bash",
"message": "Running foo_bar ...",
"exec": null,
"exit_handlers": null
}
ExecutionConfiguration Object
Object Properties
Property Name | Value Type | Example Value | Description |
---|---|---|---|
target |
string |
scripts/foo_bar.bash | The target file to execute |
working_directory |
string , null |
%INSTALL_PATH.SRC% | optional The working directory to execute the process in |
options |
array , null |
{"run": null, "log": "verbose"} | Commandline Parameters to pass on to the target or process |
silent |
boolean , null |
False | Indicates if the target should run silently, by default this is false. |
tty |
boolean , null |
False | Indicates if the target should run in TTY mode |
timeout |
integer , null |
60 | The amount of seconds to wait before the process is killed |
JSON Example
{
"target": "scripts/foo_bar.bash",
"working_directory": "%INSTALL_PATH.SRC%",
"options": {"run": null, "log": "verbose"},
"silent": false,
"tty": false,
"timeout": 10
}
ExitHandler Object
An exit handler is executed once the specified exit code is returned or the process exits with an error or normally, if an exit handler is specified it will be executed.
Object Properties
Property Name | Value Type | Example Value | Description |
---|---|---|---|
message |
string |
Hello World! | The message to display when the exit handler is triggered |
end_process |
boolean , null |
False | optional Kills the process after this exit handler is triggered |
run |
string , null |
null |
optional A execution policy to execute once this exit handler is triggered |
exit_code |
int , null |
1 | The exit code that triggers this exit handler |
JSON Example
{
"message": "Hello World",
"end_process": false,
"run": null,
"exit_code": 1
}