-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diener doesn't find all crates in a repository #15
Comments
cargo_metadata wasn't finding all the crates in a repository paritytech#15
cargo_metadata wasn't finding all the crates in a repository paritytech#15
cargo_metadata wasn't finding all the crates in a repository paritytech#15
This is not a bug in diener. There is the |
This crate creates itself a crate inside the |
Thanks for the feedback. I now realize something is amiss. Seems like it was possible to overcome the problem of not all dependencies being patched (from https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/1577990#L2211) with #16 (https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/1579787#L2003), but it's not due to the reason I pointed out in the ticket's description; the case in point |
I've compared the "Patching" sections of https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/1579869 (#16) vs https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/1577990 (diener v0.4.2). For most parts I didn't find noticeable differences except for I think the lines related to index a8b864c..9ba5e87 100644
--- a/pr-16.txt
+++ b/diener-v0.4.2.txt
@@ -1,34 +1,18 @@
bp-header-chain
-bp-kusama
bp-message-dispatch
bp-messages
-bp-millau
-bp-polkadot
bp-polkadot-core
-bp-rialto
-bp-rialto-parachain
bp-rococo
bp-runtime
bp-test-utils
-bp-token-swap
-bp-westend
bp-wococo
bridge-runtime-common
-erasure_coding_fuzzer
-finality-relay
kusama-runtime
kusama-runtime-constants
-messages-relay
metered-channel
-millau-bridge-node
-millau-runtime
-orchestra
-orchestra-proc-macro
pallet-bridge-dispatch
pallet-bridge-grandpa
pallet-bridge-messages
-pallet-bridge-token-swap
-pallet-shift-session-manager
pallet-xcm
pallet-xcm-benchmarks
polkadot
@@ -67,6 +51,8 @@ polkadot-node-subsystem-test-helpers
polkadot-node-subsystem-types
polkadot-node-subsystem-util
polkadot-overseer
+polkadot-overseer-gen
+polkadot-overseer-gen-proc-macro
polkadot-parachain
polkadot-performance-test
polkadot-primitives
@@ -85,28 +71,11 @@ polkadot-test-malus
polkadot-test-runtime
polkadot-test-service
polkadot-voter-bags
-relay-kusama-client
-relay-millau-client
-relay-polkadot-client
-relay-rialto-client
-relay-rialto-parachain-client
-relay-rococo-client
-relay-substrate-client
-relay-utils
-relay-westend-client
-relay-wococo-client
remote-ext-tests-bags-list
-rialto-bridge-node
-rialto-parachain-collator
-rialto-parachain-runtime
-rialto-runtime
rococo-runtime
rococo-runtime-constants
slot-range-helper
staking-miner
-storage-proof-fuzzer
-substrate-relay
-substrate-relay-helper
test-parachain-adder
test-parachain-adder-collator
test-parachain-halt |
The proper solution is here: paritytech/cumulus#1344 |
As corroborated by https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/1577990#L521 and reproducible by the steps of paritytech/pipeline-scripts#45 (comment),
diener
doesn't patch all crates in a repository.As an exampleOutdated, see #15 (comment).polkadot-node-core-pfv
(https://github.com/paritytech/polkadot/blob/f8b668b7540eaac106765a978c17af533d261f8e/node/core/pvf/Cargo.toml) for which there was noAdding patch for polkadot-node-core-pfv
log line in the GitLab job and it also doesn't show up in the patch entries as demonstrated by the diff of paritytech/pipeline-scripts#45 (comment).From cursory look at the code I think this is where the crates are detected, but I haven't dug deeper into that to know the cause of why some crates are missed.
https://github.com/bkchr/diener/blob/69ab0f76fb851968af8e493061cca84a2f3b1c5b/src/patch.rs#L236-L255
The text was updated successfully, but these errors were encountered: