David Lai
David Lai
### Update * Refactored the test cases to prove the functionality and possible use case. * Moved `bind_directives` function from `PackageMaker` to `DeveloperPackage`, because the directives require the build process...
Thanks Allan, > I think we could avoid a lot of complexity by aiming to deprecate wildcards, and not attempt to convert them to new post-build hardening at all. Yeah,...
I'll be damned. > So then, what if directives (and their mappings to the original request they correspond to) are stored in the DeveloperPackage itself (ie the dev pkg actually...
So now the new approach is much simpler : 1. parse requirement strings and extract directives before developer package's creation 2. redo step 1. in package pre-processing 3. build process...
Found a way to apply harden directives back to variant before building variant payload and without re-running whole developer package loading process. 🎉
Somehow, the implementation pass the test, but not working with actual `rez-build` command. In `rez-build` command, `DeveloperPackage.directives` become an empty dict when the build process is going to evaluate them....
> Somehow, the implementation pass the test, but not working with actual rez-build command. Found the problem, it was my `rezconfig.package_preprocess_function`, which triggered the bug and now it's fixed. >...
Hi @maxnbk , I mainly use Windows' CMD shell.
Hi @yamsu , I haven't tried with MongoEngine before, but I think you could try following the setup mentioned here https://github.com/scottrogowski/mongita/issues/4#issuecomment-825839719 Please let me know if it works or not,...
Had a quick test and I found we need `with_options` and `create_index` implemented in Collection class at least.