Skip to content
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

Add ci check for parity-publish and fix current check issues #1887

Merged
merged 37 commits into from
Oct 31, 2023

Conversation

Morganamilo
Copy link
Contributor

No description provided.

@Morganamilo Morganamilo added the A1-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). label Oct 16, 2023
@Morganamilo Morganamilo marked this pull request as ready for review October 16, 2023 14:32
@Morganamilo Morganamilo requested review from a team October 16, 2023 14:32
@Morganamilo Morganamilo requested review from a team as code owners October 16, 2023 14:32
@Morganamilo Morganamilo requested review from a team and paritytech-ci October 16, 2023 14:33
Copy link
Member

@ggwpez ggwpez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ci requires a format: bot fmt for example.

.github/workflows/check-publish.yml Outdated Show resolved Hide resolved
.github/workflows/check-publish.yml Outdated Show resolved Hide resolved
@paritytech-ci paritytech-ci requested a review from a team October 16, 2023 14:37
@Morganamilo
Copy link
Contributor Author

bot fmt

@command-bot
Copy link

command-bot bot commented Oct 16, 2023

"$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh" was queued.

Comment bot cancel 45-1a77df3d-b9b0-41d8-b5ae-42d931708ff5 to cancel this command or bot cancel to cancel all commands in this pull request.

@command-bot
Copy link

command-bot bot commented Oct 16, 2023

@Morganamilo Command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh" has finished. Result:

ValidationError: "id" is required
ValidationError: "id" is required
{"message":{"base":["Reference not found"]}}

@Morganamilo Morganamilo force-pushed the morganamilo/cicheck branch 2 times, most recently from 67bcd74 to 3739f00 Compare October 17, 2023 10:32
@Morganamilo Morganamilo requested a review from alvicsam October 17, 2023 10:32
@Morganamilo Morganamilo enabled auto-merge (squash) October 17, 2023 14:57
@Morganamilo Morganamilo requested a review from mrcnski October 19, 2023 17:00
@paritytech-ci paritytech-ci requested a review from a team October 25, 2023 11:42
@Morganamilo Morganamilo disabled auto-merge October 25, 2023 12:14
.github/workflows/check-publish.yml Outdated Show resolved Hide resolved
@ggwpez
Copy link
Member

ggwpez commented Oct 25, 2023

Why is the Cargo.lock updated?
The UI tests fail because scale codec got updated.

@@ -9,7 +9,6 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
default-run = "substrate-node"
homepage = "https://substrate.io"
repository.workspace = true
publish = false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be published!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are deps of substrate so need to be published.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kianenigma can we not just provide a link to the node stuff? And to the chain-spec-builder? (We can release the chain spec builder, when it doesn't depend on node-cli anymore)

Copy link
Contributor

@kianenigma kianenigma Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sorry, I added these things as deps to substrate just to use Rust's intra-crate linking convenience rather than building proper links. You can remove the dependency, and fix the links. Although, it might be a bit iffy to fix them such that it works for both https://paritytech.github.io/ hosted docs and for docs.rs

For now feel free to not publish substrate as well. This is easier for us all and will solve your issue?

  • I will be moving substrate crate to a new developer_hub crate in an upcoming PR.
  • This new developer_hub cannot be published because of some other issues, so I am for now settling for the fact that developer_hub will always be publish = false and only accessible via https://paritytech.github.io/

Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why you want to publish node cli

substrate/bin/node/executor/Cargo.toml Outdated Show resolved Hide resolved
substrate/bin/node/primitives/Cargo.toml Outdated Show resolved Hide resolved
@ggwpez ggwpez self-requested a review October 25, 2023 18:16
@Morganamilo Morganamilo requested a review from bkchr October 31, 2023 07:56
@Morganamilo
Copy link
Contributor Author

@bkchr I think we should be good to go now?

Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving. But you need to set the licenses correctly and the renames can be reverted.

cumulus/pallets/aura-ext/Cargo.toml Outdated Show resolved Hide resolved
cumulus/pallets/dmp-queue/Cargo.toml Outdated Show resolved Hide resolved
cumulus/pallets/parachain-system/Cargo.toml Outdated Show resolved Hide resolved
cumulus/pallets/xcmp-queue/Cargo.toml Outdated Show resolved Hide resolved
cumulus/test/relay-sproof-builder/Cargo.toml Outdated Show resolved Hide resolved
substrate/bin/node/inspect/Cargo.toml Show resolved Hide resolved
cumulus/client/service/Cargo.toml Show resolved Hide resolved
@Morganamilo
Copy link
Contributor Author

@bkchr what should the licence be for minimal-runtime (substrate/bin/minimal/runtime)?

@Morganamilo Morganamilo merged commit 495d24d into master Oct 31, 2023
8 of 9 checks passed
@Morganamilo Morganamilo deleted the morganamilo/cicheck branch October 31, 2023 18:04
EgorPopelyaev pushed a commit that referenced this pull request Nov 3, 2023
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
acatangiu added a commit that referenced this pull request Nov 6, 2023
This PR backports missing PR's needed for 1.3.0 cumulus release:
#2042
#2139
#2129
#1967
#2021
#1887
#2023

---------

Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Lulu <morgan@parity.io>
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
Co-authored-by: Serban Iorga <serban@parity.io>
Co-authored-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
…ech#1887)

Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
bkchr pushed a commit that referenced this pull request Apr 10, 2024
* optimize justification before submit

* fmt

* spelling

* clippy

* fmt again

* aaand compilation

* clippy
@enddynayn
Copy link

why was the package renamed to staging-parachain-info?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A1-insubstantial Pull request requires no code review (e.g., a sub-repository hash update).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants