Giter VIP home page Giter VIP logo

Comments (9)

klahnakoski avatar klahnakoski commented on June 15, 2024

Here is an example link https://bugzilla.mozilla.org/show_bug.cgi?id=1429461

from firefox-code-coverage-frontend.

gmierz avatar gmierz commented on June 15, 2024

This json-diff view might help: https://hg.mozilla.org/mozilla-central/json-diff/8cde429207f3/layout/reftests/css-ui-valid/select/reftest.list

from firefox-code-coverage-frontend.

armenzg avatar armenzg commented on June 15, 2024

I would like to get more info from Calixte wrt to the actual pre-filled comment format and how does that work.

from firefox-code-coverage-frontend.

calixteman avatar calixteman commented on June 15, 2024

I think it isn't possible to add a pre-filled comment (in fact it's only possible to have a pre-fiiled comment #0 when you create a bug).
So maybe just having something to copy-paste in the bug.

from firefox-code-coverage-frontend.

armenzg avatar armenzg commented on June 15, 2024

@calixteman what would you like the text to be copied to look like?

@klahnakoski This issue could take most of the UCOSP term for one student.

I believe that we can add a comment via the BZ rest API:
https://wiki.mozilla.org/Bugzilla:REST_API
http://bugzilla.readthedocs.io/en/latest/api/core/v1/comment.html#create-comments

I believe @canuckistani would still recommend using his wrapper:
https://github.com/canuckistani/bz.js
https://www.npmjs.com/package/bz
Worth contacting him.

Making comments on BZ can be tested against https://landfill.bugzilla.org/bugzilla-5.0-branch/
It is probably best to talk with dylan and/or blob.
Maybe the place to test is against https://api-dev.bugzilla.mozilla.org

Also notice if the user has 2-step authentication:

If you have two factor authentication on your Bugzilla account (which is recommended),
then you will not be able to call the login endpoint. Instead create a new API key. Then
that API key can be passed to each request.

from firefox-code-coverage-frontend.

marco-c avatar marco-c commented on June 15, 2024

This is probably lower priority than other items.

from firefox-code-coverage-frontend.

calixteman avatar calixteman commented on June 15, 2024

Maybe a good way could be to add coverage info in a comment in using Marco's addon:
https://github.com/marco-c/code-coverage-addon

from firefox-code-coverage-frontend.

armenzg avatar armenzg commented on June 15, 2024

Should we then close this issue?
We can revisit in the future if the addon is not sufficient.

from firefox-code-coverage-frontend.

marco-c avatar marco-c commented on June 15, 2024

Sounds good.

from firefox-code-coverage-frontend.

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.