!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
15 Apr 2023
@jtojnar:matrix.orgJan Tojnarthough docs will also be needed20:52:40
@drupol:matrix.orgPolI will document at the very end20:53:02
@drupol:matrix.orgPol Jan Tojnar tgerbet Would it be a good idea to download the file composer.lock instead of having it in the repo ? 21:49:43
@tgerbet:matrix.orgtgerbetIf it is available in the upstream source repository yeah it's likely better to re-use it (if that's the question, I did not follow the progress on your PR been a bit busy these last days)21:51:58
@drupol:matrix.orgPolyes that's what I'm suggesting, to download it from the upstream repo.22:01:06
@drupol:matrix.orgPol Since fetchFromGitHub is stripping some files based on .gitattributes. 22:01:25
@drupol:matrix.orgPol What would you recommend to download the composer.lock file ? wget or a fetcher? 22:01:48
@drupol:matrix.orgPolI guess using a fetcher is a better solution?22:01:58
@drupol:matrix.orgPolDefinitely a fetcher.22:18:34
@drupol:matrix.orgPol`fetchurl` is good enough22:19:17
@drupol:matrix.orgPolTomorrow I'll update the pr22:19:28
@jtojnar:matrix.orgJan Tojnar you can pass useFetchGit to fetchFromGitHub in those cases. 22:25:55
@tgerbet:matrix.orgtgerbetIt seems from the diverse tools you have modified on Phing is concerned22:31:33
@drupol:matrix.orgPolAhhh nice, thanks:)22:31:39
@tgerbet:matrix.orgtgerbet * It seems from the diverse tools you have modified only Phing is concerned22:31:40
@drupol:matrix.orgPol
In reply to @tgerbet:matrix.org
It seems from the diverse tools you have modified only Phing is concerned
There are more where I need to provide composer.lock
22:32:11
@drupol:matrix.orgPolI'll check tomorrow 22:32:23
@tgerbet:matrix.orgtgerbetYep but a lot of them do not provide a composer.lock at all22:32:32
@drupol:matrix.orgPolYeah true as well.22:32:49
@tgerbet:matrix.orgtgerbetThe only exception besides Phing in the list seems to be deployerphp/deploy but it seems it is only because the composer.lock was not removed from a previous iterations22:33:55
@drupol:matrix.orgPolAh oops !22:34:35
@drupol:matrix.orgPolI'll fix this22:34:54
@tgerbet:matrix.orgtgerbet * The only exception besides Phing in the list seems to be deployerphp/deploy but it seems it is only because the composer.lock was not removed from a previous iteration22:35:04
@drupol:matrix.orgPolNice catch though22:36:42
16 Apr 2023
@drupol:matrix.orgPol
In reply to @tgerbet:matrix.org
The only exception besides Phing in the list seems to be deployerphp/deploy but it seems it is only because the composer.lock was not removed from a previous iteration
Job done.
09:11:36
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
buildPhpProject would basically become stdenv.mkDerivation wrapper with composerSetupHook in nativeBuildInputs and setting composerDeps to the result of buildComposerVendorDir function, which the setup hook would then use
So, the idea is to create a function for building only the vendor dir ?
09:13:00
@jtojnar:matrix.orgJan Tojnar Pol: yup, so that it can also be used when buildPhpPackage cannot be used 15:19:06
@drupol:matrix.orgPolOk. Will do.15:36:26
@drupol:matrix.orgPolBut that function will only do the `composer --download-only` then ?15:41:06
@jtojnar:matrix.orgJan Tojnaryup15:47:42

Show newer messages


Back to Room ListRoom Version: 6