Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support multiple scopes

See original GitHub issue

As raised by @virkt25 in, there are use cases for multiple scopes in one commit (think mono repositories):

feat(pkg1, pkg2): add some new feature

While downstream tools like commitlint could parse such scopes by splitting with ,, I’d prefer to see that work done in conventional-commits-parser, e.g. by providing an appropriate parser preset.

Things I am not sure about:

  • Should msg.scope be string | string[] or just string[]?
  • Should we introduce a new optional config key for scope splitting, e.g. scopeDelimiter?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:13
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

bcoecommented, Jun 11, 2020

@dmnsgn we’ve been gradually moving towards making Conventional Commits a standard, I’m not opposed to supporting multiple scopes, but I would like to see a decision made about supporting it made in Conventional Commits, before we implement anything.

I’m working on setting up a monthly meeting for Conventional Commits.

bcoecommented, Oct 16, 2020

@privatenumber I missed the link, sorry. Thank you, I’ve added a note to add it to the agenda.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple scopes - Optimizely
A scope is a context in which tracking and catalog export occur. A scope contains an instance of a Product Recommendations Engine and...
Read more >
Multiple Scope Values to oauth2 - Stack Overflow
When applying multiple scopes for the same Google service, order of scopes seems to matter. F.e this string works as expected:
Read more >
How to send multiple scope data for getting authorization code?
I tried to send multiple scope for getting access_code via "https://kong_url:8443/oauth2/authorize" When sending just one scope is OK, ...
Read more >
Allow multiple scopes for a pipeline variable
I am aware that I have the possbility to filter the scope to focus on one stage but that is just fine for...
Read more >
Getting while sending multiple scopes - Okta Support
I have multiple scopes attached to multiple polices and relationship is 1:1 ...means one scopes is assigned to one policy only.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found