| 23 May 2023 |
hexa | what happend to the backlog of this room? | 17:18:31 |
hexa | nvm, it took a while to load | 17:18:52 |
Pol | I'm going to merge the branch https://github.com/NixOS/nixpkgs/pull/232450 in https://github.com/NixOS/nixpkgs/pull/225401 in a few min. | 20:11:26 |
Pol | Job done! I added a little history of the PR: https://github.com/NixOS/nixpkgs/pull/225401 | 21:04:44 |
| 24 May 2023 |
Pol | I have found a simpler way to create a repository of type composer. | 13:52:32 |
Pol | Simpler and definitely faster. | 13:52:42 |
Pol | The idea is to run composer install, as usual. This will create the vendor directory with all the deps. Then, run composer build-local-repo. The command will just create a composer repo tree structure by copying the dependencies from vendor :) | 13:53:42 |
Pol | This has been implemented in the plugin at: https://github.com/drupol/composer-local-repo-plugin/commit/e4e96810d5cbaa0b80fce6ab6848404ff61e1da7 | 13:54:26 |
philipp | Had similar issues. Maybe because of the long thread just above your message? | 14:41:54 |
Pol | oops. | 15:22:48 |
Jan Tojnar | In reply to @drupol:matrix.org The idea is to run composer install, as usual. This will create the vendor directory with all the deps. Then, run composer build-local-repo. The command will just create a composer repo tree structure by copying the dependencies from vendor :) Is the structure of the vendor directory guaranteed to be stable? | 15:39:45 |
Pol | I think yes | 15:41:22 |
Pol | I don't see it changing anytime soon | 15:41:31 |
Pol | But it could be changing of course, but why would it change ? | 15:41:51 |
Jan Tojnar | 🤷♀️ but if we want a long term reproducibility, we need to control as many factors as possible | 15:44:40 |
Jan Tojnar | not sure how realistic and necessary is that with PHP packages | 15:45:32 |
Jan Tojnar | * though, I am not sure how realistic and/or necessary is that with PHP packages | 15:45:51 |
Pol | IMHO, I don't think it will ever change. | 15:51:12 |
Pol | I also wrote Jordi by email, I hope I'll get a replu. | 15:52:01 |
Pol | * I also wrote Jordi by email, I hope I'll get a reply. | 15:52:04 |
Pol | I also have issues on Darwin: https://logs.ofborg.org/?key=nixos/nixpkgs.225401&attempt_id=fe475da1-6c83-40ff-acf0-f233f89db280 | 15:52:46 |
Pol | There is something that provoque a different hash, I just can't seem to find the reason yet. | 15:53:16 |
Pol | If anyone running a Mac is around, it would be helpful. | 15:53:26 |
Pol | I think I have the reason... fix on its way. | 16:01:37 |
Pol | Issue fixed on Darwin, I guess we're back to green state now. https://github.com/NixOS/nixpkgs/pull/225401/checks?check_run_id=13732635188 | 17:20:22 |
Pol | I'll rewrite the documentation tonight. | 17:32:15 |
Pol | We have a huge thread indeed, my bad. | 17:34:43 |
Pol | This thread is related to the new PHP builder. | 17:34:53 |
Pol | * This thread is related to the new PHP builder for Nix. | 17:34:57 |
Pol | Maybe I should not use it if it creates sync issues. | 17:35:09 |