Skip to content
Snippets Groups Projects
  1. Feb 20, 2025
    • Alexander Theißen's avatar
      Update to Rust stable 1.84.1 (#7625) · e2d3da61
      Alexander Theißen authored
      Ref https://github.com/paritytech/ci_cd/issues/1107
      
      We mainly need that so that we can finally compile the `pallet_revive`
      fixtures on stable. I did my best to keep the commits focused on one
      thing to make review easier.
      
      All the changes are needed because rustc introduced more warnings or is
      more strict about existing ones. Most of the stuff could just be fixed
      and the commits should be pretty self explanatory. However, there are a
      few this that are notable:
      
      ## `non_local_definitions `
      
      A lot of runtimes to write `impl` blocks inside functions. This makes
      sense to reduce the amount of conditional compilation. I guess I could
      have moved them into a module instead. But I think allowing it here
      makes sense to avoid the code churn.
      
      ## `unexpected_cfgs`
      
      The FRAME macros emit code that references various features like `std`,
      `runtime-benchmarks` or `try-runtime`. If a create that uses those
      macros does not have those features we get this warning. Those were
      mostly when ...
      e2d3da61
  2. Feb 19, 2025
    • castillax's avatar
      Add note for organization contributors about creating branches directly (#7611) · a48b3894
      castillax authored
      # Description
      
      * This PR adds a note to the CONTRIBUTING.md file to inform contributors
      who are part of the organization that they do not need to fork the
      repository. Instead, they can create a branch directly in the repository
      to send a pull request.
      
      ## Changes
      
      Added a note under the "What?" section in CONTRIBUTING.md to clarify
      that organization contributors can create branches directly in the
      repository.
      a48b3894
  3. Feb 10, 2025
  4. Jan 14, 2025
  5. Jan 02, 2025
    • Oliver Tale-Yazdi's avatar
      [CI] Skip SemVer on R0-silent and update docs (#6285) · 9d760a9f
      Oliver Tale-Yazdi authored
      
      Changes:
      - Make R0-silent not run the semver check again. Originally I thought
      this would be good to have a bullet-proof check, but it now often
      triggers when CI or unrelated files are changed. In the end, the
      developer has to make the right choice here - and always will need to.
      So bringing back the R0 label gives more power to the devs and should
      increase dev velocity. We still need to ensure that every use of this
      label is well understood, and not just used out of lazyness.
      - Fix `/cmd prdoc` bump levels
      - Update docs
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      9d760a9f
  6. Nov 29, 2024
  7. Oct 11, 2024
    • Maksym H's avatar
      /cmd: Improved devx of benching many pallets simultaneously (#6007) · c0b73433
      Maksym H authored
      
      ### Improved devx of running many pallets simultaneously
      
      Changes to /cmd:
      - Replace (flip) `--continue-on-fail` with `--fail-fast`, but only for
      `bench`. This makes all pallets/runtimes run non-stop by default, as it
      was primary use-case during tests
      - The list of successful/failed pallets was hard to find within tons of
      logs, so decided to write only needed logs in a file, and output as a
      summary in the workflow and in the comment
      - Side fix: updated `tasks_example` to `pallet_example_tasks` to make
      compliant with standard naming
      
      <img width="1006" alt="image"
      src="https://github.com/user-attachments/assets/14896041-7018-4a0d-92b7-4508e81913c2">
      
      + added command results to workflow summary:
      <img width="1275" alt="image"
      src="https://github.com/user-attachments/assets/b4a8afdb-dc9f-4ff9-9720-28a88956035f">
      
      ---------
      
      Co-authored-by: default avatarGitHub Action <action@github.com>
      c0b73433
  8. Oct 08, 2024
    • Maksym H's avatar
      improve prdoc generation (#5931) · 4b40e762
      Maksym H authored
      Related to
      https://github.com/paritytech/polkadot-sdk/pull/5924#issuecomment-2393558697
      
      improve prdoc arguments validation & help:
      - convert audiences options to snake_case. Fixes
      https://github.com/paritytech/polkadot-sdk/issues/5927
        - support more than one audiences
        - define allowed bump options
      - infer --pr from the actual PR (now it's optional, can still be
      overwritten)
      
      
      ![image](https://github.com/user-attachments/assets/24e18fe2-2f67-4ce0-90e4-34f6c2f860c9)
      
      Test evidence:
      https://github.com/paritytech-stg/polkadot-sdk/pull/52/commits/6dd274e3678d287c163cfa6cb696acee9852767d
      4b40e762
  9. Oct 07, 2024
  10. Sep 10, 2024
    • Maksym H's avatar
      Add prdoc command to /cmd (#5661) · f0e420a0
      Maksym H authored
      Fixes https://github.com/paritytech/polkadot-sdk/issues/5647
      
      - [x]  create new command (reusing original py module)
      - [x]  add unit-test cases (just the fact of proxy)
      - [x]  update docs
      f0e420a0
  11. Sep 09, 2024
    • Oliver Tale-Yazdi's avatar
      Install prdoc from Parity fork (#5625) · d2e962fc
      Oliver Tale-Yazdi authored
      
      Prdoc is now published as a Parity fork under the
      [`parity-prdoc`](https://crates.io/crates/parity-prdoc) crate after the
      directions diverged from the ideas of the original creator (discussions
      [here](https://github.com/paritytech/prdoc/pull/40) and
      [here](https://github.com/paritytech/prdoc/issues/36)).
      Now updating the install instructions here.
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      d2e962fc
  12. Aug 28, 2024
    • Maksym H's avatar
      Command bot GHA v2 - /cmd <cmd> (#5457) · 8e0cefc8
      Maksym H authored
      Closes https://github.com/paritytech/product-engineering/issues/93
      
      - Deprecates old command bot bash scripts. New cmd implementation is
      re-written on Python
      - Deprecates `sync` command, which was never used
      - Benchmarks:
      - Uses new
      [frame-omni-bencher](https://crates.io/crates/frame-omni-bencher)
      - Simplifies usage to only providing a runtime and/or pallet name (even
      multiple runtimes or pallets)
      - Supports sub-modules (like `/cmd bench --runtime dev --pallet
      pallet_asset_conversion_ops`)
      - Can regenerate all weights with one command (substrate, polkadot,
      cumulus) for provided pallet(s) name
      - Adds [subweight](https://crates.io/crates/subweight-core) diff as a
      result of bench command
      8e0cefc8
  13. Aug 27, 2024
    • Przemek Rzad's avatar
      Make the PR template a default for new PRs (#5462) · 5a84374f
      Przemek Rzad authored
      A follow-up to https://github.com/paritytech/polkadot-sdk/pull/5447
      
      Instead of having an option to select a PR template (like is the case
      with issues), this change will make the one PR template we have the
      default, it will show up for every new PR.
      
      Also updated one link so it works properly in the PR body.
      5a84374f
  14. Aug 12, 2024
  15. Aug 07, 2024
  16. Jul 29, 2024
    • Przemek Rzad's avatar
      Various corrections in the documentation (#5154) · de73c77c
      Przemek Rzad authored
      An attempt to improve [the
      docs](https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/index.html)
      by applying various corrections:
      
      - grammar/stylistics,
      - formatting,
      - broken links,
      - broken markdown table,
      - outdated vscode setting name,
      - typos,
      - consistency,
      - etc.
      
      Part of https://github.com/paritytech/eng-automation/issues/10
      de73c77c
  17. Jul 03, 2024
  18. Apr 18, 2024
  19. Apr 16, 2024
  20. Mar 25, 2024
  21. Jan 18, 2024
  22. Dec 12, 2023
  23. Dec 05, 2023
    • juangirini's avatar
      Move `developer-hub` to `polkadot-sdk-docs` (#2598) · a310df26
      juangirini authored
      
      This PR is a continuation of
      https://github.com/paritytech/polkadot-sdk/pull/2102 and part of an
      initiative started here https://hackmd.io/@romanp/rJ318ZCEp
      What has been done:
      - The content under `docs/*` (with the exception of `docs/mermaid`) has
      been moved to `docs/contributor/`
      - Developer Hub has been renamed to Polkadot SDK Docs, and the crate has
      been renamed from `developer-hub` to `polkadot-sdk-docs`
      - The content under `developer-hub/*` has been moved to `docs/sdk`
      
      ---
      Original PR https://github.com/paritytech/polkadot-sdk/pull/2565, it has
      been close due to too many rebase conflicts
      
      ---------
      
      Co-authored-by: default avatarSerban Iorga <serban@parity.io>
      Co-authored-by: default avatarChevdor <chevdor@users.noreply.github.com>
      Co-authored-by: default avatarEgor_P <egor@parity.io>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      a310df26