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

feat: Support multiple update types #6888

Closed

Conversation

zharinov
Copy link
Collaborator

Ref #6791

@zharinov zharinov changed the title Feat/multiple update types Support multiple update types Jul 30, 2020
@zharinov zharinov changed the title Support multiple update types feat: Support multiple update types Jul 30, 2020
lib/config/definitions.ts Outdated Show resolved Hide resolved
updateConfig,
updateConfig[updateType]
);
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Another one potentially dangerous place, though it's working for now (with single values)

const sortDiff =
sortOrder.indexOf(a.updateType) - sortOrder.indexOf(b.updateType);
sortOrder.indexOf(aUpdateType) - sortOrder.indexOf(bUpdateType);
Copy link
Member

Choose a reason for hiding this comment

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

So this now depends on order of assigned update types? We need to think about this sorting

@zharinov zharinov force-pushed the feat/multiple-update-types branch from 30e0cd8 to 1349d8e Compare August 3, 2020 11:58
@rarkins
Copy link
Collaborator

rarkins commented Aug 3, 2020

@zharinov let's implement #6805 first

lib/config/common.ts Outdated Show resolved Hide resolved
@zharinov
Copy link
Collaborator Author

zharinov commented Nov 30, 2020

  • Do we still need it?
  • If so, it's easier to start it over I guess

@rarkins
Copy link
Collaborator

rarkins commented Nov 30, 2020

I'm not certain about this one. Let's park it in Draft for now.

@rarkins rarkins closed this Feb 6, 2021
@rarkins rarkins deleted the feat/multiple-update-types branch February 6, 2021 12:57
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants