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

Enable clazy in drone #3397

Merged
merged 1 commit into from
Jun 17, 2021
Merged

Enable clazy in drone #3397

merged 1 commit into from
Jun 17, 2021

Conversation

FlexW
Copy link

@FlexW FlexW commented Jun 2, 2021

Signed-off-by: Felix Weilbach felix.weilbach@nextcloud.com

Additionally to that I can setup a cron job on the server which then builds master every few hours and updates the number of warnings.

It might be possible to setup drone in a way that a pipeline which updates the number of warnings gets only executed when something is merged to master, but I haven't found out how to do this yet, and we said that we want to keep it quick and dirty;) Adding some conditional logic to the count_compiler_warnings.py script which updates the number of warnings based on the active branch might be dangerous as we then would need to expose secrets to public pull requests.

Of course we can use an different server for this.

@FlexW FlexW force-pushed the feature/enable-clazy-drone branch from 510a824 to 79170e4 Compare June 2, 2021 20:10
@mgallien
Copy link
Collaborator

mgallien commented Jun 3, 2021

In order to track our state and progress, we will use SonarCloud. That should really help with that

Copy link
Collaborator

@mgallien mgallien left a comment

Choose a reason for hiding this comment

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

In the next steps, we will use clazy-standalone but we want to quickly start using it now
so we use that as a first step to ward a good future

@mgallien
Copy link
Collaborator

/rebase

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
@FlexW FlexW force-pushed the feature/enable-clazy-drone branch from 79170e4 to 3e3c124 Compare June 17, 2021 07:48
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-3397-3e3c124af14fe3d3fc2fc0b1b797e644da1dbf8c-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@FlexW FlexW merged commit e6e4bfb into master Jun 17, 2021
@FlexW FlexW deleted the feature/enable-clazy-drone branch June 17, 2021 07:58
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.

4 participants