port-labs / ocean

🌊 Ocean 🌊 is an innovative solution developed by Port to seamlessly integrate various third-party systems with our developer portal product, empowering engineers to effortlessly prioritize key features and streamline the integration process.
https://ocean.getport.io
Apache License 2.0
109 stars 39 forks source link

[Integration][Gitlab] Fixed issue with webhook not syncing repository languages #902

Closed mk-armah closed 1 month ago

mk-armah commented 1 month ago

Description

What - After running the integration for the first time, it enriches the projects with language properties, however during webhook events, the project sync without being enriched with the language property, thereby resulting in the previously synced languages during the initial setup to be overwritten. Why - On push event, the existing implementation does not enrich projects with languages. How - This was solved by ensuring that during push events, an extra function enrich_project_with_extras is called to enrich the projects with languages

Type of change

Please leave one option from the following and delete the rest:

Screenshots

Include screenshots from your environment showing how the resources of the integration will look.

API Documentation

Provide links to the API documentation used for this integration.