/
Arch Tea Time: 2020-07-02

Arch Tea Time: 2020-07-02

Topics

  • Linter Love

    • AdamBl re-discovered his love of Linting at a recent Meetup.

    • Why Lint

    • What to Lint

      • Current Linters at edX

        • XSS Linters

        • Pylints

        • edx/eslint-config

        • Legacy: eslint-config-edx

      • There were recent PRs to add linters to gomatic

        • Note: we may eventually replace gomatic

        • Example of where this could have helped

          • Acquia changed their API and broke services - we could have caught it

      • Possible Future Linters

    • How to Lint

    • Change Management of Linting

      • New IDAs/Repos

        • Come with Pylint, but it needs to be configured to enable

        • Travis.yaml - need to check to ensure it runs Pylint by default

      • Existing IDAs/Repos

        • Introducing new ones - breaking existing code

        • See above regarding Lint amnesty.

      • Responding and Fixing to Lint issues

        • Zero tolerance will be most effective.

  • FYI: Static Assets in Containerization

    • ArgoCD - static assets get built only once → deployed to S3

    • Where to have the convo on how to implement this?

    • ACTION DO: Will add his input on the ticket (WhiteNoise)…

      • Instead of versioning and collect-static, … (Dave will update the ticket)

    • Note: Cloudflare doesn’t connect to S3 with Https

    • Webpack builds the assets and generates a directory

    • If our Django assets were available with proper caching headers, then we wouldn’t need to overly build the assets.

  • Interesting ADRs in progress:

  • Prep for next week’s Special Guest (Arch Tea with Luca Mezzalira (Pre-Work) - 2020-07-09 )

    •  

      •  

         

 

Related content