Code Monkey home page Code Monkey logo

Comments (11)

rvanbekkum avatar rvanbekkum commented on August 18, 2024

That would be really nice. When there are errors/false positives in these code analyzers, then it becomes very difficult to distinguish real warnings from errors and makes the LinterCop inoperable.
Would be nice to have preview versions for which we could provide you (and others) with feedback. 😊

from businesscentral.lintercop.

StefanMaron avatar StefanMaron commented on August 18, 2024

100%
But to prepare for this, I will need to implement a branching strategy and need to adjust the pipeline.

Another thought I had, was to introduce new rules as info or even as disabled first.
Testers can activate the rule via ruleset and report any issues.
That would work with less overhead and preparation.

from businesscentral.lintercop.

jwikman avatar jwikman commented on August 18, 2024

I would vote for a new branching strategy with a "preview" branch.

The other approach would work on new rules, but for changes in existing rules you would still risk to mess with a lot of users if a bug sneaks in.

I believe that the majority of developers would value stable and correct (now what that is 😉) code cop rules higher than smoking new changes and additions.

But for some people, as myself, like to work with new things and want to help to make our developer experience the best it can be - and for those, some kind of "preview" feature would be great.

from businesscentral.lintercop.

StefanMaron avatar StefanMaron commented on August 18, 2024

I will think about how to change branching strategy and pipeline, as well as a possibility to get auto update for preview releases 👍

from businesscentral.lintercop.

jwikman avatar jwikman commented on August 18, 2024

Super!
Just let me know if you need help brainstorming about that or if I should test something out.

from businesscentral.lintercop.

StefanMaron avatar StefanMaron commented on August 18, 2024

I made changes to the pipeline, branches and to the vs code extension.

add "linterCop.load-pre-releases": true to the settings and you will get the pre-releases automatically 💪

from businesscentral.lintercop.

jwikman avatar jwikman commented on August 18, 2024

Cool @StefanMaron !

I just updated the extension and configured this - but how do I know if it works? 😉

I didn't see any new "Downloaded BC DLL" dialogue, not even after restart. And if I execute "BC: Download Linter cop" nothing happens either (from what I can see at least)

from businesscentral.lintercop.

StefanMaron avatar StefanMaron commented on August 18, 2024

Normally a dialog should show up. You can check the version of the dll in the file details.
I will think about a better way, maybe an indicator somewhere to show the current file version

from businesscentral.lintercop.

jwikman avatar jwikman commented on August 18, 2024

I got dll v0.21.9.0 - Where do I find the current release and prerelease version in the repo?

from businesscentral.lintercop.

StefanMaron avatar StefanMaron commented on August 18, 2024

You will get an overview of all releases by clicking here on Releases:
image

from businesscentral.lintercop.

jwikman avatar jwikman commented on August 18, 2024

Ofcourse, where else! 😀

Well done!

Case closed, have a beer and a super weekend!

from businesscentral.lintercop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.