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

Lint tasks refactory #250

Merged
merged 18 commits into from
Jun 13, 2019
Merged

Lint tasks refactory #250

merged 18 commits into from
Jun 13, 2019

Conversation

rsora
Copy link
Contributor

@rsora rsora commented Jun 13, 2019

This PR aims to remove golangci-lint that is tricky to manage in this development phase, adding specific go-task tasks to check linting. This PR includes

  • add check tasks with separate check-legacy task for legacy module only
  • dynamic non-legacy search for packages in DEFAULT_TARGET var
  • fix in uploading codeconv.io report

masci and others added 18 commits June 13, 2019 15:11
going in the direction of removing travis.ci in favour of drone io,
and in order to have a clean linting check output, golangci-lint was
removed because the output for this codebase was too confusing
in order to be aligned with test task style we will have a legacy
(ugly) lint output if requested and meanwhile  we will focus on the
"new refactored part" of the code with lint and fmt to speed up
the development and refactoring
no need to be obsessed on linting for a module that will be properly
refactored out from the legacy
detection

in order to do not slow down testing too much also because we do not
have particular race conditions to detect at the moment
this is a FIXME commit, in next months all the FIXMEDOCS placeholders
must be replaced with proper documentation
@arduino arduino deleted a comment from ArduinoBot Jun 13, 2019
@arduino arduino deleted a comment from ArduinoBot Jun 13, 2019
@arduino arduino deleted a comment from ArduinoBot Jun 13, 2019
@ArduinoBot
Copy link
Contributor

✅ Build completed.

⬇️ Linux 64: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-71-PR250-linux64.tar.bz2

⬇️ Linux 32: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-71-PR250-linux32.tar.bz2

⬇️ Linux ARM: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-71-PR250-linuxarm.tar.bz2

⬇️ Windows: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-71-PR250-windows.zip

⬇️ OSX: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-71-PR250-osx.zip

ℹ️ To test this build:

  1. Just replace arduino-cli binary with the provided one

@rsora rsora requested a review from masci June 13, 2019 17:15
@masci masci removed their request for review June 13, 2019 17:16
@rsora rsora merged commit fe4814b into master Jun 13, 2019
@masci masci deleted the rsora/ci-lint-refactor branch July 15, 2019 13:01
mastrolinux pushed a commit that referenced this pull request Jul 16, 2019
* replace golangci-lint with govet and golint go-task task

going in the direction of removing travis.ci in favour of drone io,
and in order to have a clean linting check output, golangci-lint was
removed because the output for this codebase was too confusing

* refactor task check and add task check-legacy

in order to be aligned with test task style we will have a legacy
(ugly) lint output if requested and meanwhile  we will focus on the
"new refactored part" of the code with lint and fmt to speed up
the development and refactoring

* removed go lint check for legacy lint task

no need to be obsessed on linting for a module that will be properly
refactored out from the legacy

* add dynamic DEFAULT_TARGET generation list

* replace golangci-lint with simple go-task check

* fix upload for integ and unit test in codeconv.io

* raise to 10m test timeput for unit and integ tests

* add task test-unit-race to specificly run unit test with rece condition
detection

in order to do not slow down testing too much also because we do not
have particular race conditions to detect at the moment

* clean from drone configuration and related dockerfiles

* add missing documentation temporary comment to make linter happy

this is a FIXME commit, in next months all the FIXMEDOCS placeholders
must be replaced with proper documentation
per1234 added a commit that referenced this pull request Aug 9, 2021
…/arduino/go-properties-orderedmap-1.6.0

Bump github.com/arduino/go-properties-orderedmap from 1.4.0 to 1.6.0
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.

3 participants