[19.0][MIG] vcp_management: Migration to 19.0 - #11
Conversation
set kind field required at platform level. It doesn't makes sense to have a plateform without kind + it makes failing call of update_information AttributeError: 'vcp.platform' object has no attribute '_update_information_False'. Did you mean: '_update_information_github'?
Remove dependancy on website Create users and Organizations Remove portal dependancy Improve comments. Add Host Type Add groups Handle importing by cron add git url Add rules & cloc review Add dependancies Order of file loading Adding tests Copy with depth 1 Set default values, fix views
bad path for icon allow to delete a repository, if it has repository branch allow to fetch only 'sources' repositories, ignoring forks allow to fetch only 'active' repositories, ignoring archived repositories allow to delete a branch, if it has repository branch 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 Add new smart button to go from a platform to related repositories put vcp.platform.key model in dedicated file, applying OCA rule use new image.mixin, simplifying code base add branch count on repo level display all the versionsw where the module is available 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 use new menu items nested system Add vcp.branch menuitem, and improve display Add vcp.branch menuitem, and improve display. Fix body storage. (convert markdown into html) Add vcp.review menuitem, and improve display Add a menu entry for the vcp.request.label model. Add a Color field on labels. add link from vcp.request to vcp.review add link from vcp.request to vcp.comment 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 allow to delete pull requests improve naming of field, renaming information_update into scheduled_information_update. Add a helper. Check the field by default, as it is the expected behaviour user want harmonize actions. put a path in all actions. rename xml_id of some actions. improve naming of field, renaming information_update into scheduled_information_update for vcp.repository model. Add helpers. explicit limit in cron python code. explicit limit in dron definition. add a filter to display only active requests. (draft and open) add vcp.repository.branch menu entry tests now include parameter limit
Improve texts improve readme. Add some fixes. split git logic
Some repo can have broken data that block the rule processing add a simple error mecanism to avoid blocking the cron and blocking the process of every branch
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: version-control-platform-18.0/version-control-platform-18.0-vcp_management Translate-URL: https://translation.odoo-community.org/projects/version-control-platform-18-0/version-control-platform-18-0-vcp_management/
e7bed0a to
bde5444
Compare
d3f09f7 to
9f6c888
Compare
|
Hello, @etobella @sebastienbeau @pedrobaeza @victoralmau @legalsylvain @tarteo Following the discussion in OCA/interface-git#137, I reviewed both the Based on that discussion, I first migrated the module to 19.0 while preserving the existing functionality. After that, I made a few improvements to better align and consolidate the functionality from both repositories. Each improvement has been made in a separate commit and You can find a detailed description of each improvement in the corresponding commit message, making it easier to review. I would appreciate your feedback on the proposed approach and the implementation. |
|
I think it's better to simply migrate the module in this PR, and then propose those improvements once merged, for avoiding to block the whole pack due to the discussion about the improvements. |
9f6c888 to
bde5444
Compare
|
@pedrobaeza Thanks for your feedback. I have removed the improvement commits, so this PR now contains only the migration changes. The improvements can be proposed separately once the migration is merged. Could you please review it? |
|
Can you add this? #17 |
|
Sorry, #16 |
bde5444 to
22e7396
Compare
Done! |
No description provided.