Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

fix output, fix previous ignored clippy warnings #5

Merged
merged 1 commit into from
Jul 10, 2020
Merged

Conversation

Mythra
Copy link
Owner

@Mythra Mythra commented Jul 10, 2020

  • as of the error reworking commit, tasks sometimes didn't erase
    lines when it should have. most specifically at the beginning
    of tasks being executed, and all tasks completing. this is now
    fixed, as the task_inidcator ignores logs that happened before
    it started, and properly counts how many lines it added, that it
    needs to erase.

  • we've reworked all of the codebase, so almost all clippy warnings
    that were previously ignored, are no longer ignored, and code
    has been rewritten so the lint step passes.

    • There are some "clippy::too_many_arguments" being ignored,
      I intend to fix these, but these require more of a deft hand,
      and so I don't want to rush it. reworking may also not be needed
      once I try it. (This is currently the most ignored clippy warning
      according too: Most commonly ignored lints rust-lang/rust-clippy#5418)
      and reasoning I agree with is there.
    • There is one: #[allow(unused)] for pipeline descriptions. This
      is true, it is unused right now, but I want to keep it in the
      schema because I do want to render the pipeline in list one day.
      I just haven't found quite a way to do it yet, but i added it in
      because I know I want to do it (and I don't want to remove it).
  • this has also resulted in a giant split up of docker executor,
    so it is no longer all in one gigantic file. This really really
    needed to be done, so I'm glad I finally did it.

* as of the error reworking commit, tasks sometimes didn't erase
  lines when it should have. most specifically at the beginning
  of tasks being executed, and all tasks completing. this is now
  fixed, as the task_inidcator ignores logs that happened before
  it started, and properly counts how many lines it added, that it
  needs to erase.

* we've reworked all of the codebase, so almost all clippy warnings
  that were previously ignored, are no longer ignored, and code
  has been rewritten so the lint step passes.

  * There are some "clippy::too_many_arguments" being ignored,
    I intend to fix these, but these require more of a deft hand,
    and so I don't want to rush it. reworking may also not be needed
    once I try it. (This is currently the most ignored clippy warning
    according too: rust-lang/rust-clippy#5418)
    and reasoning I agree with is there.
  * There is one: `#[allow(unused)]` for pipeline descriptions. This
    is true, it is unused right now, but I want to keep it in the
    schema because I do want to render the pipeline in list one day.
    I just haven't found quite a way to do it yet, but i added it in
    because I know I want to do it (and I don't want to remove it).

* this has also resulted in a giant split up of docker executor,
  so it is no longer all in one gigantic file. This really _really_
  needed to be done, so I'm glad I finally did it.
@Mythra Mythra merged commit d78e724 into trunk Jul 10, 2020
@Mythra Mythra deleted the dev/clippy branch July 10, 2020 00:48
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.

1 participant