Skip to content

[19.0][MIG] vcp_GitHub: Migration to 19.0#13

Open
BhaveshHeliconia wants to merge 17 commits into
OCA:19.0from
HeliconiaIO:19.0-mig-vcp_github
Open

[19.0][MIG] vcp_GitHub: Migration to 19.0#13
BhaveshHeliconia wants to merge 17 commits into
OCA:19.0from
HeliconiaIO:19.0-mig-vcp_github

Conversation

@BhaveshHeliconia

Copy link
Copy Markdown

etobella and others added 16 commits June 29, 2026 10:50
use users and partners

Fix rename from vcp.platform.type to vcp.host

Adapt to Host Type

Fix tests

add git url

Adapt tests and code to get data
allow to fetch only 'sources' repositories, ignoring forks

allow to fetch only 'active' repositories, ignoring archived repositories

add last_commit_date (in github, it related to 'PushedAt' field. (https://github.com/orgs/community/discussions/24442). It's an important field that show if the repo is active, or totally abandonned

adapt github mock to latest changes

demo data

Add branch pattern, to fetch only branches whose names are matching a given pattern. It allows to ignore ocabot branches, in case of fetching OCA repositories

Add vcp.branch menuitem, and improve display. Fix body storage. (convert markdown into html)

get 'draft' state of pull requests. add a new 'status' field on vcp.request, that is based on 'is_draft', 'is_merged' and 'state' field to display the correct ribbon on form view / badge on list view

improve naming of field, renaming information_update into scheduled_information_update.
Add an helper.
Check the field by default, as it is the expected behaviour user want

Improve naming of field, renaming information_update into scheduled_information_update for vcp.repository model.
    Add helpers. explicit limit in cron python code.

do not create a branch when fetching pull request, if the target branch doesn't match the pattern
Improve error message

Fix minor texts and readme

Adapt to new VCP logic
Currently translated at 100.0% (7 of 7 strings)

Translation: version-control-platform-18.0/version-control-platform-18.0-vcp_github
Translate-URL: https://translation.odoo-community.org/projects/version-control-platform-18-0/version-control-platform-18-0-vcp_github/it/
after importing all oca prn there is some review that are not submitted and so not public
but still available in the API, only import review submitted
@BhaveshHeliconia
BhaveshHeliconia marked this pull request as draft June 29, 2026 05:48
@BhaveshHeliconia
BhaveshHeliconia force-pushed the 19.0-mig-vcp_github branch 3 times, most recently from bef79ca to e2d63c8 Compare July 3, 2026 04:36
@BhaveshHeliconia
BhaveshHeliconia marked this pull request as ready for review July 3, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants