Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions odoo_project_changelog/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
=========================
Odoo Project - Changelogs
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:06757be51744d76ceef1dad049c603a1dfbf21bed97b8f57c373a9a53b318556
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmodule--composition--analysis-lightgray.png?logo=github
:target: https://github.com/OCA/module-composition-analysis/tree/18.0/odoo_project_changelog
:alt: OCA/module-composition-analysis
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/module-composition-analysis-18-0/module-composition-analysis-18-0-odoo_project_changelog
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/module-composition-analysis&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to generate CHANGELOGs for repositories used within a
project.

Changelogs are generated from ``git`` commits history, and take as input
source and target references from this repository (a commit SHA, branch,
tag...). Only relevant changes done will be listed to not clutter the
changelog (translations, unit tests or documentation updates won't be
listed).

The output is an HTML page where the user can easily navigate, fold and
unfold sections.

|Changelog|

.. |Changelog| image:: https://raw.githubusercontent.com/OCA/module-composition-analysis/18.0/odoo_project_changelog/static/img/changelog.png

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/module-composition-analysis/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/module-composition-analysis/issues/new?body=module:%20odoo_project_changelog%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Camptocamp

Contributors
------------

- Camptocamp

- Sébastien Alix <seb@usr-src.org>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/module-composition-analysis <https://github.com/OCA/module-composition-analysis/tree/18.0/odoo_project_changelog>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions odoo_project_changelog/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions odoo_project_changelog/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2024 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "Odoo Project - Changelogs",
"summary": "Generate Changelogs from repositories for installed modules.",
"version": "18.0.1.0.0",
"category": "Tools",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/module-composition-analysis",
"data": [
"security/ir.model.access.csv",
"data/queue_job.xml",
"views/odoo_project.xml",
"report/ir_actions_report.xml",
"report/odoo_project_changelog.xml",
],
"installable": True,
"depends": [
"odoo_project",
],
"license": "AGPL-3",
}
29 changes: 29 additions & 0 deletions odoo_project_changelog/data/queue_job.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 Camptocamp SA
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="queue_job_channel_odoo_project_changelog" model="queue.job.channel">
<field name="name">odoo_project_changelog</field>
<field name="parent_id" ref="queue_job.channel_root" />
</record>

<record
id="queue_job_function_odoo_project_repository_generate_changelog"
model="queue.job.function"
>
<field name="model_id" ref="model_odoo_project_repository" />
<field name="method">_generate_changelog</field>
<field name="channel_id" ref="queue_job_channel_odoo_project_changelog" />
<field name="retry_pattern" eval="{1: 1, 5: 5, 10: 10, 15: 30}" />
</record>

<record
id="queue_job_function_odoo_project_generate_changelog_report"
model="queue.job.function"
>
<field name="model_id" ref="model_odoo_project" />
<field name="method">_generate_changelog_report</field>
<field name="channel_id" ref="queue_job_channel_odoo_project_changelog" />
<field name="retry_pattern" eval="{1: 1, 5: 5, 10: 10, 15: 30}" />
</record>
</odoo>
211 changes: 211 additions & 0 deletions odoo_project_changelog/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * odoo_project_changelog
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.report_changelog
msgid "- CHANGELOG"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.odoo_project_view_form
msgid ""
"<span class=\"fa fa-arrow-right ml8 mr8\" title=\"Arrow Right\" "
"attrs=\"{'invisible': [('changelog_state', '!=', 'done')]}\"/>"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.actions.report,name:odoo_project_changelog.action_report_changelog
#: model:ir.actions.report,print_report_name:odoo_project_changelog.action_report_changelog
msgid "CHANGELOG"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.odoo_project_view_form
msgid "Changelog"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project__changelog_state
msgid "Changelog State"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project__changelog_url
msgid "Changelog Url"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,help:odoo_project_changelog.field_odoo_project_repository__target_commit
msgid ""
"Changelog is generated until this commit. If not set, the latest commit of "
"the branch is used."
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__create_uid
msgid "Created by"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__create_date
msgid "Created on"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.report_changelog
msgid "Date:"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__deployed_commit
msgid "Deployed Commit"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__display_name
msgid "Display Name"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields.selection,name:odoo_project_changelog.selection__odoo_project__changelog_state__done
msgid "Done"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project__changelog_enabled_repository_ids
msgid "Enabled Repositories for CHANGELOG"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.report_changelog
msgid "From"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.odoo_project_view_form
msgid "Generate CHANGELOG"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__id
msgid "ID"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields.selection,name:odoo_project_changelog.selection__odoo_project__changelog_state__in_progress
msgid "In progress"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__active
msgid "Include"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository____last_update
msgid "Last Modified on"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__write_uid
msgid "Last Updated by"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__write_date
msgid "Last Updated on"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.report_changelog
msgid "Link"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields.selection,name:odoo_project_changelog.selection__odoo_project__changelog_state__none
msgid "None"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model,name:odoo_project_changelog.model_odoo_project
msgid "Odoo Project"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.odoo_project_view_form
msgid "Open CHANGELOG"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__odoo_project_id
msgid "Project"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.odoo_project_view_form
msgid "Refresh"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.odoo_project_view_form
msgid "Repositories"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__repository_branch_id
msgid "Repository Branch"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model,name:odoo_project_changelog.model_odoo_project_repository
msgid "Repository used in a project"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project_repository__target_commit
msgid "Target Commit"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,help:odoo_project_changelog.field_odoo_project_repository__deployed_commit
msgid "The changelog is generated from this commit."
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.odoo_project_view_form
msgid "To compare with"
msgstr ""

#. module: odoo_project_changelog
#: model:ir.model.fields,field_description:odoo_project_changelog.field_odoo_project__used_repository_ids
msgid "Used Repositories"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.report_changelog
msgid "change"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.report_changelog
msgid "modules)"
msgstr ""

#. module: odoo_project_changelog
#: model_terms:ir.ui.view,arch_db:odoo_project_changelog.report_changelog
msgid "to"
msgstr ""
Loading
Loading