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

chore: increase scopes for ci #1460

Merged
merged 3 commits into from
Oct 9, 2023
Merged

Conversation

QuantumExplorer
Copy link
Member

@QuantumExplorer QuantumExplorer commented Oct 9, 2023

Issue being fixed or feature implemented

Not all scopes were present in CI PR title check

What was done?

Added Drive-Abci, Platform and CI scopes.

When to use them:

Drive-Abci: when the fix is only in Drive-Abci we should use that as a tag. Drive now would refer to the storage crate.
Platform: often when dealing with complex features or fixes, we need to make major modifications in dpp, drive and drive-abci. In this case we should set the scope Platform.
CI: If we are just changing actions or CI, the scope should be CI.

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@@ -33,14 +33,17 @@ jobs:
# These are regex patterns auto-wrapped in `^ $`.
scopes: |
dapi
platform
Copy link
Member

Choose a reason for hiding this comment

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

If it's platform (all or multiple packages) you just doesn't specify the scope.

Copy link
Member Author

Choose a reason for hiding this comment

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

Well I see Drive+Drive-ABCI+DPP to be Platform, and very different from dashmate for example, often those 3 will be updated together. So I think it's a good thing to add and makes things more readable.

Copy link
Member

Choose a reason for hiding this comment

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

Conceptually all packages in this repo are parts of the platform. Platform test suite, SDK, and DAPI...

"Drive+Drive-ABCI+DPP" for this we had a more general "drive", basically a blockchain runtime.

Copy link
Member Author

Choose a reason for hiding this comment

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

Well that's just because of the history of teams that worked on the project a long time ago, Drive should be drive, not execution logic.

dpp
dashmate
contract
sdk
wallet-lib
test-suite
bench-suite
ci
Copy link
Member

Choose a reason for hiding this comment

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

There is a commit type "ci" already included with conventional commits. e.g "ci: made life better"

Copy link
Member Author

Choose a reason for hiding this comment

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

I will remove it

@QuantumExplorer QuantumExplorer merged commit ed845f0 into v1.0-dev Oct 9, 2023
6 of 8 checks passed
@QuantumExplorer QuantumExplorer deleted the chore/increaseScopesForCI branch October 9, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants