dpc

Results 834 comments of dpc

@j-baker @ipetkov [Since I tried the improved symlinking in the current revision](https://github.com/ipetkov/crane/pull/386#issuecomment-1722599081) I'd like to post some metrics I can already capture: ``` Sun, 17 Sep 2023 23:28:07 GMT fedimint-deps>...

If I understand correctly. Yes, it's how cargo work. In our CI for the project that has dozens of members, builds 9 separate binaries etc, we have basically two types...

What I do is [use `--workspace --all-targets` all over the CI](https://github.com/fedimint/fedimint/blob/97b3b701aed2dffc556edd12c2159afcf9aa526d/nix/craneBuild.nix#L18C9-L18C9) and in scripts and tests and then just [cherry-pick individual binaries into their own derivations](https://github.com/fedimint/fedimint/blob/97b3b701aed2dffc556edd12c2159afcf9aa526d/flake.nix#L184). @ipetkov I was just...

@ipetkov The difference between what exactly? "`--workspace` + install cargo artifacts" is what I'm after. When dealing with multi-crate project, the best workflow for CI seems to be: * whole...

@ipetkov Oh, and `pnameSuffix` can be there then `-workspace-deps-only`, `-workspace` and so on.

Probably not. There are existing issues about it. It's a fundamental design decision how crane works. There are some projects that attempt to work like this. I'd advise that [generally...

It's harder as it requires basically re-implementing what cargo is doing. Also, by storing all dependencies as one big artifact everything can be compressed together in the store, saving storage...

It might be related and/or helpful. In [the project I'm using crane for heavily](https://github.com/fedimint/fedimint/blob/27e9c8685a78127843f2034ac8e498191fe8c7ea/flake.nix#L421), we have both package-based outputs, and workspace-based outputs. Workspace ones are used for CI, where we...

There unfortunately seem to be packages do do use comments for stuff https://github.com/ipetkov/crane/issues/394

Hi. I finally cleared out all my github notififications. Sorry for late response, but such is my reality. :D 1. I don't think I will get to it anytime soon....