ManoManoTech / homer

Homer is a Slack bot intended to help you to easily share and follow Gitlab merge requests.
MIT License
29 stars 6 forks source link

Open source the release and changelog feature #16

Closed M0nkeySan closed 5 days ago

M0nkeySan commented 1 month ago

What

In the current Manomano internal project, homer offers the option of publishing and displaying a project's change log using the following commands :

These functionalities should be reviewed and modified to make them available in the open-source project.

How

In order to add a releasable project, an internal configuration file must be modified. This behaviour needs to be reviewed to simplify the process and avoid the need to redeploy homer each time.

Firstly, we should externalise this configuration, and write documentation about it. Then we could add a command like /homer release enable to register a new releaseable project.

The current configuration is as follows:

{
    notificationChannelIds: [
      IT_DEPLOY_CHANNEL_ID,
      FT_SELLER_CHANNEL_ID,
    ],
    projectId: 1,
    releaseChannelId: FT_SELLER_CHANNEL_ID,
    releaseManager: defaultReleaseManager,
    releaseTagManager: semanticReleaseTagManager,
  },

projectId : Gitlab project ID notificationChannelIds : ID of the Slack channels that receive notifications about the release releaseChannelId : ID of the slack channel where the release of the project is enabled releaseManager : change depending on the type of the project (library, micro-service, frontend ..) releaseTagManager : defines the tag naming (semantic, stable date ...)

The modal could be like this :

image

fleboulch commented 1 month ago

I opened this MR before someone is working on this topic

fleboulch commented 5 days ago

This issue can be closed