-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][MIG] github_connector: Migration to version 16.0 #118
Conversation
…hod. [FIX] Add the organization_id.github_login to the github url Making the github url the form: https://github.com/OCA/account-analytic/tree/9.0 and not the https://github.com/account-analytic/tree/9.0 before this commit [IMP] Make travis happy [IMP] Fix error with teams sync We already have the organization in the team data, and github does not provide anymore in the result for the team data.
[IMP] raise error instead of logging in case of duplicates To avoid creating additional duplicates.
[FIX] add ondelete cascade [FIX] team creation from odoo [FIX] possibility to recursively load an existing object
[REF] github_connector: Fix typo "should not => does not" (OCA#6)
[FIX] github_connector: remove duplicated group
* Fixed JSON response parsing issue while fetching data by URL
* [IMP] Add try-except on branch analyze action Add try-except statements on analyze actions that could potentially crash the analyze process. * [REF] Fix error logging Changes include: - fix error values - use error instead of warning * [IMP] Fix error in analyze call Fix a programming mistake in the analyze call. By @RoelAdriaans * [IMP] Bump version number of github_connector Bump the version number of github_connector to '11.0.1.1.1'. * [IMP] Bump version number of github_connector Bump the version number of github_connector_odoo to '11.0.1.1.1'.
To play nice with Sentry.
[FIX] github_connector: keyerror 'blog' Description of the issue/feature this PR addresses: On new database error when syncing new github organization (example: OCA). Error traceback: KeyError: 'blog' Current behavior before PR: Synchronization gets blog key on `get_odoo_data_from_github` but blog field does not exist. When it tries to match the key with model attribute we get key error. Desired behavior after PR is merged: Get blog key from github data and show it on form view.
If source path does not exists before adding it to modules path, styles on website are corrupted, making impossible load them from assets.
Don't mix bytes and str
There's a mix between self and branch arguments in analyze methods.
…functional This field allows to define where addons are located, but it's hidden right now, because not everything is properly adjusted for paths different from root. Making this working, there's no need to hide the field.
linter Linter Linter default value to empty string in get()'s secure the code improvment of the code coding style coding style
Using os.command gets hung when there's a problem deleting the folder (for example, when no permissions), so this stucks the cron method or the manual process of updating source code. We avoid it using the Python utility for that through shutil. We also avoid an exception in that case enclosing the sentence in a try/except clause.
5bdf9f1
to
0bbc5d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some non-blocking suggestions.
Please check all tabs of all menus to display the data correctly (colspan), some examples:
- Organizations > Github
- Teams > Github
- Repositories > Github
github_connector/report/github_repository_branch_rule_info_report.py
Outdated
Show resolved
Hide resolved
27a634b
to
03f944e
Compare
Is this still WIP? |
no, it is ready for review Thanks! |
This is still pending (I haven't seen any changes to it), can you check it? |
I have changed on this: 03f944e On which section is not displaying well or could you please give me an example ? thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review OK.
Can you check "Light Sync" and "Full Sync" buttons in "Github" tabs to make them display a little better?
I could't get a better display for them, do you have any idea how to do it? |
/ocabot migration github_connector |
03f944e
to
642b26b
Compare
/ocabot migration github_connector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge nobump
On my way to merge this fine PR! |
Congratulations, your PR was merged at 31a788f. Thanks a lot for contributing to OCA. ❤️ |
@Tecnativa
TT45633
@pedrobaeza @victoralmau