{"id":15033172,"url":"https://github.com/emilio2hd/pronto-annotations_formatter","last_synced_at":"2026-01-04T13:02:10.307Z","repository":{"id":202428901,"uuid":"705972467","full_name":"emilio2hd/pronto-annotations_formatter","owner":"emilio2hd","description":"Pronto gem to print the warnings in json formmated to be consumed by https://github.com/emilio2hd/pronto-annotate-action","archived":false,"fork":false,"pushed_at":"2024-05-27T11:52:34.000Z","size":28,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T16:18:54.409Z","etag":null,"topics":["annotations","formatter","github","pronto","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emilio2hd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-17T04:07:17.000Z","updated_at":"2024-09-10T08:47:43.000Z","dependencies_parsed_at":"2024-03-31T20:46:05.434Z","dependency_job_id":null,"html_url":"https://github.com/emilio2hd/pronto-annotations_formatter","commit_stats":null,"previous_names":["emilio2hd/pronto-annotations_formatter"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilio2hd%2Fpronto-annotations_formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilio2hd%2Fpronto-annotations_formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilio2hd%2Fpronto-annotations_formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilio2hd%2Fpronto-annotations_formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilio2hd","download_url":"https://codeload.github.com/emilio2hd/pronto-annotations_formatter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244067555,"owners_count":20392652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["annotations","formatter","github","pronto","ruby"],"created_at":"2024-09-24T20:20:18.246Z","updated_at":"2026-01-04T13:02:10.228Z","avatar_url":"https://github.com/emilio2hd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pronto::AnnotationsFormatter\n\nWelcome!\n\n[prontolabs/pronto](https://github.com/prontolabs/pronto) is a great tool for code review, but it post the warnings as comments,\nwhich can be a bit of a mess and create many comments on the PR causing a huge noise for developers discussion.\n\nIn a combination with [pronto-annotate-action](https://github.com/emilio2hd/pronto-annotate-action), it's possible to write annotations to the code, like this:\n\n![Annotation Warning on Code](https://raw.githubusercontent.com/emilio2hd/pronto-annotate-action/main/docs/annotation-warning-on-code.png)\nLeaving the comments just for the developers.\n\nCheck the [.github/workflows/pr_linter.yml](.github/workflows/pr_linter.yml) and [this pull-request](https://github.com/emilio2hd/pronto-annotations_formatter/pull/1/files).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'pronto-annotations_formatter'\n```\n\nAnd then execute:\n\n```shell\n  bundle install\n```\n\nOr install it yourself as:\n\n```shell\n  gem install pronto-annotations_formatter\n```\n\n\u003e [!NOTE]\n\u003e\n\u003e If you are using pronto `\u003c= v0.11.1`, please use\n\u003e [v0.1](https://github.com/emilio2hd/pronto-annotations_formatter/releases/tag/v0.1.0)\n\n## Usage\n\n```shell\nbundle exec pronto run -f annotations -c origin/main\n```\n\nThe command above, will print some json like this:\n\n```json\n[\n  {\n    \"message\": \"Migration file detected, but no changes in schema.rb\",\n    \"level\": \"warning\",\n    \"file\": \"db/migrate/20231013225210_create_products.rb\",\n    \"line\": {\n      \"start\": 1,\n      \"end\": 1\n    },\n    \"title\": \"Pronto::RailsSchema\"\n  }\n]\n```\n\n## Development\n\nThen, run `bundle exec rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at \u003chttps://github.com/emilio2hd/pronto-annotations_formatter\u003e.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilio2hd%2Fpronto-annotations_formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilio2hd%2Fpronto-annotations_formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilio2hd%2Fpronto-annotations_formatter/lists"}