Skip to content

Generate changelog entries#6794

Merged
tramuntanal merged 6 commits intodevelopfrom
chore/generate_changelog_entries
Nov 11, 2020
Merged

Generate changelog entries#6794
tramuntanal merged 6 commits intodevelopfrom
chore/generate_changelog_entries

Conversation

@tramuntanal
Copy link
Copy Markdown
Contributor

@tramuntanal tramuntanal commented Nov 3, 2020

🎩 What? Why?

Please describe your pull request.
In order to generate the contents of the CHANGELOG.md we've implemented a parser that relies in a specific git-log command output to produce changelog friendly entries.

📌 Related Issues

Link your PR to an issue

  • Related to #?
  • Fixes #?

Testing

Describe the best way to test or validate your PR.
Take a range of git revisions and feed them to the parser, i.e.:

git pull && git fetch origin refs/notes/*:refs/notes/*
git log 7579b34f55e4dcfff43c160edbbf14a32bf643b2..HEAD --pretty=format:"commit %h%n%n%s%n%nNotes:%n%n%N"  > full_log
bundle exec rake parse_git_log[full_log]

📋 Checklist

🚨 Please review the guidelines for contributing to this repository.

  • CONSIDER adding a unit test if your PR resolves an issue.
  • ✔️ DO check open PR's to avoid duplicates.
  • ✔️ DO keep pull requests small so they can be easily reviewed.
  • ✔️ DO build locally before pushing.
  • ✔️ DO make sure tests pass.
  • ✔️ DO make sure any new changes are documented in docs/.
  • ✔️ DO add and modify seeds if necessary.
  • ✔️ DO add CHANGELOG upgrade notes if required.
  • ✔️ DO add to GraphQL API if there are new public fields.
  • ✔️ DO add link to MetaDecidim if it's a new feature.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

📷 Screenshots

Please add screenshots of the changes you're proposing

Parsing: full_log
Found 216 entries
CHANGELOG ENTRIES:
Fixed:
- **decidim-meetings**: Backport "Do not html_escape twice meetings title in cells" to v0.23 [\#6780](https://github.com/decidim/decidim/pull/6780)
- **decidim-consultations**: Fix aria-label attribute in the vote modal confirm close button [\#6783](https://github.com/decidim/decidim/pull/6783)
- **decidim-assemblies**: Backport "Fix images url in assemblies presenter on cloud storage" to 0.23 [\#6757](https://github.com/decidim/decidim/pull/6757)
- **decidim-admin**: Fix newsletter create and update actions (#6755) [\#6773](https://github.com/decidim/decidim/pull/6773)
- **decidim-meetings**: Backport "Fix upcoming meetings content block should only show visible meetings" to v0.23 [\#6779](https://github.com/decidim/decidim/pull/6779)
- **decidim-budgets**: Fix budgeting projects ordered ids (#6761) [\#6774](https://github.com/decidim/decidim/pull/6774)
Changed:
- **decidim-core**: Remove default static pages [\#6596](https://github.com/decidim/decidim/pull/6596)
- **decidim-core**, **decidim-dev**, **decidmi-generators**, **decidim-meetings**, **decidim-proposals**: Make maps actually configurable [\#6340](https://github.com/decidim/decidim/pull/6340)
- **decidim-design**: Update Faker quotes in design module in order to match the current gem syntax [\#6560](https://github.com/decidim/decidim/pull/6560)
- **decidim-generators**: Change default initializer settings [\#6566](https://github.com/decidim/decidim/pull/6566)
- **decidim-all**: Make file upload settings configurable [\#6377](https://github.com/decidim/decidim/pull/6377)
- **decidim-admin**, **decidim-comments**, **decidim-core**: Upgrade JavaScript dependencies [\#6524](https://github.com/decidim/decidim/pull/6524)
- **decidim-proposal**: Add editor to new_proposal_body_template [\#6517](https://github.com/decidim/decidim/pull/6517)
- **decidim-core**: Upgrade seven_zip_ruby to 1.3.0 to be compatible with Ruby 2.7 [\#6509](https://github.com/decidim/decidim/pull/6509)
- **decidim-doc**: Update release process [\#6460](https://github.com/decidim/decidim/pull/6460)
- **decidim-system**: Move OAUTH Application management to system panel [\#5955](https://github.com/decidim/decidim/pull/5955)
- **decidim-budgets**, **decidim-comments**: Budget component with many budgets [\#6223](https://github.com/decidim/decidim/pull/6223)
Added:
- **decidim-initiatives**: Initiatives signature gauge [\#6143](https://github.com/decidim/decidim/pull/6143)
- **decidim-i18n**: Complete Latvian language translation [\#6424](https://github.com/decidim/decidim/pull/6424)
- **decidim-templates**: Templates module [\#6247](https://github.com/decidim/decidim/pull/6247)
- **decidim-admin**, **decidim-core**, **decidim-elections**: Configure Decidim Bulletin Board [\#6420](https://github.com/decidim/decidim/pull/6420)
- **decidim-core**, **decidim-app_design**: Process groups template [\#6530](https://github.com/decidim/decidim/pull/6530)
- **decidim-comments**, **decidim-core**, **decidim-debates**, **decidim-dev**, **decidim-meetings**, **decidim-proposals**: Add hashtags to comments [\#6429](https://github.com/decidim/decidim/pull/6429)
- **decidim-accountability**, **decidim-blogs**, **decidim-budgets**, **decidim-comments**, **decidim-consultations**, **decidim-core**, **decidim-debates**, **decidim-initiatives**, **decidim-meetings**, **decidim-proposals**, **decidim-sortitions**: Debates filtering [\#6438](https://github.com/decidim/decidim/pull/6438)
- **decidim-budgets**, **decidim-core**, **decidim-debates**, **decidim-meetings**, **decidim-proposals**, **decidim-surveys**: Add scope to Budgets, Debates, Meetings, Proposals and Surveys components [\#6309](https://github.com/decidim/decidim/pull/6309)
- **decidim-all**: Share unpublished components with manageable tokens [\#6271](https://github.com/decidim/decidim/pull/6271)
- **decidim-budgets**: Selected projects on budgets [\#6365](https://github.com/decidim/decidim/pull/6365)
- **decidim-debates**, **decidim-meetings**, **decidim-proposals**: Meetings by participants or groups [\#6095](https://github.com/decidim/decidim/pull/6095)
....

♥️ Thank you!

@tramuntanal tramuntanal self-assigned this Nov 3, 2020
@tramuntanal tramuntanal requested review from Leusev and ivan-mr November 4, 2020 10:11
@tramuntanal tramuntanal changed the title Chore generate changelog entries Generate changelog entries Nov 4, 2020
Copy link
Copy Markdown
Contributor

@ivan-mr ivan-mr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks @tramuntanal !

Copy link
Copy Markdown
Contributor

@Leusev Leusev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow! Very cool way to get changelog file info!
Good job @tramuntanal 👍

@tramuntanal tramuntanal merged commit d5a7e83 into develop Nov 11, 2020
@tramuntanal tramuntanal deleted the chore/generate_changelog_entries branch November 11, 2020 07:56
edgarlatorre pushed a commit that referenced this pull request Nov 11, 2020
* Start implementing :parse_git_log rake task

* Introduce the GitLogParser

* Document step by step how to use the rake task

* Rubocopify

* Rename argument
andreslucena added a commit that referenced this pull request Nov 17, 2020
andreslucena added a commit that referenced this pull request Nov 19, 2020
Leusev pushed a commit that referenced this pull request Dec 2, 2020
* Remove Markdown doc

* Add documentation with Antora (AsciiDoc format - .adoc)

Adds sections:
* configure
* customize
* develop
* install
* services

Also adds:
* a README explaining the relationship with the documentation repository
available in https://github.com/decidim/documentation
* antora metadata file so we can build these sections in the same website

* Fix Antora name for docs

* Rename advanced pages to Concerns

* Add Authorizations customize from module's README

* Move 'add_authorizable_action' to 'permissions'

* Move 'adding_fixtures_aka_dummy_content' to 'components'

* Move 'how_to_create_a_module' to 'components'

* Remove 'upgrading', now it's in 'update'

* Install guide: fix error in 'whatever' gem (it's 'whenever')

* Install guide: fix error in RAILS_ENV order in commands

* Install guide: fix command for open_data export

* Install guide: fix link to Contribution guide

* Develop guide: add example apps

* Architecture docs

Add first version of c4model diagrams with PlantUML

* https://c4model.com/
* https://plantuml.com/
* https://github.com/RicardoNiepel/C4-PlantUML

* Add some explanation of modules types (with Components link)

* Configure: ENV VARS and Initializer

This moves ENV VARS configuration docs to its own page.
We also create a new page for explaining Decidim's initializer settings
(config/initializer/decidim.rb). For the moment is mostly a copy paste with
nice formating, but the idea is to expand it.

* Sync "Make maps actually configurable" by @ahukkanen

Extracted from #6340

* Sync "Templates module" by @verarojman

Extracted from #6247

* Sync "Configure Decidim Bulletin Board" by @leio10

Extracted from #6420

* Sync "Add a task to fix locale issues" by @microstudi

Extracted from #6510

* Update versions in SECURITY.adoc

* Convert CONTRIBUTING.md to AsciiDoc

* Convert README.md to AsciiDoc

* Clarify CONTRIBUTING and links to docs site

* Remove Markdown linter CI

* Sync "Update documentation for `decidim` OAuth social provider" by @tramuntanal

Extracted from #6607

* Sync "Generate changelog entries" by @tramuntanal

Extracted from #6794

* Fix link in oauth.adoc

* Sync "Improve moderation panel" by @beagleknight

Extracted from #6677

* Removes trailing whitespaces

Co-authored-by: Oliver Valls <199462+tramuntanal@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants