================
Github Connector
================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:29c14b59b60246cac8e8b59309bf989c02dd1b2067ce1f395b45d31f5f29944f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Finterface--github-lightgray.png?logo=github
:target: https://github.com/OCA/interface-github/tree/17.0/github_connector
:alt: OCA/interface-github
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/interface-github-17-0/interface-github-17-0-github_connector
: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/interface-github&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module allows you to:
- Fetch into Odoo social information from Github (Organizations, Teams,
Users)
- Fetch into Odoo Code structure information from Github (Repositories,
Branches)
- Download source code from Github
- Analyze repository code from rules previously created
**Table of contents**
.. contents::
:local:
Installation
============
To install this addon, you need to install some python dependencies
.. code:: bash
sudo pip install PyGitHub
sudo apt install cloc
sudo pip install pathspec
sudo pip install GitPython
Analysis source code is generated by
https://github.com/roskakori/pygount
Configuration
=============
Once installed, you have to:
1. Open your odoo.conf file and add extra settings to mention Github
credentials, and the local path where the source code will be
downloaded:
- ``source_code_local_path = /workspace/source_code/``
Note: you can define the route as environment variable using the key
SOURCE_CODE_LOCAL_PATH
Note: make sure that Odoo process has read / write access on that folder
- ``github_token = your_github_access_token``
Note: The login/password auth has been deprecated by GitHub.
https://docs.github.com/en/rest/overview/other-authentication-methods#via-username-and-password
1. Go to 'Settings' / 'Technical' / 'Parameters' / 'System Parameters'
and define the following values:
1. ``github.max_try``: number of call to the API before an error is
raised. The more unstable/slow your connection, the higher should
be this value
2. ``git.partial_commit_during_analysis``: Set to ``True`` if you
want to commit the result of the analysis in the database after
each repository analysis. We recommend to set to ``True`` when you
perform the initial download (potentially with a lot of
repositories) in order to reduce the size of the transaction
|image|
2. Go to your(s) user(s) form to add them in the new 'Connector Github
Manager' groups. The members of this group will have the possibility
to run Github synchronization.
Technical Information
---------------------
This module provides 4 crons that you can enable:
- Synchronize All Organizations and Teams
(``cron_update_organization``)
- Synchronize Branches List for All repositories
(``cron_update_branch_list``)
- Download Source Code for All Github Branches (``cron_download_code``)
- Analyze Source Code for All Github Branches (``cron_analyze_code``)
.. |image| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_settings.png
Usage
=====
Initial upload from Github
--------------------------
To fetch information from Github, you have to:
1. go to 'Github' / 'Settings' / 'Sync Object'
2. Select the object type you want to synchronize and its Gthub name
|sync_organization|
3. Once done for your organization(s), go to 'Github' / 'Github
Commnunity' / 'Organizations'
|github_organization_kanban|
4. Optionally, once organization is created, you can create series for
your projects. Go to 'Github' / 'Organizations' / click on your
organization / 'Organization Series' Tabs
|github_organization_series|
Select branches to download
---------------------------
This setting will prevent to download undesired branches, downloading
only main branches (releases):
1. In the 'Settings' tab, set repositories you don't want to download
(or repositories you want to download). If 'Specific repositories' is
set, 'Ignored Repositories' value is ignored.
2. In the 'Settings' tab, set the URL of the 'External Services' you use
for Continuous Integration and Coverage.
|github_organization_external_services|
3. Once done, click on buttons 'Syncs', to synchronize repositories,
teams and members. (This process can take a while depending of your
size)
|github_organization_sync_buttons|
Team / members synchronization
------------------------------
You can synchronize members teams:
1. Go to 'Teams' / tree view / 'Actions' / 'Update from Github'.
|github_team_kanban|
2. In each team, you can see the members list and the role of the
members
|github_team_partner_kanban|
3. In each team, you can see the repositories list but not the
permissions of the team. (See 'Known Issues' Section)
|github_team_repository_kanban|
Repositories synchronization
----------------------------
You can synchronize the branches of your repositories:
1. Go to 'Repositories' / tree view / 'Actions' / 'Update from Github'
|github_repository_kanban|
2. In each repository, you can see the main branches list and the size
of code source.
|github_repository_branch_kanban|
Fetching the source code
------------------------
Finally, you can download locally the source code of all your branches:
1. Go to 'Repository Branches' / tree view / 'Actions' / 'Download and
Analyse Source Code'.
|wizard_download_analyze|
2. In the tree view you can update manually source code or refresh
analysis.
|github_repository_branch_list|
Analysis source code
--------------------
It's possible to create custom analysis rules that relate to a GitHub
organization, GitHub repository and/or GitHub repository branch to
analyze code.
1. Go to 'Settings' / 'Analysis rule groups' and create records that
allow to organize the rules
2. Go to 'Settings' / 'Analysis rules' and create rules, for example:
..
1. Name: All code, Group: General, Paths: ``*``
2. Name: Python code, Group: General, Paths: ``*.py``
3. Name: Xml code, Group: General, Paths: ``*.xml``
4. Name: Repository 1, Group: Custom, Paths: /path/
Note: Paths field in 'Analysis rule' allow to put multiple paths for
line, path format is according to
https://git-scm.com/docs/gitignore#_pattern_format
1. Go to *GitHub > GitHub Community > Organizations* and define Analysis
rules (optional)
2. Go to *GitHub > GitHub Repository > Repositories* and define Analysis
rules (optional)
3. Go to *GitHub > GitHub Repository > Repository Branches* and define
Analysis rules (optional)
Analysis source code is executed when 'Update Source Code Analysis'
button in some 'Repository Branch', get all the Analysis rules
(Repository + Organization) and analyze code and generate info about it
Other option to Analysis source code is in cron called 'Analyze Source
Code for All Github Branches'
You can see in 'Repository Branch' / 'Code Analysis' the info obtained
from analysis rules.
Data creation in Github
-----------------------
You have the possibility to creates two items in Github directly from
Odoo
1. Teams:
1. Go to 'Settings' / 'Create Team in Github'.
2. Set the information and click on Create in Github.
3. Odoo will try to create the team. If access right and datas are
correct, the creation will be done directly in Github
4. Later on, a synchronization will be performed, to create the
according team in the Odoo instance.
|wizard_create_team|
2. Repositories:
1. Go to 'Settings' / 'Create Team in Github'.
2. Set the information and click on Create in Github.
|wizard_create_repository|
Note
----
Analysis in this module is basic: for the time being, it just gives
branches size.
Nevertheless, you can develop an extra Odoo Custom module to extend
analysis function and get extra statistics, depending on your needs.
In that way, you can see the module github_connector_odoo, if your
repositories contain Odoo modules.
Reporting
---------
This module provides several reports
**Branches by Serie**
|reporting_branches_by_serie|
**Sizes by Serie**
|reporting_sizes_by_serie|
**Repository branch analysis rule**
|github_repository_branch_rule_info_report|
.. |sync_organization| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/sync_organization.png
.. |github_organization_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_organization_kanban.png
.. |github_organization_series| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_organization_series.png
.. |github_organization_external_services| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_organization_external_services.png
.. |github_organization_sync_buttons| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_organization_sync_buttons.png
.. |github_team_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_team_kanban.png
.. |github_team_partner_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_team_partner_kanban.png
.. |github_team_repository_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_team_repository_kanban.png
.. |github_repository_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_repository_kanban.png
.. |github_repository_branch_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_repository_branch_kanban.png
.. |wizard_download_analyze| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/wizard_download_analyze.png
.. |github_repository_branch_list| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_repository_branch_list.png
.. |wizard_create_team| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/wizard_create_team.png
.. |wizard_create_repository| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/wizard_create_repository.png
.. |reporting_branches_by_serie| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/reporting_branches_by_serie.png
.. |reporting_sizes_by_serie| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/reporting_sizes_by_serie.png
.. |github_repository_branch_rule_info_report| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_repository_branch_rule_info_report.png
Known issues / Roadmap
======================
- For the time being, Github API doesn't provide some informations that
are available by the classic UI, that includes:
1. team hierarchy: the field is present in the model
github_team.parent_id, but unused.
- Possible improvements:
1. Create a new module github_connector_website, that could display
teams / repositories / branches informations for non logged users.
2. Analyze commits (author, quantity by series, etc...): this feature
has been partially implemented in a V8.0 PR.
3. Synchronize Pull Request, Issues, Comments: this feature has been
partially implemented in a V8.0 PR.
- Refactor the github connector:
A python library called PyGitHub is available. It could be
interesting to use it, instead of using custom code. However, this
lib doesn't provide good access to child object, generating for the
time being, unnecessary API calls. For example, updating a repository
should call before a call to the parent organization (The current
module is so faster).
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/interface-github/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/interface-github/issues/new?body=module:%20github_connector%0Aversion:%2017.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
-------
* GRAP
* Akretion
* Tecnativa
Contributors
------------
- Sylvain LE GAL (https://twitter.com/legalsylvain)
- Sébastien BEAU (sebastien.beau@akretion.com)
- Benoît GUILLOT (benoit.guillot@akretion.com)
- Enrique Martín (enriquemartin@digital5.es)
- `Tecnativa <https://www.tecnativa.com>`__:",
- Pedro M. Baeza
- Vicent Cubells
- Alexandre Díaz
- Ernesto Tejeda
- Carlos Roca
- Víctor Martínez
- João Marques
- Carolina Fernandez
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/interface-github <https://github.com/OCA/interface-github/tree/17.0/github_connector>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Raw data
{
"_id": null,
"home_page": "https://github.com/OCA/interface-github",
"name": "odoo-addon-github-connector",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Odoo Community Association (OCA), GRAP, Akretion, Tecnativa",
"author_email": "support@odoo-community.org",
"download_url": null,
"platform": null,
"description": "================\nGithub Connector\n================\n\n.. \n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! source digest: sha256:29c14b59b60246cac8e8b59309bf989c02dd1b2067ce1f395b45d31f5f29944f\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Finterface--github-lightgray.png?logo=github\n :target: https://github.com/OCA/interface-github/tree/17.0/github_connector\n :alt: OCA/interface-github\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/interface-github-17-0/interface-github-17-0-github_connector\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n :target: https://runboat.odoo-community.org/builds?repo=OCA/interface-github&target_branch=17.0\n :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThis module allows you to:\n\n- Fetch into Odoo social information from Github (Organizations, Teams,\n Users)\n- Fetch into Odoo Code structure information from Github (Repositories,\n Branches)\n- Download source code from Github\n- Analyze repository code from rules previously created\n\n**Table of contents**\n\n.. contents::\n :local:\n\nInstallation\n============\n\nTo install this addon, you need to install some python dependencies\n\n.. code:: bash\n\n sudo pip install PyGitHub\n sudo apt install cloc\n sudo pip install pathspec\n sudo pip install GitPython\n\nAnalysis source code is generated by\nhttps://github.com/roskakori/pygount\n\nConfiguration\n=============\n\nOnce installed, you have to:\n\n1. Open your odoo.conf file and add extra settings to mention Github\n credentials, and the local path where the source code will be\n downloaded:\n\n - ``source_code_local_path = /workspace/source_code/``\n\nNote: you can define the route as environment variable using the key\nSOURCE_CODE_LOCAL_PATH\n\nNote: make sure that Odoo process has read / write access on that folder\n\n - ``github_token = your_github_access_token``\n\nNote: The login/password auth has been deprecated by GitHub.\nhttps://docs.github.com/en/rest/overview/other-authentication-methods#via-username-and-password\n\n1. Go to 'Settings' / 'Technical' / 'Parameters' / 'System Parameters'\n and define the following values:\n\n 1. ``github.max_try``: number of call to the API before an error is\n raised. The more unstable/slow your connection, the higher should\n be this value\n 2. ``git.partial_commit_during_analysis``: Set to ``True`` if you\n want to commit the result of the analysis in the database after\n each repository analysis. We recommend to set to ``True`` when you\n perform the initial download (potentially with a lot of\n repositories) in order to reduce the size of the transaction\n\n |image|\n\n2. Go to your(s) user(s) form to add them in the new 'Connector Github\n Manager' groups. The members of this group will have the possibility\n to run Github synchronization.\n\nTechnical Information\n---------------------\n\nThis module provides 4 crons that you can enable:\n\n- Synchronize All Organizations and Teams\n (``cron_update_organization``)\n- Synchronize Branches List for All repositories\n (``cron_update_branch_list``)\n- Download Source Code for All Github Branches (``cron_download_code``)\n- Analyze Source Code for All Github Branches (``cron_analyze_code``)\n\n.. |image| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_settings.png\n\nUsage\n=====\n\nInitial upload from Github\n--------------------------\n\nTo fetch information from Github, you have to:\n\n1. go to 'Github' / 'Settings' / 'Sync Object'\n\n2. Select the object type you want to synchronize and its Gthub name\n\n |sync_organization|\n\n3. Once done for your organization(s), go to 'Github' / 'Github\n Commnunity' / 'Organizations'\n\n |github_organization_kanban|\n\n4. Optionally, once organization is created, you can create series for\n your projects. Go to 'Github' / 'Organizations' / click on your\n organization / 'Organization Series' Tabs\n\n |github_organization_series|\n\nSelect branches to download\n---------------------------\n\nThis setting will prevent to download undesired branches, downloading\nonly main branches (releases):\n\n1. In the 'Settings' tab, set repositories you don't want to download\n (or repositories you want to download). If 'Specific repositories' is\n set, 'Ignored Repositories' value is ignored.\n\n2. In the 'Settings' tab, set the URL of the 'External Services' you use\n for Continuous Integration and Coverage.\n\n |github_organization_external_services|\n\n3. Once done, click on buttons 'Syncs', to synchronize repositories,\n teams and members. (This process can take a while depending of your\n size)\n\n |github_organization_sync_buttons|\n\nTeam / members synchronization\n------------------------------\n\nYou can synchronize members teams:\n\n1. Go to 'Teams' / tree view / 'Actions' / 'Update from Github'.\n\n |github_team_kanban|\n\n2. In each team, you can see the members list and the role of the\n members\n\n |github_team_partner_kanban|\n\n3. In each team, you can see the repositories list but not the\n permissions of the team. (See 'Known Issues' Section)\n\n |github_team_repository_kanban|\n\nRepositories synchronization\n----------------------------\n\nYou can synchronize the branches of your repositories:\n\n1. Go to 'Repositories' / tree view / 'Actions' / 'Update from Github'\n\n |github_repository_kanban|\n\n2. In each repository, you can see the main branches list and the size\n of code source.\n\n |github_repository_branch_kanban|\n\nFetching the source code\n------------------------\n\nFinally, you can download locally the source code of all your branches:\n\n1. Go to 'Repository Branches' / tree view / 'Actions' / 'Download and\n Analyse Source Code'.\n\n |wizard_download_analyze|\n\n2. In the tree view you can update manually source code or refresh\n analysis.\n\n |github_repository_branch_list|\n\nAnalysis source code\n--------------------\n\nIt's possible to create custom analysis rules that relate to a GitHub\norganization, GitHub repository and/or GitHub repository branch to\nanalyze code.\n\n1. Go to 'Settings' / 'Analysis rule groups' and create records that\n allow to organize the rules\n2. Go to 'Settings' / 'Analysis rules' and create rules, for example:\n\n..\n\n 1. Name: All code, Group: General, Paths: ``*``\n 2. Name: Python code, Group: General, Paths: ``*.py``\n 3. Name: Xml code, Group: General, Paths: ``*.xml``\n 4. Name: Repository 1, Group: Custom, Paths: /path/\n\nNote: Paths field in 'Analysis rule' allow to put multiple paths for\nline, path format is according to\nhttps://git-scm.com/docs/gitignore#_pattern_format\n\n1. Go to *GitHub > GitHub Community > Organizations* and define Analysis\n rules (optional)\n2. Go to *GitHub > GitHub Repository > Repositories* and define Analysis\n rules (optional)\n3. Go to *GitHub > GitHub Repository > Repository Branches* and define\n Analysis rules (optional)\n\nAnalysis source code is executed when 'Update Source Code Analysis'\nbutton in some 'Repository Branch', get all the Analysis rules\n(Repository + Organization) and analyze code and generate info about it\nOther option to Analysis source code is in cron called 'Analyze Source\nCode for All Github Branches'\n\nYou can see in 'Repository Branch' / 'Code Analysis' the info obtained\nfrom analysis rules.\n\nData creation in Github\n-----------------------\n\nYou have the possibility to creates two items in Github directly from\nOdoo\n\n1. Teams:\n\n 1. Go to 'Settings' / 'Create Team in Github'.\n 2. Set the information and click on Create in Github.\n 3. Odoo will try to create the team. If access right and datas are\n correct, the creation will be done directly in Github\n 4. Later on, a synchronization will be performed, to create the\n according team in the Odoo instance.\n\n |wizard_create_team|\n\n2. Repositories:\n\n 1. Go to 'Settings' / 'Create Team in Github'.\n 2. Set the information and click on Create in Github.\n\n |wizard_create_repository|\n\nNote\n----\n\nAnalysis in this module is basic: for the time being, it just gives\nbranches size.\n\nNevertheless, you can develop an extra Odoo Custom module to extend\nanalysis function and get extra statistics, depending on your needs.\n\nIn that way, you can see the module github_connector_odoo, if your\nrepositories contain Odoo modules.\n\nReporting\n---------\n\nThis module provides several reports\n\n**Branches by Serie**\n\n|reporting_branches_by_serie|\n\n**Sizes by Serie**\n\n|reporting_sizes_by_serie|\n\n**Repository branch analysis rule**\n\n|github_repository_branch_rule_info_report|\n\n.. |sync_organization| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/sync_organization.png\n.. |github_organization_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_organization_kanban.png\n.. |github_organization_series| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_organization_series.png\n.. |github_organization_external_services| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_organization_external_services.png\n.. |github_organization_sync_buttons| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_organization_sync_buttons.png\n.. |github_team_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_team_kanban.png\n.. |github_team_partner_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_team_partner_kanban.png\n.. |github_team_repository_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_team_repository_kanban.png\n.. |github_repository_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_repository_kanban.png\n.. |github_repository_branch_kanban| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_repository_branch_kanban.png\n.. |wizard_download_analyze| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/wizard_download_analyze.png\n.. |github_repository_branch_list| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_repository_branch_list.png\n.. |wizard_create_team| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/wizard_create_team.png\n.. |wizard_create_repository| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/wizard_create_repository.png\n.. |reporting_branches_by_serie| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/reporting_branches_by_serie.png\n.. |reporting_sizes_by_serie| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/reporting_sizes_by_serie.png\n.. |github_repository_branch_rule_info_report| image:: https://raw.githubusercontent.com/OCA/interface-github/17.0/github_connector/static/description/github_repository_branch_rule_info_report.png\n\nKnown issues / Roadmap\n======================\n\n- For the time being, Github API doesn't provide some informations that\n are available by the classic UI, that includes:\n\n 1. team hierarchy: the field is present in the model\n github_team.parent_id, but unused.\n\n- Possible improvements:\n\n 1. Create a new module github_connector_website, that could display\n teams / repositories / branches informations for non logged users.\n 2. Analyze commits (author, quantity by series, etc...): this feature\n has been partially implemented in a V8.0 PR.\n 3. Synchronize Pull Request, Issues, Comments: this feature has been\n partially implemented in a V8.0 PR.\n\n- Refactor the github connector:\n\n A python library called PyGitHub is available. It could be\n interesting to use it, instead of using custom code. However, this\n lib doesn't provide good access to child object, generating for the\n time being, unnecessary API calls. For example, updating a repository\n should call before a call to the parent organization (The current\n module is so faster).\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/interface-github/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/interface-github/issues/new?body=module:%20github_connector%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n-------\n\n* GRAP\n* Akretion\n* Tecnativa\n\nContributors\n------------\n\n- Sylvain LE GAL (https://twitter.com/legalsylvain)\n- S\u00e9bastien BEAU (sebastien.beau@akretion.com)\n- Beno\u00eet GUILLOT (benoit.guillot@akretion.com)\n- Enrique Mart\u00edn (enriquemartin@digital5.es)\n- `Tecnativa <https://www.tecnativa.com>`__:\",\n\n - Pedro M. Baeza\n - Vicent Cubells\n - Alexandre D\u00edaz\n - Ernesto Tejeda\n - Carlos Roca\n - V\u00edctor Mart\u00ednez\n - Jo\u00e3o Marques\n - Carolina Fernandez\n\nMaintainers\n-----------\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nThis module is part of the `OCA/interface-github <https://github.com/OCA/interface-github/tree/17.0/github_connector>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n",
"bugtrack_url": null,
"license": "AGPL-3",
"summary": "Synchronize information from Github repositories",
"version": "17.0.1.0.0.6",
"project_urls": {
"Homepage": "https://github.com/OCA/interface-github"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d215bec5c0b14e9ae0ada526b11957d2cfbef2ea0915dbe8a45d7ef33652feb4",
"md5": "ee1c68de17c91b1a8a0939c5dda7e0f8",
"sha256": "723dce06f8bd1c751e7232532b11e14925d140a01ee83b9c971697526477beea"
},
"downloads": -1,
"filename": "odoo_addon_github_connector-17.0.1.0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee1c68de17c91b1a8a0939c5dda7e0f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 583360,
"upload_time": "2024-11-14T20:47:09",
"upload_time_iso_8601": "2024-11-14T20:47:09.004731Z",
"url": "https://files.pythonhosted.org/packages/d2/15/bec5c0b14e9ae0ada526b11957d2cfbef2ea0915dbe8a45d7ef33652feb4/odoo_addon_github_connector-17.0.1.0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 20:47:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OCA",
"github_project": "interface-github",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "GitPython",
"specs": []
},
{
"name": "pathspec",
"specs": []
},
{
"name": "PyGithub",
"specs": []
},
{
"name": "pygount",
"specs": []
}
],
"lcname": "odoo-addon-github-connector"
}