!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
19 May 2023
@jtojnar:matrix.orgJan Tojnar the issue with dist tarballs is that they lack some files (IIRC some projects were excluding lockfiles in .gitattibutes) 15:58:11
@jtojnar:matrix.orgJan Tojnaractually, does the repo plug-in fetch source tarballs?15:59:01
@jtojnar:matrix.orgJan Tojnar * Pol: actually, does the repo plug-in store source or dist tarballs? 15:59:26
@tgerbet:matrix.orgtgerbetLockfiles should not be needed in the dist tarballs, only the top level needs it and it is fetched via the usual fetchFromGithub or similar16:06:55
@jtojnar:matrix.orgJan Tojnarhmm, maybe I misremembered then16:11:53
@jtojnar:matrix.orgJan Tojnarbut IIRC we switched to source tarballs for some reason16:12:11
@jtojnar:matrix.orgJan Tojnarmaybe it was missing tests?16:12:19
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
Pol: actually, does the repo plug-in store source or dist tarballs?
src
16:14:12
@tgerbet:matrix.orgtgerbetYeah tests in the dependencies might be missing but I'm not sure it's really an issue because you also do not want to install the dev deps of the dependencies16:14:39
@tgerbet:matrix.orgtgerbetSo tests of your dependencies are likely to fail16:15:12
@drupol:matrix.orgPol#goHangHimself16:15:35
@jtojnar:matrix.orgJan Tojnar Pol: looks like the relative paths do not work 🙈
see nix build -L --keep-failed --no-write-lock-file ./tests#non-head-rev in https://github.com/fossar/composition-c4/pull/3
20:27:22
@drupol:matrix.orgPolArgh :S20:27:53
@drupol:matrix.orgPolWhat are we going to do with this thing?20:28:06
@jtojnar:matrix.orgJan TojnarI am leaning towards patching composer20:28:34
@jtojnar:matrix.orgJan Tojnarhttps://github.com/composer/composer/blob/6111ff5cda367d345bf2cf99b8ca95b56fc7459e/src/Composer/Downloader/PathDownloader.php#L4620:28:35
@drupol:matrix.orgPolChecking20:29:32
@drupol:matrix.orgPolDo you think this would fix everything?20:29:52
@jtojnar:matrix.orgJan Tojnarnot everything but at least this thing20:30:06
@drupol:matrix.orgPolmmh mmh20:30:29
@drupol:matrix.orgPolOk20:30:31
@drupol:matrix.orgPolCurious to see how you're going to patch it.20:30:51
@jtojnar:matrix.orgJan TojnarI was thinking resolving the path relative to repository path20:31:03
@jtojnar:matrix.orgJan Tojnarbut thinking about it more, it does not really make much sense since the repository does not have to be a path, does it?20:31:31
@drupol:matrix.orgPolThere could be different type of repos indeed20:32:26
@jtojnar:matrix.orgJan TojnarI guess we could do it like napalm does and run http server20:33:38
@drupol:matrix.orgPolI have no clue on those things20:33:55
@jtojnar:matrix.orgJan Tojnar Pol: regarding the composer packaging it looks like composer update --lock will require even developer dependencies to be in the repo 21:19:31
@jtojnar:matrix.orgJan Tojnar which makes sense, --no-dev should not produce partial lockfile 21:19:58
@drupol:matrix.orgPolMmh mmh 21:20:27

Show newer messages


Back to Room ListRoom Version: 6